diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-03-22 17:36:51 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-03-23 08:26:14 +0100 |
commit | a82cdccb0c276ec10c35beec46fa7fa25fc95cd5 (patch) | |
tree | 73ad8a19584e75b18229f5c1c410569f2f6c8aec /sw/source | |
parent | c12fc293650a860d5e05c32000f904afaf0958b6 (diff) |
Typo: GetSelectItemId -> GetSelectedItemId
Change-Id: Ieebb50b73f1f341c924693f3966f8cd2b09a136b
Reviewed-on: https://gerrit.libreoffice.org/51750
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
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(); |