summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc/glosbib.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/misc/glosbib.cxx')
-rw-r--r--sw/source/ui/misc/glosbib.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/misc/glosbib.cxx b/sw/source/ui/misc/glosbib.cxx
index a171fa3693c0..be6c855a8af3 100644
--- a/sw/source/ui/misc/glosbib.cxx
+++ b/sw/source/ui/misc/glosbib.cxx
@@ -56,7 +56,7 @@ SwGlossaryGroupDlg::SwGlossaryGroupDlg(vcl::Window * pParent,
get(m_pGroupTLB, "group");
const int nAppFontUnits = 130;
- long nWidth = LogicToPixel(Size(nAppFontUnits, 0), MapUnit::MapAppFont).Width();
+ long nWidth = LogicToPixel(Size(nAppFontUnits, 0), MapMode(MapUnit::MapAppFont)).Width();
m_pPathLB->set_width_request(nWidth);
//just has to be something small, real size will be available space
m_pGroupTLB->set_width_request(nWidth);