summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-05-06 16:32:22 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-05-06 16:51:45 +0200
commite2e2cc61144cb22227eebfadff0ea24b51ccfbd0 (patch)
tree8063275cabcdf32e30c37451a32d96db5929561a /svtools
parentd01768c31a0658c8a74e0dd3a95b2d781639d18e (diff)
remove usage of RTL_CONSTASCII_USTRINGPARAM
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/filter/SvFilterOptionsDialog.cxx2
-rw-r--r--svtools/source/misc/transfer.cxx18
-rw-r--r--svtools/source/uno/contextmenuhelper.cxx2
-rw-r--r--svtools/source/uno/unoevent.cxx14
4 files changed, 18 insertions, 18 deletions
diff --git a/svtools/source/filter/SvFilterOptionsDialog.cxx b/svtools/source/filter/SvFilterOptionsDialog.cxx
index c85de6f330f0..70e92aa504e4 100644
--- a/svtools/source/filter/SvFilterOptionsDialog.cxx
+++ b/svtools/source/filter/SvFilterOptionsDialog.cxx
@@ -68,7 +68,7 @@ uno::Sequence< OUString > SAL_CALL SvFilterOptionsDialog_getSupportedServiceName
{
uno::Sequence< OUString > aRet(1);
OUString* pArray = aRet.getArray();
- pArray[0] = OUString( RTL_CONSTASCII_USTRINGPARAM( SERVICE_NAME ) );
+ pArray[0] = OUString( SERVICE_NAME );
return aRet;
}
#undef SERVICE_NAME
diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx
index 0d8ce74af190..88086ef26fad 100644
--- a/svtools/source/misc/transfer.cxx
+++ b/svtools/source/misc/transfer.cxx
@@ -144,20 +144,20 @@ SvStream& operator<<( SvStream& rOStm, const TransferableObjectDescriptor& rObjD
static OUString ImplGetParameterString( const TransferableObjectDescriptor& rObjDesc )
{
- const OUString aChar( RTL_CONSTASCII_USTRINGPARAM( "\"" ));
+ const OUString aChar( "\"" );
const OUString aClassName( rObjDesc.maClassName.GetHexName() );
OUString aParams;
if( !aClassName.isEmpty() )
{
- aParams += OUString( RTL_CONSTASCII_USTRINGPARAM( ";classname=\"" ));
+ aParams += OUString( ";classname=\"" );
aParams += aClassName;
aParams += aChar;
}
if( !rObjDesc.maTypeName.isEmpty() )
{
- aParams += OUString( RTL_CONSTASCII_USTRINGPARAM( ";typename=\"" ));
+ aParams += OUString( ";typename=\"" );
aParams += rObjDesc.maTypeName;
aParams += aChar;
}
@@ -180,28 +180,28 @@ static OUString ImplGetParameterString( const TransferableObjectDescriptor& rObj
pToAccept[nChar] = sal_True;
}
- aParams += OUString( RTL_CONSTASCII_USTRINGPARAM( ";displayname=\"" ));
+ aParams += OUString( ";displayname=\"" );
aParams += ::rtl::Uri::encode( rObjDesc.maDisplayName, pToAccept, rtl_UriEncodeIgnoreEscapes, RTL_TEXTENCODING_UTF8 );
aParams += aChar;
}
- aParams += OUString( RTL_CONSTASCII_USTRINGPARAM( ";viewaspect=\"" ));
+ aParams += OUString( ";viewaspect=\"" );
aParams += OUString::number( rObjDesc.mnViewAspect );
aParams += aChar;
- aParams += OUString( RTL_CONSTASCII_USTRINGPARAM( ";width=\"" ));
+ aParams += OUString( ";width=\"" );
aParams += OUString::valueOf( rObjDesc.maSize.Width() );
aParams += aChar;
- aParams += OUString( RTL_CONSTASCII_USTRINGPARAM( ";height=\"" ));
+ aParams += OUString( ";height=\"" );
aParams += OUString::valueOf( rObjDesc.maSize.Height() );
aParams += aChar;
- aParams += OUString( RTL_CONSTASCII_USTRINGPARAM( ";posx=\"" ));
+ aParams += OUString( ";posx=\"" );
aParams += OUString::valueOf( rObjDesc.maDragStartPos.X() );
aParams += aChar;
- aParams += OUString( RTL_CONSTASCII_USTRINGPARAM( ";posy=\"" ));
+ aParams += OUString( ";posy=\"" );
aParams += OUString::valueOf( rObjDesc.maDragStartPos.X() );
aParams += aChar;
diff --git a/svtools/source/uno/contextmenuhelper.cxx b/svtools/source/uno/contextmenuhelper.cxx
index 5ceaa94cc976..ad63ad97f717 100644
--- a/svtools/source/uno/contextmenuhelper.cxx
+++ b/svtools/source/uno/contextmenuhelper.cxx
@@ -253,7 +253,7 @@ ContextMenuHelper::ContextMenuHelper(
const uno::Reference< frame::XFrame >& xFrame,
bool bAutoRefresh ) :
m_xWeakFrame( xFrame ),
- m_aSelf( RTL_CONSTASCII_USTRINGPARAM( "_self" )),
+ m_aSelf( "_self" ),
m_bAutoRefresh( bAutoRefresh ),
m_bUICfgMgrAssociated( false )
{
diff --git a/svtools/source/uno/unoevent.cxx b/svtools/source/uno/unoevent.cxx
index 0f967fe45709..d5c5240db20e 100644
--- a/svtools/source/uno/unoevent.cxx
+++ b/svtools/source/uno/unoevent.cxx
@@ -45,13 +45,13 @@ const sal_Char sAPI_SvDetachedEventDescriptor[] = "SvDetachedEventDescriptor";
//
SvBaseEventDescriptor::SvBaseEventDescriptor( const SvEventDescription* pSupportedMacroItems ) :
- sEventType(RTL_CONSTASCII_USTRINGPARAM("EventType")),
- sMacroName(RTL_CONSTASCII_USTRINGPARAM("MacroName")),
- sLibrary(RTL_CONSTASCII_USTRINGPARAM("Library")),
- sStarBasic(RTL_CONSTASCII_USTRINGPARAM("StarBasic")),
- sJavaScript(RTL_CONSTASCII_USTRINGPARAM("JavaScript")),
- sScript(RTL_CONSTASCII_USTRINGPARAM("Script")),
- sNone(RTL_CONSTASCII_USTRINGPARAM("None")),
+ sEventType("EventType"),
+ sMacroName("MacroName"),
+ sLibrary("Library"),
+ sStarBasic("StarBasic"),
+ sJavaScript("JavaScript"),
+ sScript("Script"),
+ sNone("None"),
sServiceName(RTL_CONSTASCII_USTRINGPARAM(sAPI_ServiceName)),
sEmpty(),
mpSupportedMacroItems(pSupportedMacroItems),