summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-23 13:34:31 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-12-18 01:08:05 -0500
commitd2f7063d7e8c7631d804ea18ce5cc5d0aa310cb9 (patch)
tree216a2bf4e0458bc916c2092b1e06d2b28c358f53 /sw/source/uibase/app
parent5fb3078cc992da133527a0b2f933553345c0b58e (diff)
convert SFXWB_ constants to scoped enum
Change-Id: I63d442e51b7e22093da1c232e1b575bc961c0e69 (cherry picked from commit 0e04b531448d7915b40c59dccef7a9313bd28c11) (cherry picked from commit e14539d0ed367e377346cbc0247b4c3e3637c35e)
Diffstat (limited to 'sw/source/uibase/app')
-rw-r--r--sw/source/uibase/app/docsh2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/docsh2.cxx b/sw/source/uibase/app/docsh2.cxx
index 61e5b2570b7c..f82ce9bc66e9 100644
--- a/sw/source/uibase/app/docsh2.cxx
+++ b/sw/source/uibase/app/docsh2.cxx
@@ -499,7 +499,7 @@ void SwDocShell::Execute(SfxRequest& rReq)
{
SvtPathOptions aPathOpt;
ScopedVclPtr<SfxNewFileDialog> pNewFileDlg(
- VclPtr<SfxNewFileDialog>::Create(&GetView()->GetViewFrame()->GetWindow(), SFXWB_LOAD_TEMPLATE));
+ VclPtr<SfxNewFileDialog>::Create(&GetView()->GetViewFrame()->GetWindow(), SfxNewFileDialogMode::LoadTemplate));
pNewFileDlg->SetTemplateFlags(nFlags);
nRet = pNewFileDlg->Execute();