diff options
Diffstat (limited to 'xmlsecurity/source/dialogs/resourcemanager.cxx')
-rw-r--r-- | xmlsecurity/source/dialogs/resourcemanager.cxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/xmlsecurity/source/dialogs/resourcemanager.cxx b/xmlsecurity/source/dialogs/resourcemanager.cxx index d9279b1fa335..cc2702e9f153 100644 --- a/xmlsecurity/source/dialogs/resourcemanager.cxx +++ b/xmlsecurity/source/dialogs/resourcemanager.cxx @@ -62,10 +62,8 @@ namespace XmlSec // String with date and time information (#i20172#) DateTime aDT( GetDateTime( _rDT ) ); const LocaleDataWrapper& rLoDa = GetLocaleData(); - OUStringBuffer sRet( rLoDa.getDate( aDT ) ); - sRet.append( ' ' ); - sRet.append( rLoDa.getTime( aDT ) ); - return sRet.makeStringAndClear(); + + return rLoDa.getDate( aDT ) + " " + rLoDa.getTime( aDT ); } OUString GetDateString( const ::com::sun::star::util::DateTime& _rDT ) @@ -95,9 +93,7 @@ namespace XmlSec s2.append(static_cast<sal_Unicode>('\n')); } s1.append(i->second); - s2.append(i->first); - s2.append(sEqual); - s2.append(i->second); + s2.append(i->first + sEqual + i->second); } return make_pair(s1.makeStringAndClear(), s2.makeStringAndClear()); } |