diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-09-24 14:34:43 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-09-24 16:19:02 +0000 |
commit | ff6462e6307e6924dc6c8178043ae9032f4b4152 (patch) | |
tree | e2e4256fcb311b06a2c7aa43c8a4ef6991b8e4fd | |
parent | 32193abe8ff1dfec2b95e152d0c421af48bd1b84 (diff) |
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@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r-- | include/svx/dlgutil.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/dlgutil.hxx b/include/svx/dlgutil.hxx index 8303b531b2a5..c60fd93ca35f 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 |