diff options
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/frmdlg/column.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/sidebar/PageSizeControl.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/sidebar/StylePresetsPanel.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/sidebar/ThemePanel.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/frmdlg/column.cxx b/sw/source/ui/frmdlg/column.cxx index af958e54abb2..4d8913ee84b4 100644 --- a/sw/source/ui/frmdlg/column.cxx +++ b/sw/source/ui/frmdlg/column.cxx @@ -1312,7 +1312,7 @@ DeactivateRC SwColumnPage::DeactivatePage(SfxItemSet *_pSet) IMPL_LINK( SwColumnPage, SetDefaultsHdl, ValueSet *, pVS, void ) { - const sal_uInt16 nItem = pVS->GetSelectItemId(); + const sal_uInt16 nItem = pVS->GetSelectedItemId(); if( nItem < 4 ) { m_pCLNrEdt->SetValue( nItem ); diff --git a/sw/source/uibase/sidebar/PageSizeControl.cxx b/sw/source/uibase/sidebar/PageSizeControl.cxx index 9dbb836ccb31..eb189fa7935a 100644 --- a/sw/source/uibase/sidebar/PageSizeControl.cxx +++ b/sw/source/uibase/sidebar/PageSizeControl.cxx @@ -223,7 +223,7 @@ IMPL_LINK(PageSizeControl, ImplSizeHdl, ValueSet*, pControl, void) mpSizeValueSet->SetNoSelection(); if ( pControl == mpSizeValueSet ) { - const sal_uInt16 nSelectedPaper = mpSizeValueSet->GetSelectItemId(); + const sal_uInt16 nSelectedPaper = mpSizeValueSet->GetSelectedItemId(); const Paper ePaper = maPaperList[nSelectedPaper - 1]; ExecuteSizeChange( ePaper ); } diff --git a/sw/source/uibase/sidebar/StylePresetsPanel.cxx b/sw/source/uibase/sidebar/StylePresetsPanel.cxx index 5001363ad2fc..da9d88b2d59a 100644 --- a/sw/source/uibase/sidebar/StylePresetsPanel.cxx +++ b/sw/source/uibase/sidebar/StylePresetsPanel.cxx @@ -201,7 +201,7 @@ void StylePresetsPanel::dispose() IMPL_LINK_NOARG(StylePresetsPanel, DoubleClickHdl, ValueSet*, void) { - sal_Int32 nItemId = mpValueSet->GetSelectItemId(); + sal_Int32 nItemId = mpValueSet->GetSelectedItemId(); TemplateEntry* pEntry = static_cast<TemplateEntry*>(mpValueSet->GetItemData(nItemId)); SwDocShell* pDocSh = static_cast<SwDocShell*>(SfxObjectShell::Current()); diff --git a/sw/source/uibase/sidebar/ThemePanel.cxx b/sw/source/uibase/sidebar/ThemePanel.cxx index 59a2b2334c08..5560e5520fa4 100644 --- a/sw/source/uibase/sidebar/ThemePanel.cxx +++ b/sw/source/uibase/sidebar/ThemePanel.cxx @@ -495,7 +495,7 @@ void ThemePanel::DoubleClickHdl() if (pDocSh) { OUString sEntryFonts = mpListBoxFonts->GetSelectedEntry(); - sal_uInt32 nItemId = mpValueSetColors->GetSelectItemId(); + sal_uInt32 nItemId = mpValueSetColors->GetSelectedItemId(); OUString sEntryColors = maColorSets.getColorSet(nItemId).getName(); StyleSet aStyleSet = setupThemes(); |