summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-16 12:20:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-02-16 15:57:02 +0000
commit25aa5054ce060567c579e299bfd874c55a8c8bd2 (patch)
tree671b55d91eb1b91dff50392d544678752479fe00 /sc
parent94f1a0880c8374798cc5c011384876a83cd7bd6e (diff)
replace RID_SCPAGE_CONTENT with SID_SC_TP_CONTENT
Change-Id: I95f127756200d0389103cf11d5e03c0a40e27d05
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/sc.hrc1
-rw-r--r--sc/source/ui/app/scmod.cxx2
-rw-r--r--sc/source/ui/attrdlg/scdlgfact.cxx2
3 files changed, 2 insertions, 3 deletions
diff --git a/sc/inc/sc.hrc b/sc/inc/sc.hrc
index f9eb2e50d961..db38ca8c6795 100644
--- a/sc/inc/sc.hrc
+++ b/sc/inc/sc.hrc
@@ -1202,7 +1202,6 @@
// derivations from RID_SCDLG_SELENTRY
-#define RID_SCPAGE_CONTENT (SC_DIALOGS_START + 113)
#define RID_SCPAGE_LAYOUT (SC_DIALOGS_START + 114)
#define RID_POPUP_NAVIPI_SCENARIO (SC_DIALOGS_START + 120)
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index 040e5a15de90..28d69efcecd4 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -2069,7 +2069,7 @@ VclPtr<SfxTabPage> ScModule::CreateTabPage( sal_uInt16 nId, vcl::Window* pParent
}
case SID_SC_TP_CONTENT:
{
- ::CreateTabPage ScTpContentOptionsCreate = pFact->GetTabPageCreatorFunc(RID_SCPAGE_CONTENT);
+ ::CreateTabPage ScTpContentOptionsCreate = pFact->GetTabPageCreatorFunc(SID_SC_TP_CONTENT);
if (ScTpContentOptionsCreate)
pRet = (*ScTpContentOptionsCreate)(pParent, &rSet);
break;
diff --git a/sc/source/ui/attrdlg/scdlgfact.cxx b/sc/source/ui/attrdlg/scdlgfact.cxx
index c72208cf0c82..8f075b91fda0 100644
--- a/sc/source/ui/attrdlg/scdlgfact.cxx
+++ b/sc/source/ui/attrdlg/scdlgfact.cxx
@@ -978,7 +978,7 @@ CreateTabPage ScAbstractDialogFactory_Impl::GetTabPageCreatorFunc( sal_uInt16 nI
return ScDocStatPage::Create;
case SID_SC_TP_USERLISTS:
return ScTpUserLists::Create;
- case RID_SCPAGE_CONTENT :
+ case SID_SC_TP_CONTENT:
return ScTpContentOptions::Create;
case RID_SCPAGE_LAYOUT :
return ScTpLayoutOptions::Create;