diff options
Diffstat (limited to 'sw/source/uibase/sidebar/PageOrientationControl.cxx')
-rw-r--r-- | sw/source/uibase/sidebar/PageOrientationControl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/sidebar/PageOrientationControl.cxx b/sw/source/uibase/sidebar/PageOrientationControl.cxx index 73ff9eb676f9..a9f3fa689cf2 100644 --- a/sw/source/uibase/sidebar/PageOrientationControl.cxx +++ b/sw/source/uibase/sidebar/PageOrientationControl.cxx @@ -42,10 +42,10 @@ PageOrientationControl::PageOrientationControl( // initialize <ValueSetWithText> control { - mpOrientationValueSet->AddItem(Image(SW_RES(IMG_PORTRAIT)), 0, - SW_RES(STR_PORTRAIT), 0); - mpOrientationValueSet->AddItem(Image(SW_RES(IMG_LANDSCAPE)), 0, - SW_RES(STR_LANDSCAPE), 0 ); + mpOrientationValueSet->AddItem(Image(SW_RES(IMG_PORTRAIT)), nullptr, + SW_RES(STR_PORTRAIT), nullptr); + mpOrientationValueSet->AddItem(Image(SW_RES(IMG_LANDSCAPE)), nullptr, + SW_RES(STR_LANDSCAPE), nullptr ); } mpOrientationValueSet->SetSelectHdl(LINK(this, PageOrientationControl,ImplOrientationHdl )); |