summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-10 08:10:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-10 08:10:08 +0100
commit931b1fb6959dcdd6b37311a5eb07dedd7e5a26d7 (patch)
tree0d3ccb589c146c1f6eb1097b3ca3703833dd334e /sw/qa
parentc4de235ad38cd648c82c98235016f186eb594a32 (diff)
New loplugin:conststringvar: sw
Change-Id: I8c2dcd34668f9f2e4bea70ea86ff57fd7b923c34
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/extras/tiledrendering/tiledrendering.cxx2
-rw-r--r--sw/qa/extras/uiwriter/uiwriter.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx b/sw/qa/extras/tiledrendering/tiledrendering.cxx
index de335e8f612d..ae2ebe72f1d8 100644
--- a/sw/qa/extras/tiledrendering/tiledrendering.cxx
+++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx
@@ -32,7 +32,7 @@
#include <sfx2/viewsh.hxx>
#include <sfx2/lokhelper.hxx>
-static const char* DATA_DIRECTORY = "/sw/qa/extras/tiledrendering/data/";
+static const char* const DATA_DIRECTORY = "/sw/qa/extras/tiledrendering/data/";
/// Testsuite for the SwXTextDocument methods implementing the vcl::ITiledRenderable interface.
class SwTiledRenderingTest : public SwModelTestBase
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index 229cc3e78d8c..5b428f645063 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -98,7 +98,7 @@
#include <comphelper/configurationhelper.hxx>
#include <config_features.h>
-static const char* DATA_DIRECTORY = "/sw/qa/extras/uiwriter/data/";
+static const char* const DATA_DIRECTORY = "/sw/qa/extras/uiwriter/data/";
class SwUiWriterTest : public SwModelTestBase
{