[Libreoffice-commits] core.git: include/svx

Noel Grandin noelgrandin at gmail.com
Thu Sep 24 09:19:33 PDT 2015


 include/svx/dlgutil.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ff6462e6307e6924dc6c8178043ae9032f4b4152
Author: Noel Grandin <noelgrandin at gmail.com>
Date:   Thu Sep 24 14:34:43 2015 +0200

    avoid unused variable warning:
    
    ‘OUTPUT_DRAWMODE_CONTRAST’ defined but not used [-Wunused-variable]
    with GCC 5.1.1
    
    Change-Id: I98c7b8f1ff52c7efd81d1490f848092da6173df8
    Reviewed-on: https://gerrit.libreoffice.org/18826
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/include/svx/dlgutil.hxx b/include/svx/dlgutil.hxx
index 8303b53..c60fd93 100644
--- a/include/svx/dlgutil.hxx
+++ b/include/svx/dlgutil.hxx
@@ -33,8 +33,8 @@ SVX_DLLPUBLIC FieldUnit GetModuleFieldUnit( const SfxItemSet& );
 SVX_DLLPUBLIC FieldUnit GetModuleFieldUnit();
 SVX_DLLPUBLIC bool GetApplyCharUnit( const SfxItemSet& );
 
-static const DrawModeFlags OUTPUT_DRAWMODE_COLOR  = DrawModeFlags::Default;
-static const DrawModeFlags OUTPUT_DRAWMODE_CONTRAST = DrawModeFlags::SettingsLine | DrawModeFlags::SettingsFill | DrawModeFlags::SettingsText | DrawModeFlags::SettingsGradient;
+#define OUTPUT_DRAWMODE_COLOR    DrawModeFlags::Default
+#define OUTPUT_DRAWMODE_CONTRAST (DrawModeFlags::SettingsLine | DrawModeFlags::SettingsFill | DrawModeFlags::SettingsText | DrawModeFlags::SettingsGradient)
 
 #endif
 


More information about the Libreoffice-commits mailing list