diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-09 15:24:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-10 09:48:06 +0200 |
commit | 89dd3f80685c66883b6ed4efbf369f5aa2dc292e (patch) | |
tree | 6edf1a741d079c88799df9219270798affd2ffa5 /sd/source/filter/xml | |
parent | 84482f5193ff0738563b6e91f66fc95fbc145de3 (diff) |
convert SfxObjectCreateMode to scoped enum
and fix some dodgy usage in /sc in the process
Change-Id: Ia2bee267df31aba431fc8cb81195bb83e5b64deb
Diffstat (limited to 'sd/source/filter/xml')
-rw-r--r-- | sd/source/filter/xml/sdxmlwrp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx index b10a3beb8f9a..bb7dd9671561 100644 --- a/sd/source/filter/xml/sdxmlwrp.cxx +++ b/sd/source/filter/xml/sdxmlwrp.cxx @@ -612,7 +612,7 @@ bool SdXMLFilter::Import( ErrCode& nError ) // Set base URI xInfoSet->setPropertyValue( "BaseURI" , makeAny( mrMedium.GetBaseURL() ) ); - if( 0 == nRet && SFX_CREATE_MODE_EMBEDDED == mrDocShell.GetCreateMode() ) + if( 0 == nRet && SfxObjectCreateMode::EMBEDDED == mrDocShell.GetCreateMode() ) { OUString aName; if ( mrMedium.GetItemSet() ) @@ -904,7 +904,7 @@ bool SdXMLFilter::Export() OUString sTargetStorage( "TargetStorage" ); xInfoSet->setPropertyValue( sTargetStorage, Any( xStorage ) ); - if( SFX_CREATE_MODE_EMBEDDED == mrDocShell.GetCreateMode() ) + if( SfxObjectCreateMode::EMBEDDED == mrDocShell.GetCreateMode() ) { OUString aName; if ( mrMedium.GetItemSet() ) @@ -979,7 +979,7 @@ bool SdXMLFilter::Export() aServices[i ].mpService = pServiceNames->mpSettings; aServices[i++].mpStream = sXML_settingsStreamName; - if( mrDocShell.GetCreateMode() != SFX_CREATE_MODE_EMBEDDED ) + if( mrDocShell.GetCreateMode() != SfxObjectCreateMode::EMBEDDED ) { aServices[i ].mpService = pServiceNames->mpMeta; aServices[i++].mpStream = sXML_metaStreamName; |