From a3d0091d185f39eddabf4d372ebe0ac3061dbb89 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 23 Dec 2020 13:16:31 +0100 Subject: New loplugin:stringliteralvar See the comment at the top of compilerplugins/clang/stringliteralvar.cxx for details. (Turned some affected variables in included files into inline variables, to avoid GCC warnings about unused variables.) Change-Id: Ie77219e6adfdaaceaa8b4e590b08971f2f04c83a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108239 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sc/qa/unit/tiledrendering/tiledrendering.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/qa/unit/tiledrendering/tiledrendering.cxx') diff --git a/sc/qa/unit/tiledrendering/tiledrendering.cxx b/sc/qa/unit/tiledrendering/tiledrendering.cxx index 2cf0bb5821e9..7d4dc617b1ef 100644 --- a/sc/qa/unit/tiledrendering/tiledrendering.cxx +++ b/sc/qa/unit/tiledrendering/tiledrendering.cxx @@ -56,7 +56,7 @@ static std::ostream& operator<<(std::ostream& os, ViewShellId const & id) namespace { -char const DATA_DIRECTORY[] = "/sc/qa/unit/tiledrendering/data/"; +OUStringLiteral const DATA_DIRECTORY = u"/sc/qa/unit/tiledrendering/data/"; class ScTiledRenderingTest : public test::BootstrapFixture, public unotest::MacrosTest, public XmlTestTools { -- cgit