summaryrefslogtreecommitdiff
path: root/svl/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-19 13:04:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-22 07:55:32 +0200
commit7ea01578eed8459678369d0256de016930b3af40 (patch)
tree2b7f8c57f4693284ad7aad806b73b1994ac27838 /svl/qa
parent8274c4c62df5b937b3f0bec9e1eeca85f3b219d4 (diff)
loplugin:staticvar in soltools..svx
Change-Id: Ie9f36eb0e00aaee34a27f136ed903f8f87e52dcc Reviewed-on: https://gerrit.libreoffice.org/61916 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/qa')
-rw-r--r--svl/qa/unit/svl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx
index 40afffa3e09a..b41ed0a519a9 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -1098,11 +1098,11 @@ void Test::testIsNumberFormat()
LanguageType eLang = LANGUAGE_ENGLISH_US;
SvNumberFormatter aFormatter(m_xContext, eLang);
- struct NumberFormatData
+ static struct NumberFormatData
{
const char* pFormat;
bool const bIsNumber;
- } aTests[] = {
+ } const aTests[] = {
{ "20.3", true },
{ "2", true },
{ "test", false },