summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-16 12:17:28 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-02-16 15:56:59 +0000
commit3fd720e6dbeeda78221a7c87550d5713d621e1f4 (patch)
tree1100856772cefcc7bb9962503186b05e5527a878 /sc
parent7a16e77fa2f83df365390b8b71a71f29e0753a25 (diff)
replace RID_SCPAGE_PRINT with RID_SC_TP_PRINT
Change-Id: Ie12f9489290dd9bfce925eff4586f22489cff96a
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
-rw-r--r--sc/source/ui/view/prevwsh.cxx2
-rw-r--r--sc/source/ui/view/tabvwsh4.cxx2
5 files changed, 4 insertions, 5 deletions
diff --git a/sc/inc/sc.hrc b/sc/inc/sc.hrc
index 3738577aae3d..44a1ed1e56bd 100644
--- a/sc/inc/sc.hrc
+++ b/sc/inc/sc.hrc
@@ -1193,7 +1193,6 @@
#define RID_SCDLG_HFEDIT_RIGHTFOOTER (SC_DIALOGS_START + 67)
#define RID_SCDLG_HFEDIT_HEADER (SC_DIALOGS_START + 68)
#define RID_SCDLG_HFEDIT_FOOTER (SC_DIALOGS_START + 69)
-#define RID_SCPAGE_PRINT (SC_DIALOGS_START + 70)
#define RID_SCPAGE_STAT (SC_DIALOGS_START + 79)
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index b5342bcbc51b..c88df5208adf 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -2114,7 +2114,7 @@ VclPtr<SfxTabPage> ScModule::CreateTabPage( sal_uInt16 nId, vcl::Window* pParent
}
case RID_SC_TP_PRINT:
{
- ::CreateTabPage ScTpPrintOptionsCreate = pFact->GetTabPageCreatorFunc(RID_SCPAGE_PRINT);
+ ::CreateTabPage ScTpPrintOptionsCreate = pFact->GetTabPageCreatorFunc(RID_SC_TP_PRINT);
if (ScTpPrintOptionsCreate)
pRet = (*ScTpPrintOptionsCreate)(pParent, &rSet);
break;
diff --git a/sc/source/ui/attrdlg/scdlgfact.cxx b/sc/source/ui/attrdlg/scdlgfact.cxx
index 88825d7fbe8f..60391040a415 100644
--- a/sc/source/ui/attrdlg/scdlgfact.cxx
+++ b/sc/source/ui/attrdlg/scdlgfact.cxx
@@ -972,7 +972,7 @@ CreateTabPage ScAbstractDialogFactory_Impl::GetTabPageCreatorFunc( sal_uInt16 nI
return ScTpCompatOptions::Create;
case RID_SC_TP_DEFAULTS:
return ScTpDefaultsOptions::Create;
- case RID_SCPAGE_PRINT :
+ case RID_SC_TP_PRINT:
return ScTpPrintOptions::Create;
case RID_SCPAGE_STAT :
return ScDocStatPage::Create;
diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx
index 9076a17f215e..6581d311a68b 100644
--- a/sc/source/ui/view/prevwsh.cxx
+++ b/sc/source/ui/view/prevwsh.cxx
@@ -529,7 +529,7 @@ VclPtr<SfxTabPage> ScPreviewShell::CreatePrintOptionsPage( vcl::Window *pParent,
{
ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "ScAbstractFactory create fail!");
- ::CreateTabPage ScTpPrintOptionsCreate = pFact->GetTabPageCreatorFunc( RID_SCPAGE_PRINT );
+ ::CreateTabPage ScTpPrintOptionsCreate = pFact->GetTabPageCreatorFunc(RID_SC_TP_PRINT);
if ( ScTpPrintOptionsCreate )
return ScTpPrintOptionsCreate( pParent, &rOptions );
return VclPtr<SfxTabPage>();
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx
index cb5b7f52af06..166eae290c5d 100644
--- a/sc/source/ui/view/tabvwsh4.cxx
+++ b/sc/source/ui/view/tabvwsh4.cxx
@@ -1062,7 +1062,7 @@ VclPtr<SfxTabPage> ScTabViewShell::CreatePrintOptionsPage( vcl::Window *pParent,
{
ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "ScAbstractFactory create fail!");
- ::CreateTabPage ScTpPrintOptionsCreate = pFact->GetTabPageCreatorFunc( RID_SCPAGE_PRINT );
+ ::CreateTabPage ScTpPrintOptionsCreate = pFact->GetTabPageCreatorFunc(RID_SC_TP_PRINT);
if ( ScTpPrintOptionsCreate )
return ScTpPrintOptionsCreate( pParent, &rOptions );
return VclPtr<SfxTabPage>();