summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/GalleryControl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/gallery2/GalleryControl.cxx')
-rw-r--r--svx/source/gallery2/GalleryControl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/gallery2/GalleryControl.cxx b/svx/source/gallery2/GalleryControl.cxx
index 99f3f06663e5..f9070492b3a0 100644
--- a/svx/source/gallery2/GalleryControl.cxx
+++ b/svx/source/gallery2/GalleryControl.cxx
@@ -133,7 +133,7 @@ void GalleryControl::Resize()
}
mbIsInitialResize = false;
- const long nFrameLen = LogicToPixel( Size( 3, 0 ), MAP_APPFONT ).Width();
+ const long nFrameLen = LogicToPixel( Size( 3, 0 ), MapUnit::MapAppFont ).Width();
const long nFrameLen2 = nFrameLen << 1;
if(bNewLayoutHorizontal)