summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-04 08:29:36 +0200
committerNoel Grandin <noel@peralex.com>2015-11-04 14:10:44 +0200
commit59b072e22b0610abc7ffdbc75873ef5cbba58de7 (patch)
tree663c2d01a983508f9b22ec87fae29b16ab5a1683 /configmgr
parentbaa411b59c3840a4dddf5447a0b4583eb5edea74 (diff)
yyyyy
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/qa/unit/test.cxx19
1 files changed, 6 insertions, 13 deletions
diff --git a/configmgr/qa/unit/test.cxx b/configmgr/qa/unit/test.cxx
index b2a5a21406a4..4195b7b3e892 100644
--- a/configmgr/qa/unit/test.cxx
+++ b/configmgr/qa/unit/test.cxx
@@ -156,8 +156,7 @@ void RecursiveTest::test()
OUString("/org.openoffice.Office.UI.GenericCommands/UserInterface/Commands/"
".uno:WebHtml")),
css::uno::UNO_QUERY_THROW);
- properties_->addPropertyChangeListener(
- OUString("Label"), this);
+ properties_->addPropertyChangeListener("Label", this);
step();
CPPUNIT_ASSERT(count_ == 0);
css::uno::Reference< css::lang::XComponent >(
@@ -276,12 +275,9 @@ void Test::testSetSetMemberName()
"Commands")),
css::uno::UNO_QUERY_THROW);
css::uno::Reference< css::container::XNamed > member;
- access->getByName(
- OUString(".uno:FontworkGalleryFloater")) >>=
- member;
+ access->getByName(".uno:FontworkGalleryFloater") >>= member;
CPPUNIT_ASSERT(member.is());
- member->setName(
- OUString(".uno:FontworkShapeType"));
+ member->setName(".uno:FontworkShapeType");
css::uno::Reference< css::util::XChangesBatch >(
access, css::uno::UNO_QUERY_THROW)->commitChanges();
css::uno::Reference< css::lang::XComponent >(
@@ -347,12 +343,9 @@ void Test::testReadCommands()
css::uno::Reference< css::container::XNameAccess > child;
if (access->getByName(names[j]) >>= child) {
CPPUNIT_ASSERT(child.is());
- child->getByName(
- OUString("Label"));
- child->getByName(
- OUString("ContextLabel"));
- child->getByName(
- OUString("Properties"));
+ child->getByName("Label");
+ child->getByName("ContextLabel");
+ child->getByName("Properties");
}
}
}