summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unotxdoc.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-17 09:46:24 +0200
committerNoel Grandin <noel@peralex.com>2016-08-18 08:49:02 +0200
commit7232f03f9a74cc839710d4355470963610aff21d (patch)
treec1bbe4077c9c7206cf2d979489b4610949e0b61f /sw/source/uibase/uno/unotxdoc.cxx
parenta06a8ecb743aa3ffb1be83fbb98f7aa06bc230cb (diff)
convert SvXMLEmbeddedObjectHelperMode to scoped enum
Change-Id: I12ccc8c7ba0885b3bacd0c17d430a853d327524b
Diffstat (limited to 'sw/source/uibase/uno/unotxdoc.cxx')
-rw-r--r--sw/source/uibase/uno/unotxdoc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index 2aab84f0eec9..20a4d1a3c994 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -1663,7 +1663,7 @@ css::uno::Reference<css::uno::XInterface> SwXTextDocument::create(
{
return static_cast<cppu::OWeakObject *>(
new SvXMLEmbeddedObjectHelper(
- *pDocShell, EMBEDDEDOBJECTHELPER_MODE_READ));
+ *pDocShell, SvXMLEmbeddedObjectHelperMode::Read));
}
if (rServiceName == "com.sun.star.text.DocumentSettings")
{