[Libreoffice-commits] core.git: writerfilter/qa
Miklos Vajna
vmiklos at collabora.co.uk
Tue Dec 8 01:09:42 PST 2015
writerfilter/qa/cppunittests/misc/misc.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 572adcaf3828e32bff1a562e07186ef0c8f465a1
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Tue Dec 8 10:08:34 2015 +0100
writerfilter: loplugin:stringconstant
Change-Id: Idb0865f4d0db6c4eda33810ab2ef4cff49bc85d1
diff --git a/writerfilter/qa/cppunittests/misc/misc.cxx b/writerfilter/qa/cppunittests/misc/misc.cxx
index 522dc19..3d5cef4 100644
--- a/writerfilter/qa/cppunittests/misc/misc.cxx
+++ b/writerfilter/qa/cppunittests/misc/misc.cxx
@@ -165,8 +165,8 @@ void WriterfilterMiscTest::testFieldParameters()
"-", ".", "/", ":", ";", "<", ">", "?", "@", "[",
"]", "^", "_", "`", "{", "|", "}", "~"})
{
- OUString test(OUString::createFromAscii(prefix) + OUString("PAGE"));
- result = lcl_SplitFieldCommand(test + OUString(" "));
+ OUString test(OUString::createFromAscii(prefix) + "PAGE");
+ result = lcl_SplitFieldCommand(test + " ");
CPPUNIT_ASSERT_EQUAL(test, boost::get<0>(result));
}
result = lcl_SplitFieldCommand("\\PAGE ");
More information about the Libreoffice-commits
mailing list