summaryrefslogtreecommitdiff
path: root/sd/qa
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-04-18 18:06:49 -0300
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-04-18 18:07:26 -0300
commit8a78020b4ead30627a021a0d604c558488565ffe (patch)
tree52c038466313a91fcb5353fe3b1e4933e8538d4c /sd/qa
parent5f93dc708a807a74cb176dd37a484ad8f947b191 (diff)
More RTL_CONSTASCII cleanups
Diffstat (limited to 'sd/qa')
-rw-r--r--sd/qa/unit/filters-test.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/sd/qa/unit/filters-test.cxx b/sd/qa/unit/filters-test.cxx
index 1936280e3b48..b6afb39bf339 100644
--- a/sd/qa/unit/filters-test.cxx
+++ b/sd/qa/unit/filters-test.cxx
@@ -113,7 +113,7 @@ FileFormat aFileFormats[] = {
rtl::OUString(), pFmt->nFormatType, nFormat,
rtl::OUString::createFromAscii( pFmt->pTypeName ),
0, rtl::OUString(), rtl::OUString(), /* userdata */
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("private:factory/sdraw*")) );
+ rtl::OUString("private:factory/sdraw*") );
aFilter->SetVersion(SOFFICE_FILEFORMAT_CURRENT);
::sd::DrawDocShellRef xDocShRef = new ::sd::DrawDocShell();
@@ -176,9 +176,9 @@ bool SdFiltersTest::load(const rtl::OUString &rFilter, const rtl::OUString &rURL
void SdFiltersTest::testCVEs()
{
- testDir(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MS PowerPoint 97")),
+ testDir(rtl::OUString("MS PowerPoint 97"),
getURLFromSrc("/sd/qa/unit/data/ppt/"),
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("sdfilt")));
+ rtl::OUString("sdfilt"));
}
SdFiltersTest::SdFiltersTest()
@@ -192,8 +192,7 @@ void SdFiltersTest::setUp()
// This is a bit of a fudge, we do this to ensure that ScGlobals::ensure,
// which is a private symbol to us, gets called
m_xDrawComponent =
- getMultiServiceFactory()->createInstance(rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.Draw.PresentationDocument")));
+ getMultiServiceFactory()->createInstance("com.sun.star.comp.Draw.PresentationDocument");
CPPUNIT_ASSERT_MESSAGE("no impress component!", m_xDrawComponent.is());
}