mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 14:13:30 -07:00
remove spaces
This commit is contained in:
parent
0dd6aa0612
commit
c4757daff6
3 changed files with 2 additions and 3 deletions
|
@ -75,7 +75,6 @@ LocalizationService::LocalizationService()
|
||||||
auto resourceLoader = AppResourceProvider::GetInstance();
|
auto resourceLoader = AppResourceProvider::GetInstance();
|
||||||
m_fontFamilyOverride = resourceLoader.GetResourceString(L"LocalizedFontFamilyOverride");
|
m_fontFamilyOverride = resourceLoader.GetResourceString(L"LocalizedFontFamilyOverride");
|
||||||
|
|
||||||
|
|
||||||
String^ reserved = L"RESERVED_FOR_FONTLOC";
|
String^ reserved = L"RESERVED_FOR_FONTLOC";
|
||||||
|
|
||||||
m_overrideFontApiValues = ((m_fontFamilyOverride != nullptr) && (m_fontFamilyOverride != reserved));
|
m_overrideFontApiValues = ((m_fontFamilyOverride != nullptr) && (m_fontFamilyOverride != reserved));
|
||||||
|
@ -217,7 +216,6 @@ FontWeight LocalizationService::GetFontWeightOverride()
|
||||||
double LocalizationService::GetFontScaleFactorOverride(LanguageFontType fontType)
|
double LocalizationService::GetFontScaleFactorOverride(LanguageFontType fontType)
|
||||||
{
|
{
|
||||||
assert(m_overrideFontApiValues);
|
assert(m_overrideFontApiValues);
|
||||||
|
|
||||||
switch (fontType)
|
switch (fontType)
|
||||||
{
|
{
|
||||||
case LanguageFontType::UIText:
|
case LanguageFontType::UIText:
|
||||||
|
|
|
@ -65,6 +65,7 @@ namespace CalculatorApp { namespace Common
|
||||||
|
|
||||||
static Platform::String^ GetNarratorReadableToken(Platform::String^ rawToken);
|
static Platform::String^ GetNarratorReadableToken(Platform::String^ rawToken);
|
||||||
static Platform::String^ GetNarratorReadableString(Platform::String^ rawString);
|
static Platform::String^ GetNarratorReadableString(Platform::String^ rawString);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Windows::Globalization::Fonts::LanguageFont^ GetLanguageFont(LanguageFontType fontType);
|
Windows::Globalization::Fonts::LanguageFont^ GetLanguageFont(LanguageFontType fontType);
|
||||||
Windows::UI::Text::FontWeight ParseFontWeight(Platform::String^ fontWeight);
|
Windows::UI::Text::FontWeight ParseFontWeight(Platform::String^ fontWeight);
|
||||||
|
|
|
@ -584,7 +584,7 @@ bool CurrencyDataLoader::TryParseAllRatiosData(_In_ String^ rawJson, _Inout_ Cur
|
||||||
relativeRatio,
|
relativeRatio,
|
||||||
sourceCurrencyCode,
|
sourceCurrencyCode,
|
||||||
targetCurrencyCode
|
targetCurrencyCode
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue