diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-03-12 11:46:17 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-03-12 11:48:43 +0200 |
commit | 8aa579830b20072af8d6e149d6b279362fe98b91 (patch) | |
tree | 7c3334fe00ef3da3c0765af3ff1b4c547fd321a7 /vcl/source | |
parent | fde00c42b169d80c9fe850d4876a0d0e5d6744a6 (diff) |
Write HiDPI consistently without a hyphen
Hopefully makes it easier to find locations in the code related to
HiDPI issues.
Change-Id: I2b4e5ff6d66c0ca5792250c3fd0d42eeb59eb3ef
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/window.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 10d1a4385622..c9ea334c0e66 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -917,7 +917,7 @@ static sal_Int32 CountDPIScaleFactor(sal_Int32 nDPI) // insult to an injury, the system is constantly lying to us about // the DPI and whatnot // eg. fdo#77059 - set the value from which we do consider the - // screen hi-dpi to greater than 168 + // screen HiDPI to greater than 168 if (nDPI > 216) // 96 * 2 + 96 / 4 return 250; else if (nDPI > 168) // 96 * 2 - 96 / 4 @@ -1129,7 +1129,7 @@ void Window::ImplInit( vcl::Window* pParent, WinBits nStyle, SystemParentData* p } - // setup the scale factor for Hi-DPI displays + // setup the scale factor for HiDPI displays mnDPIScalePercentage = CountDPIScaleFactor(mpWindowImpl->mpFrameData->mnDPIY); mnDPIX = mpWindowImpl->mpFrameData->mnDPIX; mnDPIY = mpWindowImpl->mpFrameData->mnDPIY; @@ -1312,7 +1312,7 @@ void Window::ImplInitResolutionSettings() mnDPIX = mpWindowImpl->mpFrameData->mnDPIX; mnDPIY = mpWindowImpl->mpFrameData->mnDPIY; - // setup the scale factor for Hi-DPI displays + // setup the scale factor for HiDPI displays mnDPIScalePercentage = CountDPIScaleFactor(mpWindowImpl->mpFrameData->mnDPIY); const StyleSettings& rStyleSettings = mxSettings->GetStyleSettings(); SetPointFont(*this, rStyleSettings.GetAppFont()); |