diff options
Diffstat (limited to 'sd/source/ui/unoidl/UnoDocumentSettings.cxx')
-rw-r--r-- | sd/source/ui/unoidl/UnoDocumentSettings.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/UnoDocumentSettings.cxx b/sd/source/ui/unoidl/UnoDocumentSettings.cxx index 666122868a57..b765dc59a0dc 100644 --- a/sd/source/ui/unoidl/UnoDocumentSettings.cxx +++ b/sd/source/ui/unoidl/UnoDocumentSettings.cxx @@ -362,9 +362,9 @@ uno::Sequence<beans::PropertyValue> { // Such specific path construction is grim. - OUStringBuffer aName( getNameOfType( t ) ); + OUString aName( getNameOfType( t ) ); OUString aResult; - if( pList->SaveTo( xSubStorage, aName.makeStringAndClear(), &aResult ) ) + if( pList->SaveTo( xSubStorage, aName, &aResult ) ) { OUString aRealPath = "Settings/" + aResult; aRet[i].Value <<= aRealPath; |