diff options
Diffstat (limited to 'sw/source/uibase/sidebar/PageFormatPanel.cxx')
-rw-r--r-- | sw/source/uibase/sidebar/PageFormatPanel.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/sidebar/PageFormatPanel.cxx b/sw/source/uibase/sidebar/PageFormatPanel.cxx index e94c03fad98c..4823efb4fee1 100644 --- a/sw/source/uibase/sidebar/PageFormatPanel.cxx +++ b/sw/source/uibase/sidebar/PageFormatPanel.cxx @@ -154,7 +154,7 @@ void PageFormatPanel::NotifyItemUpdate( mpPaperWidth->SetValue( mpPaperWidth->Normalize( aPaperSize.Width() ), FUNIT_TWIP ); mpPaperHeight->SetValue( mpPaperHeight->Normalize( aPaperSize.Height() ), FUNIT_TWIP ); - if(mpPaperOrientation->GetSelectEntryPos() == 1) + if(mpPaperOrientation->GetSelectedEntryPos() == 1) Swap(aPaperSize); Paper ePaper = SvxPaperInfo::GetSvxPaper(aPaperSize, meUnit,true); @@ -217,10 +217,10 @@ IMPL_LINK_NOARG(PageFormatPanel, PaperFormatModifyHdl, ListBox&, void) Paper ePaper = mpPaperSizeBox->GetSelection(); Size aSize(SvxPaperInfo::GetPaperSize(ePaper, meUnit)); - if(mpPaperOrientation->GetSelectEntryPos() == 1) + if(mpPaperOrientation->GetSelectedEntryPos() == 1) Swap(aSize); - mpPageItem->SetLandscape(mpPaperOrientation->GetSelectEntryPos() == 1); + mpPageItem->SetLandscape(mpPaperOrientation->GetSelectedEntryPos() == 1); SvxSizeItem aSizeItem(SID_ATTR_PAGE_SIZE, aSize); mpBindings->GetDispatcher()->ExecuteList(SID_ATTR_PAGE_SIZE, SfxCallMode::RECORD, { &aSizeItem, mpPageItem.get() }); } @@ -236,7 +236,7 @@ IMPL_LINK_NOARG(PageFormatPanel, PaperModifyMarginHdl, ListBox&, void) { bool bMirrored = false; bool bApplyNewPageMargins = true; - switch ( mpMarginSelectBox->GetSelectEntryPos() ) + switch ( mpMarginSelectBox->GetSelectedEntryPos() ) { case 0: SetNone(mnPageLeftMargin, mnPageRightMargin, mnPageTopMargin, mnPageBottomMargin, bMirrored); |