[Libreoffice-commits] core.git: include/postx.h

Jorenz Paragas j.paragas.237 at gmail.com
Fri Jan 29 23:46:17 PST 2016


 include/postx.h |   10 ----------
 1 file changed, 10 deletions(-)

New commits:
commit 0d65526d397aff9bff367060f19f19476de748c2
Author: Jorenz Paragas <j.paragas.237 at gmail.com>
Date:   Thu Jan 28 21:29:41 2016 -0800

    tdf#82577: Remove remaining #undefs in postx.h
    
    Printer, Orientation, GetToken, and ReleaseToken aren't names of
    X11 types or macros, and the X11 headers that are included throughout
    vcl don't introduce definitions for Min, Max, or Success.
    
    For now, the closing curly brace remains there in order to match with
    prex.h's opening brace.
    
    Change-Id: Id3918204a9328d99a31016ab29b2761ebc4f47db
    Reviewed-on: https://gerrit.libreoffice.org/21890
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: jan iversen <jani at documentfoundation.org>
    Tested-by: jan iversen <jani at documentfoundation.org>

diff --git a/include/postx.h b/include/postx.h
index 797179a..f132a4d 100644
--- a/include/postx.h
+++ b/include/postx.h
@@ -24,16 +24,6 @@
 }
 #endif
 
-#undef Min
-#undef Max
-#undef Success
-
-#undef Printer
-#undef Orientation
-
-#undef GetToken
-#undef ReleaseToken
-
 #endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list