diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-09 15:43:26 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-09 15:43:26 +0100 |
commit | a109caf3e2d92f62968998a750acfe8a4d07115f (patch) | |
tree | cecf331a80b4f542e4a94cf075578e726c19cef4 /framework | |
parent | e5cc0021654fde80e19c419242b64f2f88ac75d9 (diff) |
New loplugin:externvar: framework
Change-Id: Idcc4e0bb8065d7a9b30d38463470a67b1921c6cb
Diffstat (limited to 'framework')
4 files changed, 5 insertions, 5 deletions
diff --git a/framework/source/fwe/xml/menudocumenthandler.cxx b/framework/source/fwe/xml/menudocumenthandler.cxx index 27333374ffb9..759244db6c54 100644 --- a/framework/source/fwe/xml/menudocumenthandler.cxx +++ b/framework/source/fwe/xml/menudocumenthandler.cxx @@ -103,7 +103,7 @@ const MenuStyleItem MenuItemStyles[ ] = { { css::ui::ItemStyle::RADIO_CHECK, ATTRIBUTE_ITEMSTYLE_RADIO } }; -sal_Int32 nMenuStyleItemEntries = SAL_N_ELEMENTS(MenuItemStyles); +sal_Int32 const nMenuStyleItemEntries = SAL_N_ELEMENTS(MenuItemStyles); static void ExtractMenuParameters( const Sequence< PropertyValue >& rProp, OUString& rCommandURL, diff --git a/framework/source/fwe/xml/statusbardocumenthandler.cxx b/framework/source/fwe/xml/statusbardocumenthandler.cxx index 16af93121295..4d7e66a06ca8 100644 --- a/framework/source/fwe/xml/statusbardocumenthandler.cxx +++ b/framework/source/fwe/xml/statusbardocumenthandler.cxx @@ -128,7 +128,7 @@ struct StatusBarEntryProperty char aEntryName[20]; }; -StatusBarEntryProperty StatusBarEntries[OReadStatusBarDocumentHandler::SB_XML_ENTRY_COUNT] = +StatusBarEntryProperty const StatusBarEntries[OReadStatusBarDocumentHandler::SB_XML_ENTRY_COUNT] = { { OReadStatusBarDocumentHandler::SB_NS_STATUSBAR, ELEMENT_STATUSBAR }, { OReadStatusBarDocumentHandler::SB_NS_STATUSBAR, ELEMENT_STATUSBARITEM }, diff --git a/framework/source/fwe/xml/toolboxdocumenthandler.cxx b/framework/source/fwe/xml/toolboxdocumenthandler.cxx index c8c550b08704..e31da549bfe8 100644 --- a/framework/source/fwe/xml/toolboxdocumenthandler.cxx +++ b/framework/source/fwe/xml/toolboxdocumenthandler.cxx @@ -99,7 +99,7 @@ const ToolboxStyleItem Styles[ ] = { { css::ui::ItemStyle::TEXT, ATTRIBUTE_ITEMSTYLE_TEXT }, }; -sal_Int32 nStyleItemEntries = SAL_N_ELEMENTS(Styles); +sal_Int32 const nStyleItemEntries = SAL_N_ELEMENTS(Styles); struct ToolBarEntryProperty { @@ -107,7 +107,7 @@ struct ToolBarEntryProperty char aEntryName[20]; }; -ToolBarEntryProperty ToolBoxEntries[OReadToolBoxDocumentHandler::TB_XML_ENTRY_COUNT] = +ToolBarEntryProperty const ToolBoxEntries[OReadToolBoxDocumentHandler::TB_XML_ENTRY_COUNT] = { { OReadToolBoxDocumentHandler::TB_NS_TOOLBAR, ELEMENT_TOOLBAR }, { OReadToolBoxDocumentHandler::TB_NS_TOOLBAR, ELEMENT_TOOLBARITEM }, diff --git a/framework/source/xml/imagesdocumenthandler.cxx b/framework/source/xml/imagesdocumenthandler.cxx index 913324f8c7b1..f0b2a196e052 100644 --- a/framework/source/xml/imagesdocumenthandler.cxx +++ b/framework/source/xml/imagesdocumenthandler.cxx @@ -81,7 +81,7 @@ struct ImageXMLEntryProperty char aEntryName[20]; }; -ImageXMLEntryProperty ImagesEntries[OReadImagesDocumentHandler::IMG_XML_ENTRY_COUNT] = +ImageXMLEntryProperty const ImagesEntries[OReadImagesDocumentHandler::IMG_XML_ENTRY_COUNT] = { { OReadImagesDocumentHandler::IMG_NS_IMAGE, ELEMENT_IMAGECONTAINER }, { OReadImagesDocumentHandler::IMG_NS_IMAGE, ELEMENT_IMAGES }, |