summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-17 09:31:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-17 12:07:46 +0200
commitef5b895afe63eae029363ddb5d7960d7e34e5e35 (patch)
tree872cd53623c1c29b6b9ae5080ee92d8c4d50a307 /filter
parent48b41d73cb62dc89fc0594ccfd6fa664a460d142 (diff)
loplugin:staticvar in editeng..framework
Change-Id: I8e555a98f74f61e6e40122564b7ad19ca07a8a91 Reviewed-on: https://gerrit.libreoffice.org/61866 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r--filter/qa/cppunit/priority-test.cxx2
-rw-r--r--filter/source/msfilter/msdffimp.cxx2
-rw-r--r--filter/source/msfilter/msoleexp.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/filter/qa/cppunit/priority-test.cxx b/filter/qa/cppunit/priority-test.cxx
index 9eff49ffc2f2..cc2bf2b28ead 100644
--- a/filter/qa/cppunit/priority-test.cxx
+++ b/filter/qa/cppunit/priority-test.cxx
@@ -50,7 +50,7 @@ void PriorityFilterTest::testPriority()
static struct {
const char *pURL;
const char *pFormat;
- } aToCheck[] = {
+ } const aToCheck[] = {
{ "file:///tmp/foo.xls", "calc_MS_Excel_97" }
// TODO: expand this to check more of these priorities
};
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index ef8ab1e9e7d7..70a30e3eaa84 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -7018,7 +7018,7 @@ css::uno::Reference < css::embed::XEmbeddedObject > SvxMSDffManager::CheckForCo
sal_uInt32 n1;
sal_uInt16 n2, n3;
sal_uInt8 b8, b9, b10, b11, b12, b13, b14, b15;
- } aArr[] = {
+ } const aArr[] = {
{ OLE_MATHTYPE_2_STARMATH, "smath", MSO_EQUATION3_CLASSID },
{ OLE_MATHTYPE_2_STARMATH, "smath", MSO_EQUATION2_CLASSID },
{ OLE_WINWORD_2_STARWRITER, "swriter", MSO_WW8_CLASSID },
diff --git a/filter/source/msfilter/msoleexp.cxx b/filter/source/msfilter/msoleexp.cxx
index 43652af5f7ea..1c2ae74e39fa 100644
--- a/filter/source/msfilter/msoleexp.cxx
+++ b/filter/source/msfilter/msoleexp.cxx
@@ -136,7 +136,7 @@ void SvxMSExportOLEObjects::ExportOLEObject( svt::EmbeddedObjectRef const & rObj
sal_uInt8 b8, b9, b10, b11, b12, b13, b14, b15;
}
aGlNmIds[4];
- } aArr[] = {
+ } const aArr[] = {
{ OLE_STARMATH_2_MATHTYPE, "MathType 3.x",
{{SO3_SM_CLASSID_60}, {SO3_SM_CLASSID_50},
{SO3_SM_CLASSID_40}, {SO3_SM_CLASSID_30 }}},