summaryrefslogtreecommitdiff
path: root/sw/source/uibase/sidebar/PageOrientationControl.cxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-11 17:55:36 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-05-11 17:57:29 +0900
commit2fa44119c802c39c4871e77726c01e6ba62a6262 (patch)
treeae76ef6155e4cfc858f586c04d2d50eb7aa92a55 /sw/source/uibase/sidebar/PageOrientationControl.cxx
parentfb8f83c12e991ad01f049332c022697736d03986 (diff)
refactor ValueSet to use RenderContext
Change-Id: I3985804f8cfd1b6807bc02bef5af3e24e5cb3cbf
Diffstat (limited to 'sw/source/uibase/sidebar/PageOrientationControl.cxx')
-rw-r--r--sw/source/uibase/sidebar/PageOrientationControl.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/sidebar/PageOrientationControl.cxx b/sw/source/uibase/sidebar/PageOrientationControl.cxx
index 3bc07bbbdaf4..1c3dc3566cd5 100644
--- a/sw/source/uibase/sidebar/PageOrientationControl.cxx
+++ b/sw/source/uibase/sidebar/PageOrientationControl.cxx
@@ -55,7 +55,8 @@ PageOrientationControl::PageOrientationControl(
mpOrientationValueSet->Show();
mpOrientationValueSet->SelectItem( mbLandscape ? 2 : 1 );
mpOrientationValueSet->GrabFocus();
- mpOrientationValueSet->Format();
+ mpOrientationValueSet->SetFormat();
+ mpOrientationValueSet->Invalidate();
mpOrientationValueSet->StartSelection();
FreeResource();