summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper/ucblockbytes.cxx
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-03-12 13:16:41 +0100
committerChr. Rossmanith <ChrRossmanith@gmx.de>2013-03-12 21:02:26 +0100
commit32ac07a9296ce2cfaaef57c177b3d88e75b28f23 (patch)
treeac0f4a3064b0f94680bc3aa39aa097160c1538ab /unotools/source/ucbhelper/ucblockbytes.cxx
parent97346bdddf4c7f5bd156e60b83223bc547d5d6f5 (diff)
Remove RTL_CONSTASCII_STRINGPARAM (unotools)
Change-Id: Id6f9a357431a636c5982964452a0f067e884da96
Diffstat (limited to 'unotools/source/ucbhelper/ucblockbytes.cxx')
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index dc4a4a44825f..086ee702582a 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -186,7 +186,7 @@ void SAL_CALL UcbPropertiesChangeListener_Impl::propertiesChange ( const Sequenc
for (i = 0; i < n; i++)
{
PropertyChangeEvent evt (rEvent[i]);
- if (evt.PropertyName == ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM ("DocumentHeader")))
+ if (evt.PropertyName == ::rtl::OUString("DocumentHeader"))
{
Sequence<DocumentHeaderField> aHead;
if (evt.NewValue >>= aHead)
@@ -211,12 +211,12 @@ void SAL_CALL UcbPropertiesChangeListener_Impl::propertiesChange ( const Sequenc
m_xLockBytes->SetStreamValid_Impl();
}
- else if (evt.PropertyName == rtl::OUString(RTL_CONSTASCII_USTRINGPARAM ("PresentationURL")))
+ else if (evt.PropertyName == rtl::OUString("PresentationURL"))
{
::rtl::OUString aUrl;
if (evt.NewValue >>= aUrl)
{
- ::rtl::OUString aBad (RTL_CONSTASCII_USTRINGPARAM ("private:"));
+ ::rtl::OUString aBad ("private:");
if (!aUrl.startsWith(aBad))
{
// URL changed (Redirection).
@@ -224,7 +224,7 @@ void SAL_CALL UcbPropertiesChangeListener_Impl::propertiesChange ( const Sequenc
}
}
}
- else if (evt.PropertyName == ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM ("MediaType")))
+ else if (evt.PropertyName == ::rtl::OUString("MediaType"))
{
::rtl::OUString aContentType;
if (evt.NewValue >>= aContentType)
@@ -910,10 +910,10 @@ static sal_Bool UCBOpenContentSync(
aScheme = xContId->getContentProviderScheme();
// now determine whether we use a timeout or not;
- if( ! aScheme.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("http")) &&
- ! aScheme.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("https")) &&
- ! aScheme.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("vnd.sun.star.webdav")) &&
- ! aScheme.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("ftp")))
+ if( ! aScheme.equalsIgnoreAsciiCase("http") &&
+ ! aScheme.equalsIgnoreAsciiCase("https") &&
+ ! aScheme.equalsIgnoreAsciiCase("vnd.sun.star.webdav") &&
+ ! aScheme.equalsIgnoreAsciiCase("ftp"))
return _UCBOpenContentSync(
xLockBytes,xContent,rArg,xSink,xInteract,xProgress,xHandler);