diff options
Diffstat (limited to 'xmloff/source/transform/Oasis2OOo.cxx')
-rw-r--r-- | xmloff/source/transform/Oasis2OOo.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xmloff/source/transform/Oasis2OOo.cxx b/xmloff/source/transform/Oasis2OOo.cxx index 8e073c81a0e0..b64e0b52570e 100644 --- a/xmloff/source/transform/Oasis2OOo.cxx +++ b/xmloff/source/transform/Oasis2OOo.cxx @@ -1515,8 +1515,7 @@ void XMLConfigItemTContext_Impl::EndElement() GetTransformer().GetPropertySet(); if( rPropSet.is() ) { - const sal_Char sRedlineProtectionKey[] = "RedlineProtectionKey"; - OUString aPropName(sRedlineProtectionKey); + OUString aPropName("RedlineProtectionKey"); Reference< XPropertySetInfo > xPropSetInfo( rPropSet->getPropertySetInfo() ); if( xPropSetInfo.is() && @@ -1570,8 +1569,7 @@ void XMLTrackedChangesOASISTContext_Impl::StartElement( GetTransformer().GetPropertySet(); if( rPropSet.is() ) { - const sal_Char sRedlineProtectionKey[] = "RedlineProtectionKey"; - OUString aPropName(sRedlineProtectionKey); + OUString aPropName("RedlineProtectionKey"); Reference< XPropertySetInfo > xPropSetInfo( rPropSet->getPropertySetInfo() ); if( xPropSetInfo.is() && |