diff options
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r-- | sfx2/source/doc/SfxDocumentMetaData.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/doc/SfxDocumentMetaData.cxx b/sfx2/source/doc/SfxDocumentMetaData.cxx index b9d072d27012..0eaa44115f07 100644 --- a/sfx2/source/doc/SfxDocumentMetaData.cxx +++ b/sfx2/source/doc/SfxDocumentMetaData.cxx @@ -1003,7 +1003,7 @@ void SfxDocumentMetaData::updateUserDefinedAndAttributes() "office:target-frame-name", m_DefaultTarget); // xlink:show: _blank -> new, any other value -> replace - const sal_Char* show = m_DefaultTarget == "_blank" ? "new" : "replace"; + const char* show = m_DefaultTarget == "_blank" ? "new" : "replace"; attributes.emplace_back( "xlink:show", OUString::createFromAscii(show)); @@ -1750,7 +1750,7 @@ SfxDocumentMetaData::loadFromStorage( sal_uInt64 version = SotStorage::GetVersion( xStorage ); // Oasis is also the default (0) bool bOasis = ( version > SOFFICE_FILEFORMAT_60 || version == 0 ); - const sal_Char *pServiceName = bOasis + const char *pServiceName = bOasis ? "com.sun.star.document.XMLOasisMetaImporter" : "com.sun.star.document.XMLMetaImporter"; @@ -1834,7 +1834,7 @@ SfxDocumentMetaData::storeToStorage( const sal_uInt64 version = SotStorage::GetVersion( xStorage ); // Oasis is also the default (0) const bool bOasis = ( version > SOFFICE_FILEFORMAT_60 || version == 0 ); - const sal_Char *pServiceName = bOasis + const char *pServiceName = bOasis ? "com.sun.star.document.XMLOasisMetaExporter" : "com.sun.star.document.XMLMetaExporter"; |