summaryrefslogtreecommitdiff
path: root/vcl/source/app/svapp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/app/svapp.cxx')
-rw-r--r--vcl/source/app/svapp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 98dfacdb2d48..becfa0f9b0e9 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -723,7 +723,7 @@ void Application::SetSettings( const AllSettings& rSettings )
while ( pFrame )
{
// restore AppFont cache data
- pFrame->mpWindowImpl->mpFrameData->meMapUnit = MAP_PIXEL;
+ pFrame->mpWindowImpl->mpFrameData->meMapUnit = MapUnit::MapPixel;
// call UpdateSettings from ClientWindow in order to prevent updating data twice
vcl::Window* pClientWin = pFrame;