summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-12 11:34:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-12 11:41:36 +0200
commitcbd4266beff52cf210f1532b50f8bab74cb8ba8c (patch)
tree4f0b2c67f1cacfa67b8626b1060e488891e48564 /sw/source/uibase/app
parent8ee31c5aac07a28a8208b4c2ca62025f3dafbb35 (diff)
convert PD_ constants to typed_flags
Change-Id: Ia651dfae33cb1e901f124541a1e12f240d4a7458
Diffstat (limited to 'sw/source/uibase/app')
-rw-r--r--sw/source/uibase/app/appenv.cxx2
-rw-r--r--sw/source/uibase/app/applab.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/app/appenv.cxx b/sw/source/uibase/app/appenv.cxx
index eef978327342..53eaa8742879 100644
--- a/sw/source/uibase/app/appenv.cxx
+++ b/sw/source/uibase/app/appenv.cxx
@@ -386,7 +386,7 @@ void SwModule::InsertEnv( SfxRequest& rReq )
pDesc->ChgFooterShare(false);
// Page numbering
- pDesc->SetUseOn(nsUseOnPage::PD_ALL);
+ pDesc->SetUseOn(UseOnPage::All);
// Page size
rFormat.SetFormatAttr(SwFormatFrameSize(ATT_FIX_SIZE,
diff --git a/sw/source/uibase/app/applab.cxx b/sw/source/uibase/app/applab.cxx
index 6cf5c41718fd..0da222366914 100644
--- a/sw/source/uibase/app/applab.cxx
+++ b/sw/source/uibase/app/applab.cxx
@@ -256,7 +256,7 @@ void SwModule::InsertLab(SfxRequest& rReq, bool bLabel)
rFormat.SetFormatAttr(SwFormatFooter(false));
aDesc.ChgFooterShare(false);
- aDesc.SetUseOn(nsUseOnPage::PD_ALL); // Site numbering
+ aDesc.SetUseOn(UseOnPage::All); // Site numbering
// Set page size
long lPgWidth, lPgHeight;