summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAshod Nakashian <ashodnakashian@yahoo.com>2015-11-18 07:49:58 -0500
committerMichael Stahl <mstahl@redhat.com>2015-12-04 11:26:22 +0000
commita027ed9573858f3ec6361577ff541d7f2495bd32 (patch)
tree2cb6864e2b27f22af72d3d491e40e8f21d23699a /sc
parent9e2973dbb90b5d9ce004cbf333f5000e4d50dc18 (diff)
Wingdi RGB macro handling improved
Improved the isolation of windows headers. Specifically, RGB macro is better handled now. Change-Id: I0eeea16d0de9da3455810c80b0715f7b54ae8c3f Reviewed-on: https://gerrit.libreoffice.org/20039 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/ucalc_formula.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index 69b46bb85b22..b5eafc24cc80 100644
--- a/sc/qa/unit/ucalc_formula.cxx
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -29,6 +29,9 @@
#include <docpool.hxx>
#include <formula/vectortoken.hxx>
+
+// RGB is leaked macro from wingdi.h which conflicts in Office/Common.hxx.
+#undef RGB
#include <officecfg/Office/Common.hxx>
#include <svl/broadcast.hxx>