summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/swpossizetabpage.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-18 11:56:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-18 12:34:13 +0100
commit46906b68c443939beb9b0c44d3bef9c1ce9c39d9 (patch)
tree821088e62be796d8ce7a6110e1aff4f7f8015931 /cui/source/tabpages/swpossizetabpage.cxx
parentb0041fd68ae1a9df91f8c3274e0b4003ef914a44 (diff)
callcatcher: update unused code
One of the SfxTabDialog ResID ctors is now gone, progress. Equally pleasing is that the last use of the old PercentField is gone now as well, so that can be removed and the new PercentFieldWrap can be renamed as PercentField to take its place Change-Id: I7a706e98d4dfdc3541da73c3375ee067a799b4bd
Diffstat (limited to 'cui/source/tabpages/swpossizetabpage.cxx')
-rw-r--r--cui/source/tabpages/swpossizetabpage.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/cui/source/tabpages/swpossizetabpage.cxx b/cui/source/tabpages/swpossizetabpage.cxx
index bbcaf0840210..c7c140753034 100644
--- a/cui/source/tabpages/swpossizetabpage.cxx
+++ b/cui/source/tabpages/swpossizetabpage.cxx
@@ -547,6 +547,9 @@ SvxSwPosSizeTabPage::SvxSwPosSizeTabPage(Window* pParent, const SfxItemSet& rInA
get(m_pFollowCB, "followtextflow");
get(m_pExampleWN, "preview");
+ setOptimalFrmWidth();
+ setOptimalRelWidth();
+
FieldUnit eDlgUnit = GetModuleFieldUnit( rInAttrs );
SetFieldUnit( *m_pHoriByMF, eDlgUnit, sal_True );
SetFieldUnit( *m_pVertByMF, eDlgUnit, sal_True );