diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-08 04:51:28 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-08 04:51:28 +0100 |
commit | 8035a3af260729ee47a1d805811e17d06d035e3d (patch) | |
tree | e3040a30673497421525ea639add7f7b31a55a65 /basic | |
parent | b5d7f9208294803cc7a2dfb4c2a4cb17d7739947 (diff) |
some further OUString cleanup
Change-Id: I13eb94092e29ececc9fbf494074acde5f893b605
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 4 | ||||
-rw-r--r-- | basic/source/runtime/dllmgr-x64.cxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/dllmgr-x86.cxx | 2 | ||||
-rw-r--r-- | basic/source/uno/namecont.cxx | 3 |
4 files changed, 5 insertions, 6 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 55b5689462aa..703b280a396f 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -1670,7 +1670,7 @@ OUString getDbgObjectName( SbUnoObject* pUnoObj ) { OUString aName = getDbgObjectNameImpl( pUnoObj ); if( aName.isEmpty() ) - aName += OUString("Unknown"); + aName += "Unknown"; OUStringBuffer aRet; if( aName.getLength() > 20 ) @@ -5146,7 +5146,7 @@ OUString SbUnoStructRefObject::getDbgObjectName() OUString aName = GetClassName(); if( aName.isEmpty() ) { - aName += OUString("Unknown"); + aName += "Unknown"; } OUStringBuffer aRet; if( aName.getLength() > 20 ) diff --git a/basic/source/runtime/dllmgr-x64.cxx b/basic/source/runtime/dllmgr-x64.cxx index b1caceb3af06..b3f257fc8a53 100644 --- a/basic/source/runtime/dllmgr-x64.cxx +++ b/basic/source/runtime/dllmgr-x64.cxx @@ -700,7 +700,7 @@ SbError Dll::getProc(OUString const & name, ProcData * proc) { OUString fullDllName(OUString const & name) { OUString full(name); if (full.indexOf('.') == -1) { - full += OUString(".DLL"); + full += ".DLL"; } return full; } diff --git a/basic/source/runtime/dllmgr-x86.cxx b/basic/source/runtime/dllmgr-x86.cxx index 777a18e99b7f..ffce759a1771 100644 --- a/basic/source/runtime/dllmgr-x86.cxx +++ b/basic/source/runtime/dllmgr-x86.cxx @@ -657,7 +657,7 @@ SbError Dll::getProc(OUString const & name, ProcData * proc) { OUString fullDllName(OUString const & name) { OUString full(name); if (full.indexOf('.') == -1) { - full += OUString(".DLL"); + full += ".DLL"; } return full; } diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index 67bba961aabb..d0c7d14d7c9c 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -1291,8 +1291,7 @@ void SfxLibraryContainer::implScanExtensions( void ) { aIndexFileURL += "/"; } - aIndexFileURL += maInfoFileName; - aIndexFileURL += OUString(".xlb"); + aIndexFileURL += maInfoFileName + ".xlb"; // Create link const bool bReadOnly = false; |