diff options
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/container/embeddedobjectcontainer.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/misc/locale.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx index 8f449b5caa6a..ad55865f6982 100644 --- a/comphelper/source/container/embeddedobjectcontainer.cxx +++ b/comphelper/source/container/embeddedobjectcontainer.cxx @@ -1032,7 +1032,7 @@ sal_Bool EmbeddedObjectContainer::RemoveEmbeddedObject( const uno::Reference < e pImpl->mxTempStorage = ::comphelper::OStorageHelper::GetTemporaryStorage(); uno::Sequence < beans::PropertyValue > aSeq; - ::rtl::OUString aTmpPersistName = ::rtl::OUString( "Object " ); + OUString aTmpPersistName = "Object "; aTmpPersistName += ::rtl::OUString::valueOf( (sal_Int32) pImpl->maTempObjectContainer.size() ); xPersist->storeAsEntry( pImpl->mxTempStorage, aTmpPersistName, aSeq, aSeq ); diff --git a/comphelper/source/misc/locale.cxx b/comphelper/source/misc/locale.cxx index f11a13d94461..d1d528c4d6a7 100644 --- a/comphelper/source/misc/locale.cxx +++ b/comphelper/source/misc/locale.cxx @@ -124,9 +124,9 @@ void Locale::setVariant(const ::rtl::OUString& sVariant) void Locale::fromISO(const ::rtl::OUString& sISO) throw(Locale::MalFormedLocaleException) { - m_sLanguage = ::rtl::OUString(); - m_sCountry = ::rtl::OUString(); - m_sVariant = ::rtl::OUString(); + m_sLanguage = ""; + m_sCountry = ""; + m_sVariant = ""; ::rtl::OUString sParser(sISO); sParser = sParser.trim(); |