summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-11 11:26:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-11 11:26:38 +0100
commite838e360ff3cac7e22b8e010c03b4f9124764843 (patch)
tree0eccd9ae51468794edc5df5f09da02480748bd00 /sdext
parent15e1a0bb4a8813aea57495dc25bc716c17c571a5 (diff)
Some loplugin:conststringvar/stringconstant improvements: sdext
Change-Id: I47884eeb14a67b7e260835b8603d7b76c7ec018b
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/test/tests.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/test/tests.cxx b/sdext/source/pdfimport/test/tests.cxx
index f651ff81b85a..9e4437e6d8cd 100644
--- a/sdext/source/pdfimport/test/tests.cxx
+++ b/sdext/source/pdfimport/test/tests.cxx
@@ -95,7 +95,7 @@ namespace
rtl::math::approxEqual(m_aHyperlinkBounds.Y2,406.2) );
CPPUNIT_ASSERT_EQUAL_MESSAGE( "Correct hyperlink URI", OUString("http://download.openoffice.org/"), m_aURI );
- const char* sText = " \n \nThis is a testtext\nNew paragraph,\nnew line\n"
+ const char* const sText = " \n \nThis is a testtext\nNew paragraph,\nnew line\n"
"Hyperlink, this is\n?\nThis is more text\noutline mode\n?\nNew paragraph\n";
OString aTmp;
m_aTextOut.makeStringAndClear().convertToString( &aTmp,