summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-01 17:05:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-02 13:51:05 +0200
commit8261ba5d76bfa28e3170e29e940dc85c4b3a4f2d (patch)
treebb7baf2e5b98d701c3bbdc3f22d3bf0c81c4a3cd
parent9d2c76fd0f3a53dee1e46748cacae1b1f23d91d6 (diff)
use VCL_TOOLBOX_STYLE_FLAT directly instead of a define with the same value
Change-Id: I025aafd0da19fb0382591545f3aa14e84c9c362e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101912 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--svtools/source/config/miscopt.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx
index 7e39fa9011c8..e6cb2bce00f1 100644
--- a/svtools/source/config/miscopt.cxx
+++ b/svtools/source/config/miscopt.cxx
@@ -69,8 +69,6 @@ using namespace ::com::sun::star;
#define PROPERTYNAME_NOTEBOOKBARICONSIZE "NotebookbarIconSize"
#define PROPERTYHANDLE_NOTEBOOKBARICONSIZE 11
-#define VCL_TOOLBOX_STYLE_FLAT (sal_uInt16(0x0004)) // from <vcl/toolbox.hxx>
-
class SvtMiscOptions_Impl : public ConfigItem
{
private:
@@ -192,7 +190,7 @@ public:
// translate to VCL settings ( "0" = 3D, "1" = FLAT )
sal_Int16 GetToolboxStyle() const
- { return m_nToolboxStyle ? VCL_TOOLBOX_STYLE_FLAT : 0; }
+ { return m_nToolboxStyle ? TOOLBOX_STYLE_FLAT : 0; }
// translate from VCL settings
void SetToolboxStyle( sal_Int16 nStyle );