summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 12:32:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 12:32:35 +0100
commitdec34f5421fd4324a395978cdb87d2cb46c66007 (patch)
tree74709fba3295be18369965be022446c764809963 /sc
parentf5a3a6e0e641bd0b7fd782fba2d7237ba917db6a (diff)
loplugin:stringconstant: elide explicit ctor usage (manually due to macros)
Change-Id: I3aa16846a9d26cca60db32bd3b6de9fec8b456c1
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/ucalc_formula.cxx6
-rw-r--r--sc/source/filter/html/htmlexp.cxx2
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( "**************************************************************************" );
}
}