summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 12:31:54 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 12:31:54 +0100
commit5b8de53a3f8a68d1eb6157398f5c5e456054028e (patch)
treee812a6a8abc4c2889283b40cbe216696690a0ad0 /configmgr
parentca551694bdce36dfaa795ffa8910ec86db979c56 (diff)
loplugin:stringconstant: elide explicit ctor usage (manually due to macros)
Change-Id: I409ea5a7e4b6a8e2886d5b489b66b217b3be58b6
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/qa/unit/test.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/configmgr/qa/unit/test.cxx b/configmgr/qa/unit/test.cxx
index d31dd94d92b0..fd8fac13ea1a 100644
--- a/configmgr/qa/unit/test.cxx
+++ b/configmgr/qa/unit/test.cxx
@@ -222,8 +222,8 @@ void Test::testKeyFetch()
OUString s;
CPPUNIT_ASSERT(
getKey(
- OUString("/org.openoffice.System"),
- OUString("L10N/Locale")) >>=
+ "/org.openoffice.System",
+ "L10N/Locale") >>=
s);
}
@@ -236,8 +236,8 @@ void Test::testKeySet()
OUString s;
CPPUNIT_ASSERT(
getKey(
- OUString("/org.openoffice.System/L10N"),
- OUString("Locale")) >>=
+ "/org.openoffice.System/L10N",
+ "Locale") >>=
s);
CPPUNIT_ASSERT( s == "com.sun.star.configuration.backend.LocaleBackend UILocale" );
}
@@ -251,8 +251,8 @@ void Test::testKeyReset()
OUString s;
CPPUNIT_ASSERT(
getKey(
- OUString("/org.openoffice.System/L10N"),
- OUString("Locale")) >>=
+ "/org.openoffice.System/L10N",
+ "Locale") >>=
s);
CPPUNIT_ASSERT( s == "com.sun.star.configuration.backend.LocaleBackend Locale" );
}
@@ -263,9 +263,9 @@ void Test::testSetSetMemberName()
OUString s;
CPPUNIT_ASSERT(
getKey(
- OUString("/org.openoffice.Office.UI.GenericCommands/UserInterface/Commands/"
- ".uno:FontworkShapeType"),
- OUString("Label")) >>=
+ "/org.openoffice.Office.UI.GenericCommands/UserInterface/Commands/"
+ ".uno:FontworkShapeType",
+ "Label") >>=
s);
CPPUNIT_ASSERT( s == "Fontwork Shape" );
@@ -285,9 +285,9 @@ void Test::testSetSetMemberName()
CPPUNIT_ASSERT(
getKey(
- OUString("/org.openoffice.Office.UI.GenericCommands/UserInterface/Commands/"
- ".uno:FontworkShapeType"),
- OUString("Label")) >>=
+ "/org.openoffice.Office.UI.GenericCommands/UserInterface/Commands/"
+ ".uno:FontworkShapeType",
+ "Label") >>=
s);
CPPUNIT_ASSERT( s == "Fontwork Gallery..." );
}