summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-16 12:13:15 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-02-16 15:56:59 +0000
commitec67a31b56c990733e8eaaa89a354082e900c0e1 (patch)
tree08ecdf64b0762d50cb67702fd98f5a9e422b12a8 /sc/source/ui
parent0823f4245108626ef75d01f9f26b0cbcb2eaecd2 (diff)
replace RID_SCPAGE_COMPATIBILITY with direct SID_SC_TP_COMPATIBILITY
Change-Id: I256780e66d361233f9099d9f10a735d983f70b03
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/app/scmod.cxx2
-rw-r--r--sc/source/ui/attrdlg/scdlgfact.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index d888120d196a..22add43fe710 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -2100,7 +2100,7 @@ VclPtr<SfxTabPage> ScModule::CreateTabPage( sal_uInt16 nId, vcl::Window* pParent
}
case SID_SC_TP_COMPATIBILITY:
{
- ::CreateTabPage ScTpCompatOptionsCreate = pFact->GetTabPageCreatorFunc (RID_SCPAGE_COMPATIBILITY);
+ ::CreateTabPage ScTpCompatOptionsCreate = pFact->GetTabPageCreatorFunc(SID_SC_TP_COMPATIBILITY);
if (ScTpCompatOptionsCreate)
pRet = (*ScTpCompatOptionsCreate)(pParent, &rSet);
break;
diff --git a/sc/source/ui/attrdlg/scdlgfact.cxx b/sc/source/ui/attrdlg/scdlgfact.cxx
index bd55e56813c2..082d82a61a36 100644
--- a/sc/source/ui/attrdlg/scdlgfact.cxx
+++ b/sc/source/ui/attrdlg/scdlgfact.cxx
@@ -960,7 +960,7 @@ VclPtr<SfxAbstractTabDialog> ScAbstractDialogFactory_Impl::CreateScSortDlg(vcl::
//------------------ Factories for TabPages--------------------
CreateTabPage ScAbstractDialogFactory_Impl::GetTabPageCreatorFunc( sal_uInt16 nId )
{
- switch ( nId )
+ switch (nId)
{
case SID_SC_TP_CHANGES:
return ScRedlineOptionsTabPage::Create;
@@ -968,7 +968,7 @@ CreateTabPage ScAbstractDialogFactory_Impl::GetTabPageCreatorFunc( sal_uInt16 nI
return ScTpCalcOptions::Create;
case SID_SC_TP_FORMULA:
return ScTpFormulaOptions::Create;
- case RID_SCPAGE_COMPATIBILITY:
+ case SID_SC_TP_COMPATIBILITY:
return ScTpCompatOptions::Create;
case RID_SCPAGE_DEFAULTS:
return ScTpDefaultsOptions::Create;