svtools/source/config/miscopt.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 8261ba5d76bfa28e3170e29e940dc85c4b3a4f2d
Author:     Caolán McNamara <[email protected]>
AuthorDate: Tue Sep 1 17:05:02 2020 +0100
Commit:     Caolán McNamara <[email protected]>
CommitDate: Wed Sep 2 13:51:05 2020 +0200

    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 <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>

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 );
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to