diff options
-rwxr-xr-x | bin/update_pch | 1 | ||||
-rw-r--r-- | connectivity/inc/pch/precompiled_ado.hxx | 1 | ||||
-rw-r--r-- | sc/qa/unit/helper/debughelper.hxx | 1 | ||||
-rw-r--r-- | sc/qa/unit/ucalc_formula.cxx | 3 | ||||
-rw-r--r-- | xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx | 1 | ||||
-rw-r--r-- | xmlsecurity/source/xmlsec/nss/nssinitializer.cxx | 4 |
6 files changed, 4 insertions, 7 deletions
diff --git a/bin/update_pch b/bin/update_pch index 47c2d15a4644..a21b0692b6d1 100755 --- a/bin/update_pch +++ b/bin/update_pch @@ -762,6 +762,7 @@ def generate(includes, libname, filename, module): // Cleanup windows header macro pollution. #ifdef WNT # include <postwin.h> +# undef RGB #endif """ f.write(ado_define) diff --git a/connectivity/inc/pch/precompiled_ado.hxx b/connectivity/inc/pch/precompiled_ado.hxx index 1f4b17ca83ad..5e7ce61533f4 100644 --- a/connectivity/inc/pch/precompiled_ado.hxx +++ b/connectivity/inc/pch/precompiled_ado.hxx @@ -72,6 +72,7 @@ // Cleanup windows header macro pollution. #ifdef WNT # include <postwin.h> +# undef RGB #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/qa/unit/helper/debughelper.hxx b/sc/qa/unit/helper/debughelper.hxx index 509f4aff72fc..0143d6e6908c 100644 --- a/sc/qa/unit/helper/debughelper.hxx +++ b/sc/qa/unit/helper/debughelper.hxx @@ -21,6 +21,7 @@ #include <prewin.h> #include <postwin.h> #undef NOMINMAX +#undef RGB #endif #include <iostream> diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx index b5eafc24cc80..69b46bb85b22 100644 --- a/sc/qa/unit/ucalc_formula.cxx +++ b/sc/qa/unit/ucalc_formula.cxx @@ -29,9 +29,6 @@ #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> diff --git a/xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx b/xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx index 4bf9b0023ca2..49dce9e75508 100644 --- a/xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx +++ b/xmlsecurity/inc/pch/precompiled_xsec_xmlsec.hxx @@ -121,6 +121,7 @@ // Cleanup windows header macro pollution. #ifdef WNT # include <postwin.h> +# undef RGB #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx index b903c38592e4..136c8d6b79d6 100644 --- a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx +++ b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx @@ -28,11 +28,7 @@ #include <com/sun/star/xml/crypto/DigestID.hpp> #include <com/sun/star/xml/crypto/CipherID.hpp> #include <cppuhelper/supportsservice.hxx> - -// RGB is leaked macro from wingdi.h which conflicts in Office/Common.hxx. -#undef RGB #include <officecfg/Office/Common.hxx> - #include <sal/types.h> #include <rtl/instance.hxx> #include <rtl/bootstrap.hxx> |