diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-22 10:03:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-22 14:53:01 +0200 |
commit | c76e30707e08705a90bbfc089975b0cafd84dc8a (patch) | |
tree | 000536a662a08b0eebc2f65c632ba60e5f5d6086 /svtools/source/config/miscopt.cxx | |
parent | 0e8e1c1881f3f00c76aa47aa1652f4cec343c256 (diff) |
loplugin:constmethod in svtools
Change-Id: I24e2a5844f24b9a3c973e064dad832573339dc7b
Reviewed-on: https://gerrit.libreoffice.org/77946
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/config/miscopt.cxx')
-rw-r--r-- | svtools/source/config/miscopt.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx index 4328e3b8bc65..f3e4dab7b844 100644 --- a/svtools/source/config/miscopt.cxx +++ b/svtools/source/config/miscopt.cxx @@ -154,13 +154,13 @@ public: bool IsPluginsEnabled() const { return m_bPluginsEnabled; } - sal_Int16 GetSymbolsSize() + sal_Int16 GetSymbolsSize() const { return m_nSymbolsSize; } - ToolBoxButtonSize GetSidebarIconSize() + ToolBoxButtonSize GetSidebarIconSize() const { return m_nSidebarIconSize; } - ToolBoxButtonSize GetNotebookbarIconSize() + ToolBoxButtonSize GetNotebookbarIconSize() const { return m_nNotebookbarIconSize; } void SetSymbolsSize( sal_Int16 nSet ); @@ -192,7 +192,7 @@ public: {return m_bIconThemeWasSetAutomatically;} // translate to VCL settings ( "0" = 3D, "1" = FLAT ) - sal_Int16 GetToolboxStyle() + sal_Int16 GetToolboxStyle() const { return m_nToolboxStyle ? VCL_TOOLBOX_STYLE_FLAT : 0; } // translate from VCL settings |