summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-04-07 12:06:47 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-04-07 14:23:11 +0200
commit1946794ae09ba732022fe6a74ea45e304ab70b84 (patch)
treee32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /hwpfilter
parent5b08c6e7a21dda94d5b755eea0b1ed1e9c199bec (diff)
mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/qa/cppunit/test_hwpfilter.cxx16
-rw-r--r--hwpfilter/source/hwpreader.hxx2
2 files changed, 9 insertions, 9 deletions
diff --git a/hwpfilter/qa/cppunit/test_hwpfilter.cxx b/hwpfilter/qa/cppunit/test_hwpfilter.cxx
index b96f4a0110de..f512ea8ce224 100644
--- a/hwpfilter/qa/cppunit/test_hwpfilter.cxx
+++ b/hwpfilter/qa/cppunit/test_hwpfilter.cxx
@@ -46,8 +46,8 @@ namespace
public:
virtual void setUp();
- virtual bool load(const rtl::OUString &,
- const rtl::OUString &rURL, const rtl::OUString &,
+ virtual bool load(const OUString &,
+ const OUString &rURL, const OUString &,
unsigned int, unsigned int, unsigned int);
void test();
@@ -64,26 +64,26 @@ namespace
test::BootstrapFixture::setUp();
m_xFilter = uno::Reference< document::XFilter >(m_xSFactory->createInstance(
- ::rtl::OUString(
+ OUString(
"com.sun.comp.hwpimport.HwpImportFilter")),
uno::UNO_QUERY_THROW);
}
- bool HwpFilterTest::load(const rtl::OUString &,
- const rtl::OUString &rURL, const rtl::OUString &,
+ bool HwpFilterTest::load(const OUString &,
+ const OUString &rURL, const OUString &,
unsigned int, unsigned int, unsigned int)
{
uno::Sequence< beans::PropertyValue > aDescriptor(1);
- aDescriptor[0].Name = rtl::OUString("URL");
+ aDescriptor[0].Name = OUString("URL");
aDescriptor[0].Value <<= rURL;
return m_xFilter->filter(aDescriptor);
}
void HwpFilterTest::test()
{
- testDir(rtl::OUString(),
+ testDir(OUString(),
getURLFromSrc("/hwpfilter/qa/cppunit/data/"),
- rtl::OUString());
+ OUString());
}
CPPUNIT_TEST_SUITE_REGISTRATION(HwpFilterTest);
diff --git a/hwpfilter/source/hwpreader.hxx b/hwpfilter/source/hwpreader.hxx
index 80d3ec6d6c01..bb04fdd4ba6e 100644
--- a/hwpfilter/source/hwpreader.hxx
+++ b/hwpfilter/source/hwpreader.hxx
@@ -271,7 +271,7 @@ sal_Bool HwpImportFilter::supportsService( const OUString& ServiceName ) throw(:
//XExtendedFilterDetection
OUString HwpImportFilter::detect( ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rDescriptor ) throw (::com::sun::star::uno::RuntimeException)
{
- rtl::OUString sTypeName;
+ OUString sTypeName;
comphelper::MediaDescriptor aDescriptor(rDescriptor);
aDescriptor.addInputStream();