summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-02-24 20:13:06 +0100
committerBjörn Michaelsen <bjoern.michaelsen@canonical.com>2013-02-24 21:16:12 +0000
commited383ebfbae4c79c870389868762767b16f444ee (patch)
treef84635927434981df9d5d6fc4b19bd2d65205daf /xmlhelp
parentc064fa5048b09eb50fc90cef4364986ec58bd3eb (diff)
remove RTL_CONSTASCII_(U)STRINGPARAM
Change-Id: Ica4dc859229c2ba0dc052a97ff23178895c25580 Reviewed-on: https://gerrit.libreoffice.org/2368 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/db.hxx2
-rw-r--r--xmlhelp/source/cxxhelp/provider/inputstream.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/db.hxx b/xmlhelp/source/cxxhelp/provider/db.hxx
index a8e90978bdcd..6c42e5fecf7b 100644
--- a/xmlhelp/source/cxxhelp/provider/db.hxx
+++ b/xmlhelp/source/cxxhelp/provider/db.hxx
@@ -110,7 +110,7 @@ namespace helpdatafileproxy {
, m_nItRead( -1 )
, m_iItPos( -1 )
{
- OSL_ASSERT(!rFileURL.compareTo(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:")), 5));
+ OSL_ASSERT(!rFileURL.compareTo("file:", 5));
}
~Hdf()
{ releaseHashMap(); }
diff --git a/xmlhelp/source/cxxhelp/provider/inputstream.cxx b/xmlhelp/source/cxxhelp/provider/inputstream.cxx
index 17e2f98ffc57..6ef2b30ee645 100644
--- a/xmlhelp/source/cxxhelp/provider/inputstream.cxx
+++ b/xmlhelp/source/cxxhelp/provider/inputstream.cxx
@@ -129,7 +129,7 @@ XInputStream_impl::skipBytes(
if (m_aFile.setPos(osl_Pos_Current, sal_uInt64(nBytesToSkip)) != osl::FileBase::E_None)
{
throw io::IOException(::rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM("XInputStream_impl::skipBytes failed seek")), uno::Reference< uno::XInterface >());
+ "XInputStream_impl::skipBytes failed seek"), uno::Reference< uno::XInterface >());
}
}