From 8261ba5d76bfa28e3170e29e940dc85c4b3a4f2d Mon Sep 17 00:00:00 2001
From: Caolán McNamara <caolanm@redhat.com>
Date: Tue, 1 Sep 2020 17:05:02 +0100
Subject: use VCL_TOOLBOX_STYLE_FLAT directly instead of a define with the same
 value
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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>
---
 svtools/source/config/miscopt.cxx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'svtools')

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 );
-- 
cgit