summaryrefslogtreecommitdiff
path: root/sd/qa/unit/import-tests.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-18 09:32:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-18 11:40:14 +0200
commitd6da34186866aa5b373cb7ca6d22f67b36aea43c (patch)
treecd979e44a838412a21d16d88845eb84bf147ce57 /sd/qa/unit/import-tests.cxx
parent9b0e098a785165cd9ec28c60505b60e62c3e59dc (diff)
loplugin:staticvar in sd
Change-Id: I2a0b7e70db0d244627a462a5da5de7eeba8db940 Reviewed-on: https://gerrit.libreoffice.org/61907 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/qa/unit/import-tests.cxx')
-rw-r--r--sd/qa/unit/import-tests.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx
index cff2292aaca0..9dc6226b36d5 100644
--- a/sd/qa/unit/import-tests.cxx
+++ b/sd/qa/unit/import-tests.cxx
@@ -317,7 +317,7 @@ the test, and re-running; it should break.
*/
void SdImportTest::testDocumentLayout()
{
- struct { const char *pInput, *pDump; sal_Int32 nFormat; sal_Int32 nExportType; } aFilesToCompare[] =
+ static const struct { const char *pInput, *pDump; sal_Int32 nFormat; sal_Int32 nExportType; } aFilesToCompare[] =
{
{ "odp/shapes-test.odp", "xml/shapes-test_page", ODP, -1 },
{ "fdo47434.pptx", "xml/fdo47434_", PPTX, -1 },