fix: redundant semicolons (#230)
### Description of the changes: - Remove redundant semicolons in: - [x] UnitConverter.cpp - [x] DateCalculator.xaml.cpp - [x] CopyPasteManagerTest.cpp ### How changes were validated: - Manual
This commit is contained in:
parent
140a5b3b21
commit
a98cb50a70
@ -302,8 +302,8 @@ wstring UnitConverter::Serialize()
|
||||
out << std::to_wstring(m_currentHasDecimal) << delimiter << std::to_wstring(m_returnHasDecimal) << delimiter << std::to_wstring(m_switchedActive) << delimiter;
|
||||
out << m_currentDisplay << delimiter << m_returnDisplay << delimiter << "|";
|
||||
wstringstream categoryString(wstringstream::out);
|
||||
wstringstream categoryToUnitString(wstringstream::out);;
|
||||
wstringstream unitToUnitToDoubleString(wstringstream::out);;
|
||||
wstringstream categoryToUnitString(wstringstream::out);
|
||||
wstringstream unitToUnitToDoubleString(wstringstream::out);
|
||||
for (const Category& c : m_categories)
|
||||
{
|
||||
categoryString << CategoryToString(c, delimiter) << ",";
|
||||
|
@ -46,7 +46,7 @@ DateCalculator::DateCalculator()
|
||||
|
||||
// Set Calendar Identifier
|
||||
DateDiff_FromDate->CalendarIdentifier = localizationSettings.GetCalendarIdentifier();
|
||||
DateDiff_ToDate->CalendarIdentifier = localizationSettings.GetCalendarIdentifier();;
|
||||
DateDiff_ToDate->CalendarIdentifier = localizationSettings.GetCalendarIdentifier();
|
||||
|
||||
// Setting the FirstDayofWeek
|
||||
DateDiff_FromDate->FirstDayOfWeek = localizationSettings.GetFirstDayOfWeek();
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
#include "pch.h"
|
||||
@ -34,7 +34,7 @@ namespace CalculatorUnitTests
|
||||
|
||||
#define ASSERT_NEGATIVE_TESTCASES(func, dataSet) \
|
||||
{\
|
||||
int size = sizeof(dataSet)/sizeof(*dataSet);;\
|
||||
int size = sizeof(dataSet)/sizeof(*dataSet);\
|
||||
while(--size)\
|
||||
{\
|
||||
VERIFY_ARE_EQUAL(func(dataSet[size]), StringReference(L"NoOp"));\
|
||||
|
Loading…
Reference in New Issue
Block a user