diff options
-rw-r--r-- | extensions/source/plugin/win/winmgr.cxx | 3 | ||||
-rw-r--r-- | framework/source/helper/titlebarupdate.cxx | 3 | ||||
-rw-r--r-- | sc/source/core/data/funcdesc.cxx | 3 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unosrch.cxx | 4 | ||||
-rw-r--r-- | svl/source/misc/inettype.cxx | 13 | ||||
-rw-r--r-- | sw/source/ui/dbui/createaddresslistdialog.cxx | 3 |
6 files changed, 11 insertions, 18 deletions
diff --git a/extensions/source/plugin/win/winmgr.cxx b/extensions/source/plugin/win/winmgr.cxx index b954b6a41e86..3abf3f959dbf 100644 --- a/extensions/source/plugin/win/winmgr.cxx +++ b/extensions/source/plugin/win/winmgr.cxx @@ -96,8 +96,7 @@ static void addPluginsFromPath( const TCHAR * pPluginsPath, PluginLocationMap & while (hFind != INVALID_HANDLE_VALUE) { - OString aName( aFindData.cFileName ); - aName.toAsciiLowerCase(); + OString aName = OUString( aFindData.cFileName ).toAsciiLowerCase(); // no netscape default plugin anymore... // and no double plugin dlls diff --git a/framework/source/helper/titlebarupdate.cxx b/framework/source/helper/titlebarupdate.cxx index f13fdc7e57e7..4c2060545e2b 100644 --- a/framework/source/helper/titlebarupdate.cxx +++ b/framework/source/helper/titlebarupdate.cxx @@ -195,8 +195,7 @@ void TitleBarUpdate::impl_updateApplicationID(const css::uno::Reference< css::fr sDesktopName = ::rtl::OUString("base"); else sDesktopName = ::rtl::OUString("startcenter"); - sApplicationID = utl::ConfigManager::getProductName(). - toAsciiLowerCase(); + sApplicationID = utl::ConfigManager::getProductName().toAsciiLowerCase(); sApplicationID += ::rtl::OUString(sal_Unicode('-')); sApplicationID += sDesktopName; } diff --git a/sc/source/core/data/funcdesc.cxx b/sc/source/core/data/funcdesc.cxx index 8a0217200be8..d5681b0eac90 100644 --- a/sc/source/core/data/funcdesc.cxx +++ b/sc/source/core/data/funcdesc.cxx @@ -450,8 +450,7 @@ ScFunctionList::ScFunctionList() : pAddInFuncData->getParamDesc( aArgName, aArgDesc, 0 ); pDesc->nFIndex = nNextId++; // ??? OpCode vergeben pDesc->nCategory = ID_FUNCTION_GRP_ADDINS; - pDesc->pFuncName = new ::rtl::OUString(pAddInFuncData->GetInternalName()); - pDesc->pFuncName->toAsciiUpperCase(); + pDesc->pFuncName = new OUString(pAddInFuncData->GetInternalName().toAsciiUpperCase()); ::rtl::OUStringBuffer aBuf(aArgDesc); aBuf.append(sal_Unicode('\n')); diff --git a/sd/source/ui/unoidl/unosrch.cxx b/sd/source/ui/unoidl/unosrch.cxx index 0dd1219ffc9c..2d543f127004 100644 --- a/sd/source/ui/unoidl/unosrch.cxx +++ b/sd/source/ui/unoidl/unosrch.cxx @@ -644,8 +644,8 @@ sal_Bool SdUnoSearchReplaceShape::Search( const OUString& rText, sal_Int32& nSta if( !pDescr->IsCaseSensitive() ) { - aText.toAsciiLowerCase(); - aSearchStr.toAsciiLowerCase(); + aText = aText.toAsciiLowerCase(); + aSearchStr = aSearchStr.toAsciiLowerCase(); } sal_Int32 nFound = aText.indexOf( aSearchStr, nStartPos ); diff --git a/svl/source/misc/inettype.cxx b/svl/source/misc/inettype.cxx index b9f8bf3ae720..143a11a409c0 100644 --- a/svl/source/misc/inettype.cxx +++ b/svl/source/misc/inettype.cxx @@ -521,8 +521,7 @@ Registration::~Registration() // static TypeNameMapEntry * Registration::getExtensionEntry(OUString const & rTypeName) { - OUString aTheTypeName = rTypeName; - aTheTypeName.toAsciiLowerCase(); + OUString aTheTypeName = rTypeName.toAsciiLowerCase();; Registration &rRegistration = theRegistration::get(); TypeNameMap::iterator it = rRegistration.m_aTypeNameMap.find(aTheTypeName); if (it != rRegistration.m_aTypeNameMap.end()) @@ -543,8 +542,7 @@ INetContentType Registration::RegisterContentType(OUString const & rTypeName, "Registration::RegisterContentType(): Already registered"); INetContentType eTypeID = INetContentType(rRegistration.m_nNextDynamicID++); - OUString aTheTypeName = rTypeName; - aTheTypeName.toAsciiLowerCase(); + OUString aTheTypeName = rTypeName.toAsciiLowerCase(); TypeIDMapEntry * pTypeIDMapEntry = new TypeIDMapEntry; pTypeIDMapEntry->m_aTypeName = aTheTypeName; @@ -575,8 +573,7 @@ INetContentType Registration::GetContentType(OUString const & rTypeName) { Registration &rRegistration = theRegistration::get(); - OUString aTheTypeName = rTypeName; - aTheTypeName.toAsciiLowerCase(); + OUString aTheTypeName = rTypeName.toAsciiLowerCase(); TypeNameMap::iterator it = rRegistration.m_aTypeNameMap.find(aTheTypeName); return it != rRegistration.m_aTypeNameMap.end() ? it->second->m_eTypeID @@ -932,7 +929,7 @@ bool INetContentTypes::parse(OUString const & rMediaType, return false; rType = OUString(pToken, p - pToken); if (bDowncase) - rType.toAsciiLowerCase(); + rType= rType.toAsciiLowerCase(); p = INetMIME::skipLinearWhiteSpaceComment(p, pEnd); if (p == pEnd || *p++ != '/') @@ -950,7 +947,7 @@ bool INetContentTypes::parse(OUString const & rMediaType, return false; rSubType = OUString(pToken, p - pToken); if (bDowncase) - rSubType.toAsciiLowerCase(); + rSubType = rSubType.toAsciiLowerCase(); return INetMIME::scanParameters(p, pEnd, pParameters) == pEnd; } diff --git a/sw/source/ui/dbui/createaddresslistdialog.cxx b/sw/source/ui/dbui/createaddresslistdialog.cxx index 4205ea67353d..880b82912648 100644 --- a/sw/source/ui/dbui/createaddresslistdialog.cxx +++ b/sw/source/ui/dbui/createaddresslistdialog.cxx @@ -672,8 +672,7 @@ void SwCreateAddressListDialog::UpdateButtons() void SwCreateAddressListDialog::Find(const String& rSearch, sal_Int32 nColumn) { - OUString sSearch = rSearch; - sSearch.toAsciiLowerCase(); + OUString sSearch = OUString(rSearch).toAsciiLowerCase(); sal_uInt32 nCurrent = m_pAddressControl->GetCurrentDataSet(); //search forward bool bFound = false; |