summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-16 12:24:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-02-16 15:57:05 +0000
commit457d0fda0ee93d912317ab1d92160deead249bc6 (patch)
tree071ac7124b8048974d4cac6c9803c77125b78680 /sc
parent875dd0bc4e7016796c33f26e0a905465a38ee7b1 (diff)
add SID_SC_TP_STAT and replace RID_SCPAGE_STAT with it
Change-Id: Ia4364ba408b439f66e959be915e8b6e9cc5eacb4
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/sc.hrc2
-rw-r--r--sc/source/ui/attrdlg/scdlgfact.cxx2
-rw-r--r--sc/source/ui/docshell/docsh.cxx2
3 files changed, 2 insertions, 4 deletions
diff --git a/sc/inc/sc.hrc b/sc/inc/sc.hrc
index 26e7d5517188..8d1433226137 100644
--- a/sc/inc/sc.hrc
+++ b/sc/inc/sc.hrc
@@ -1192,8 +1192,6 @@
#define RID_SCDLG_HFEDIT_HEADER (SC_DIALOGS_START + 68)
#define RID_SCDLG_HFEDIT_FOOTER (SC_DIALOGS_START + 69)
-#define RID_SCPAGE_STAT (SC_DIALOGS_START + 79)
-
// popup for drop-mode in navigator
#define RID_POPUP_DROPMODE (SC_DIALOGS_START + 92)
#define RID_DROPMODE_URL (SC_DIALOGS_START + 93)
diff --git a/sc/source/ui/attrdlg/scdlgfact.cxx b/sc/source/ui/attrdlg/scdlgfact.cxx
index e8486c640664..8898312ef35c 100644
--- a/sc/source/ui/attrdlg/scdlgfact.cxx
+++ b/sc/source/ui/attrdlg/scdlgfact.cxx
@@ -974,7 +974,7 @@ CreateTabPage ScAbstractDialogFactory_Impl::GetTabPageCreatorFunc( sal_uInt16 nI
return ScTpDefaultsOptions::Create;
case RID_SC_TP_PRINT:
return ScTpPrintOptions::Create;
- case RID_SCPAGE_STAT :
+ case SID_SC_TP_STAT:
return ScDocStatPage::Create;
case SID_SC_TP_USERLISTS:
return ScTpUserLists::Create;
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 999b357016a0..c4b0bf274b9c 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -2924,7 +2924,7 @@ VclPtr<SfxDocumentInfoDialog> ScDocShell::CreateDocumentInfoDialog( const SfxIte
{
ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "ScAbstractFactory create fail!");
- ::CreateTabPage ScDocStatPageCreate = pFact->GetTabPageCreatorFunc( RID_SCPAGE_STAT );
+ ::CreateTabPage ScDocStatPageCreate = pFact->GetTabPageCreatorFunc(SID_SC_TP_STAT);
OSL_ENSURE(ScDocStatPageCreate, "Tabpage create fail!");
pDlg->AddFontTabPage();
pDlg->AddTabPage( 42,