summaryrefslogtreecommitdiff
path: root/chart2/qa/extras/chart2export.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/qa/extras/chart2export.cxx')
-rw-r--r--chart2/qa/extras/chart2export.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/qa/extras/chart2export.cxx b/chart2/qa/extras/chart2export.cxx
index c6efff2eaaa0..b07e98661574 100644
--- a/chart2/qa/extras/chart2export.cxx
+++ b/chart2/qa/extras/chart2export.cxx
@@ -268,7 +268,7 @@ xmlDocPtr Chart2ExportTest::parseExport(const OUString& rDir, const OUString& rF
void Chart2ExportTest::registerNamespaces(xmlXPathContextPtr& pXmlXPathCtx)
{
- struct { char const * pPrefix; char const * pURI; } aNamespaces[] =
+ static struct { char const * pPrefix; char const * pURI; } const aNamespaces[] =
{
{ "w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main" },
{ "v", "urn:schemas-microsoft-com:vml" },
@@ -895,7 +895,7 @@ void Chart2ExportTest::testDataLabelBordersDOCX()
CPPUNIT_ASSERT_EQUAL(sal_Int32(2), aIndices[1]);
*/
- const Check aDataPoints[] =
+ static const Check aDataPoints[] =
{
{ 0, css::drawing::LineStyle_SOLID, 0x00FFFF00 }, // solid yellow
{ 2, css::drawing::LineStyle_SOLID, 0x00FF0000 } // solid red