summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-04-01 21:08:13 +0200
committerChr. Rossmanith <ChrRossmanith@gmx.de>2013-04-01 22:12:22 +0200
commit563a9b7ab3cc1ed0166d1bfe0568124a2fd9b80e (patch)
tree20f52c72ac7eb7a3dfac07a1e0297b17db60b58e /sot
parent6591068f2a73252f4e3c9abf9b153a5b4f59410b (diff)
Remove RTL_CONSTASCII_USTRINGPARAM in smoketest/sot/svl/toolkit/vbahelper
Change-Id: I0816631a1d0c68dcef9c640c91d00ac9942ded28
Diffstat (limited to 'sot')
-rw-r--r--sot/source/base/formats.cxx2
-rw-r--r--sot/source/sdstor/ucbstorage.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/base/formats.cxx b/sot/source/base/formats.cxx
index 9c229efaa915..2f904526b0bf 100644
--- a/sot/source/base/formats.cxx
+++ b/sot/source/base/formats.cxx
@@ -1312,7 +1312,7 @@ static sal_Bool CheckTransferableContext_Impl( const Reference< XTransferable >*
if( pFDesc->cItems )
{
rtl::OString sDesc( pFDesc->fgd[ 0 ].cFileName );
- bRet = 4 < sDesc.getLength() && sDesc.copy(sDesc.getLength()-4).equalsIgnoreAsciiCaseL(RTL_CONSTASCII_STRINGPARAM(".URL"));
+ bRet = 4 < sDesc.getLength() && sDesc.copy(sDesc.getLength()-4).equalsIgnoreAsciiCase(".URL");
}
}
}
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx
index b03c9629036c..6771dcc45ee7 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -3166,7 +3166,7 @@ String UCBStorage::GetLinkedFile( SvStream &rStream )
if( nBytes == 0x04034b50 )
{
rtl::OString aTmp = read_lenPrefixed_uInt8s_ToOString<sal_uInt16>(rStream);
- if (aTmp.matchL(RTL_CONSTASCII_STRINGPARAM("ContentURL=")))
+ if (aTmp.match("ContentURL="))
{
aString = rtl::OStringToOUString(aTmp.copy(11), RTL_TEXTENCODING_UTF8);
}