summaryrefslogtreecommitdiff
path: root/testtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 13:35:47 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 14:12:35 +0100
commitac6174bd0d3c896a4ab0a0a1ae93197441dd64ff (patch)
treeec66820c5098f10b3feb346807efce2bc6c4e4fd /testtools
parente6bf3f2dcc83a915d8ebc273fd9648fcf2495c35 (diff)
testtools: Use appropriate OUString functions on string constants
Change-Id: I4258287401e76a2f37f88eeeba5aa11d693a01b8
Diffstat (limited to 'testtools')
-rw-r--r--testtools/source/bridgetest/bridgetest.cxx3
-rw-r--r--testtools/source/bridgetest/cppobj.cxx2
2 files changed, 2 insertions, 3 deletions
diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx
index 61ee77fbb0d6..6bd4a92ec767 100644
--- a/testtools/source/bridgetest/bridgetest.cxx
+++ b/testtools/source/bridgetest/bridgetest.cxx
@@ -591,8 +591,7 @@ static bool performTest(
Any nullAny(xLBT->getNullPolyAny().member);
bRet &= check(
(((nullAny.getValueTypeName() ==
- OUString(
- "com.sun.star.uno.XInterface")) &&
+ "com.sun.star.uno.XInterface") &&
!static_cast< Reference< XInterface > const * >(
nullAny.getValue())->is())
|| nullAny == Any()),
diff --git a/testtools/source/bridgetest/cppobj.cxx b/testtools/source/bridgetest/cppobj.cxx
index d9e5ef77cf2f..e5b96c82156a 100644
--- a/testtools/source/bridgetest/cppobj.cxx
+++ b/testtools/source/bridgetest/cppobj.cxx
@@ -936,7 +936,7 @@ void Test_Impl::testConstructorsService(
Sequence< double > arg23(1); arg23[0] = 0.456;
Sequence< sal_Unicode > arg24(1); arg24[0] = 'X';
Sequence< OUString > arg25(1);
- arg25[0] = OUString("test");
+ arg25[0] = "test";
Sequence< Type > arg26(1); arg26[0] = UnoType< Any >::get();
Sequence< Any > arg27(1); arg27[0] <<= true;
Sequence< Sequence< sal_Bool > > arg28(1);