[Libreoffice-commits] core.git: vcl/osx

Douglas Mencken dougmencken at gmail.com
Wed Dec 31 21:39:47 PST 2014


 vcl/osx/a11ywrapper.mm |   11 -----------
 1 file changed, 11 deletions(-)

New commits:
commit 2315a43bdf3707ac978802a36a4019d4f48ce0a6
Author: Douglas Mencken <dougmencken at gmail.com>
Date:   Wed Dec 24 09:52:38 2014 -0500

    get rid of obsolete code for 32-bit targets
    
    fixes vcl/osx/a11ywrapper.mm:1037: error: ambiguous overload for
    'operator<<' (operand types are 'std::basic_ostream<char>' and 'CGPoint')
    
    Change-Id: Iabf9a1e795c9fe89ff5d6ff379aa6a18dd7dbf65

diff --git a/vcl/osx/a11ywrapper.mm b/vcl/osx/a11ywrapper.mm
index 2ef107e..c50f4c1 100644
--- a/vcl/osx/a11ywrapper.mm
+++ b/vcl/osx/a11ywrapper.mm
@@ -62,17 +62,6 @@ static std::ostream &operator<<(std::ostream &s, NSObject *obj) {
     return s << [[obj description] UTF8String];
 }
 
-#ifndef _LP64
-
-// In 64-bit code NSPoint == CGPoint, and CGPoint already has
-// an operator<< in vcl/inc/quartz/util.h
-
-static std::ostream &operator<<(std::ostream &s, NSPoint point) {
-    return s << NSStringFromPoint(point);
-}
-
-#endif
-
 @implementation AquaA11yWrapper : NSView
 
 #pragma mark -


More information about the Libreoffice-commits mailing list