diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-16 16:33:31 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-17 08:45:15 +0200 |
commit | fa8121a08f8ca86864184b7922793209f978f3d9 (patch) | |
tree | 764ab2a67052558474877d8bbb6b2f189860b409 /sd/source/ui/unoidl | |
parent | 36d02d78061889ac20f9484672100e92cf1cc0c1 (diff) |
convert SvXMLGraphicHelperMode to scoped enum
Change-Id: Ib0360b395fafe3c8123a0cc0fd0cbfd581fa5414
Diffstat (limited to 'sd/source/ui/unoidl')
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index da17846c4a03..d3e409fa2c2c 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -946,12 +946,12 @@ css::uno::Reference<css::uno::XInterface> SdXImpressDocument::create( // Support creation of GraphicObjectResolver and EmbeddedObjectResolver if( aServiceSpecifier == "com.sun.star.document.ExportGraphicObjectResolver" ) { - return static_cast<cppu::OWeakObject *>(new SvXMLGraphicHelper( GRAPHICHELPER_MODE_WRITE )); + return static_cast<cppu::OWeakObject *>(new SvXMLGraphicHelper( SvXMLGraphicHelperMode::Write )); } if( aServiceSpecifier == "com.sun.star.document.ImportGraphicObjectResolver" ) { - return static_cast<cppu::OWeakObject *>(new SvXMLGraphicHelper( GRAPHICHELPER_MODE_READ )); + return static_cast<cppu::OWeakObject *>(new SvXMLGraphicHelper( SvXMLGraphicHelperMode::Read )); } if( aServiceSpecifier == "com.sun.star.document.ExportEmbeddedObjectResolver" ) |