diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-12 15:51:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-13 12:56:39 +0200 |
commit | 0302c9b192c3b7ba10daabed61d6864c24c14070 (patch) | |
tree | 4c17a2ff761e0513620704bd3ecceff4107d17cc /xmloff/source/table | |
parent | ecf987682881258774f4ec1644474beae3366abe (diff) |
loplugin:constfields in xmloff
Change-Id: I9623e6b483b28f5b50a2c76016bcc319b375a35a
Reviewed-on: https://gerrit.libreoffice.org/60394
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/table')
-rw-r--r-- | xmloff/source/table/XMLTableImport.cxx | 8 | ||||
-rw-r--r-- | xmloff/source/table/table.hxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/source/table/XMLTableImport.cxx b/xmloff/source/table/XMLTableImport.cxx index 3bb1b4b35660..b3c20b5bc7b3 100644 --- a/xmloff/source/table/XMLTableImport.cxx +++ b/xmloff/source/table/XMLTableImport.cxx @@ -79,10 +79,10 @@ private: struct MergeInfo { - sal_Int32 mnStartColumn; - sal_Int32 mnStartRow; - sal_Int32 mnEndColumn; - sal_Int32 mnEndRow; + sal_Int32 const mnStartColumn; + sal_Int32 const mnStartRow; + sal_Int32 const mnEndColumn; + sal_Int32 const mnEndRow; MergeInfo( sal_Int32 nStartColumn, sal_Int32 nStartRow, sal_Int32 nColumnSpan, sal_Int32 nRowSpan ) : mnStartColumn( nStartColumn ), mnStartRow( nStartRow ), mnEndColumn( nStartColumn + nColumnSpan - 1 ), mnEndRow( nStartRow + nRowSpan - 1 ) {}; diff --git a/xmloff/source/table/table.hxx b/xmloff/source/table/table.hxx index 2eddd38d5b83..79a4779e56ba 100644 --- a/xmloff/source/table/table.hxx +++ b/xmloff/source/table/table.hxx @@ -26,7 +26,7 @@ struct XMLPropertyMapEntry; struct TableStyleElement { - ::xmloff::token::XMLTokenEnum meElement; + ::xmloff::token::XMLTokenEnum const meElement; OUString msStyleName; }; |