summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider')
-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 >());
}
}