diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 12:32:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 12:32:35 +0100 |
commit | dec34f5421fd4324a395978cdb87d2cb46c66007 (patch) | |
tree | 74709fba3295be18369965be022446c764809963 | |
parent | f5a3a6e0e641bd0b7fd782fba2d7237ba917db6a (diff) |
loplugin:stringconstant: elide explicit ctor usage (manually due to macros)
Change-Id: I3aa16846a9d26cca60db32bd3b6de9fec8b456c1
-rw-r--r-- | sc/qa/unit/ucalc_formula.cxx | 6 | ||||
-rw-r--r-- | sc/source/filter/html/htmlexp.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx index ab55094b8865..b97dabb75084 100644 --- a/sc/qa/unit/ucalc_formula.cxx +++ b/sc/qa/unit/ucalc_formula.cxx @@ -4621,11 +4621,11 @@ void Test::testFuncINDIRECT() void Test::testFuncINDIRECT2() { CPPUNIT_ASSERT_MESSAGE ("failed to insert sheet", - m_pDoc->InsertTab (0, OUString("foo"))); + m_pDoc->InsertTab (0, "foo")); CPPUNIT_ASSERT_MESSAGE ("failed to insert sheet", - m_pDoc->InsertTab (1, OUString("bar"))); + m_pDoc->InsertTab (1, "bar")); CPPUNIT_ASSERT_MESSAGE ("failed to insert sheet", - m_pDoc->InsertTab (2, OUString("baz"))); + m_pDoc->InsertTab (2, "baz")); ScAddress aStart; ScAddress aEnd; diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx index 22dc48981a9d..a3d36ea435de 100644 --- a/sc/source/filter/html/htmlexp.cxx +++ b/sc/source/filter/html/htmlexp.cxx @@ -865,7 +865,7 @@ void ScHTMLExport::WriteTables() } if ( bAll ) - OUT_COMMENT( OUString("**************************************************************************") ); + OUT_COMMENT( "**************************************************************************" ); } } |