summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-03-22 17:36:51 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-03-23 08:26:14 +0100
commita82cdccb0c276ec10c35beec46fa7fa25fc95cd5 (patch)
tree73ad8a19584e75b18229f5c1c410569f2f6c8aec /sc/source/ui/miscdlgs/tabbgcolordlg.cxx
parentc12fc293650a860d5e05c32000f904afaf0958b6 (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 'sc/source/ui/miscdlgs/tabbgcolordlg.cxx')
-rw-r--r--sc/source/ui/miscdlgs/tabbgcolordlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/miscdlgs/tabbgcolordlg.cxx b/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
index 522596bbe002..700402238913 100644
--- a/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
+++ b/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
@@ -114,7 +114,7 @@ void ScTabBgColorDlg::FillColorValueSets_Impl()
/// Handler, called when color selection is changed
IMPL_LINK_NOARG(ScTabBgColorDlg, TabBgColorDblClickHdl_Impl, ValueSet*, void)
{
- sal_uInt16 nItemId = m_pTabBgColorSet->GetSelectItemId();
+ sal_uInt16 nItemId = m_pTabBgColorSet->GetSelectedItemId();
Color aColor = nItemId ? ( m_pTabBgColorSet->GetItemColor( nItemId ) ) : COL_AUTO;
m_aTabBgColor = aColor;
EndDialog( RET_OK );
@@ -123,7 +123,7 @@ IMPL_LINK_NOARG(ScTabBgColorDlg, TabBgColorDblClickHdl_Impl, ValueSet*, void)
// Handler, called when the OK button is pushed
IMPL_LINK_NOARG(ScTabBgColorDlg, TabBgColorOKHdl_Impl, Button*, void)
{
- sal_uInt16 nItemId = m_pTabBgColorSet->GetSelectItemId();
+ sal_uInt16 nItemId = m_pTabBgColorSet->GetSelectedItemId();
Color aColor = nItemId ? ( m_pTabBgColorSet->GetItemColor( nItemId ) ) : COL_AUTO;
m_aTabBgColor = aColor;
EndDialog( RET_OK );
@@ -164,7 +164,7 @@ void ScTabBgColorDlg::ScTabBgColorValueSet::KeyInput( const KeyEvent& rKEvt )
case KEY_SPACE:
case KEY_RETURN:
{
- sal_uInt16 nItemId = GetSelectItemId();
+ sal_uInt16 nItemId = GetSelectedItemId();
const Color& aColor = nItemId ? ( GetItemColor( nItemId ) ) : COL_AUTO;
m_pTabBgColorDlg->m_aTabBgColor = aColor;
m_pTabBgColorDlg->EndDialog(RET_OK);