include/svx/dlgutil.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit ff6462e6307e6924dc6c8178043ae9032f4b4152 Author: Noel Grandin <[email protected]> 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 <[email protected]> Reviewed-by: Noel Grandin <[email protected]> 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
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
