summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/app/AppController.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-03-08 00:49:32 +0100
committerLuboš Luňák <l.lunak@suse.cz>2012-03-12 13:35:57 +0100
commit3f765e5bb2955683fc2db10f630365a4c35416d3 (patch)
tree005cbfefc4547529d7a1e416b657d44c6e1e8308 /dbaccess/source/ui/app/AppController.cxx
parentreplace replace*AsciiL() OUString methods with string literal ones (diff)
downloadcore-3f765e5bb2955683fc2db10f630365a4c35416d3.tar.gz
core-3f765e5bb2955683fc2db10f630365a4c35416d3.zip
replace usage of OUString::replace*AsciiL() with string literal overloads
Diffstat (limited to 'dbaccess/source/ui/app/AppController.cxx')
-rw-r--r--dbaccess/source/ui/app/AppController.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx
index 1ee3d1b77dd1..d5f2b6698309 100644
--- a/dbaccess/source/ui/app/AppController.cxx
+++ b/dbaccess/source/ui/app/AppController.cxx
@@ -2966,9 +2966,7 @@ void SAL_CALL OApplicationController::removeSelectionChangeListener( const Refer
::rtl::OUString sMessage(
rtl::OUString(
String(ModuleRes(RID_STR_UNSUPPORTED_OBJECT_TYPE))).
- replaceFirstAsciiL(
- RTL_CONSTASCII_STRINGPARAM("$type$"),
- ::rtl::OUString::valueOf(sal_Int32(pObject->Type))));
+ replaceFirst("$type$", ::rtl::OUString::valueOf(sal_Int32(pObject->Type))));
throw IllegalArgumentException(sMessage, *this, sal_Int16( pObject - aSelectedObjects.getConstArray() ));
}
}