summaryrefslogtreecommitdiffstats
path: root/forms/source/runtime
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-19 09:22:44 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-19 09:00:26 +0000
commit8b27d78b4afaa9c47ca0fda144c8060f2f14046b (patch)
tree2dbddceebf0f96492adc5652697e8efce8a8ba06 /forms/source/runtime
parentWaE: Potentially uninitialized local variable (diff)
downloadcore-8b27d78b4afaa9c47ca0fda144c8060f2f14046b.tar.gz
core-8b27d78b4afaa9c47ca0fda144c8060f2f14046b.zip
automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'forms/source/runtime')
-rw-r--r--forms/source/runtime/formoperations.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/runtime/formoperations.cxx b/forms/source/runtime/formoperations.cxx
index 529a43ea8546..d1c810e86a54 100644
--- a/forms/source/runtime/formoperations.cxx
+++ b/forms/source/runtime/formoperations.cxx
@@ -144,14 +144,14 @@ namespace frm
//--------------------------------------------------------------------
::rtl::OUString FormOperations::getImplementationName_Static( ) throw(RuntimeException)
{
- return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.forms.FormOperations" ) );
+ return ::rtl::OUString( "com.sun.star.comp.forms.FormOperations" );
}
//--------------------------------------------------------------------
Sequence< ::rtl::OUString > FormOperations::getSupportedServiceNames_Static( ) throw(RuntimeException)
{
Sequence< ::rtl::OUString > aNames(1);
- aNames[0] = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.form.runtime.FormOperations" ) );
+ aNames[0] = ::rtl::OUString( "com.sun.star.form.runtime.FormOperations" );
return aNames;
}
@@ -402,7 +402,7 @@ namespace frm
::rtl::OUString sValue = ::rtl::OUString::valueOf( sal_Int32( nCount ) );
if ( !bFinalCount )
- sValue += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" *") );
+ sValue += ::rtl::OUString(" *");
aState.State <<= sValue;
aState.Enabled = sal_True;
@@ -1137,7 +1137,7 @@ namespace frm
Reference< XMultiServiceFactory > xFactory( ::dbtools::getConnection( m_xCursor ), UNO_QUERY );
if ( xFactory.is() )
{
- m_xParser.set( xFactory->createInstance( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.sdb.SingleSelectQueryComposer" ) ) ), UNO_QUERY );
+ m_xParser.set( xFactory->createInstance( ::rtl::OUString( "com.sun.star.sdb.SingleSelectQueryComposer" ) ), UNO_QUERY );
OSL_ENSURE( m_xParser.is(), "FormOperations::impl_ensureInitializedParser_nothrow: factory did not create a parser for us!" );
}
}