diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-05-06 16:32:22 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-05-06 16:51:45 +0200 |
commit | e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 (patch) | |
tree | 8063275cabcdf32e30c37451a32d96db5929561a /svtools/source/misc | |
parent | Revert "ignore already seen locations in compiler plugins" (diff) | |
download | core-e2e2cc61144cb22227eebfadff0ea24b51ccfbd0.tar.gz core-e2e2cc61144cb22227eebfadff0ea24b51ccfbd0.zip |
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/source/misc')
-rw-r--r-- | svtools/source/misc/transfer.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
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; |