openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1461043 - /openoffice/trunk/main/vcl/aqua/source/window/salframeview.mm
Date Tue, 26 Mar 2013 09:58:57 GMT
Author: hdu
Date: Tue Mar 26 09:58:57 2013
New Revision: 1461043

URL: http://svn.apache.org/r1461043
Log:
#i119006# NSObject's performSelector:withObject expects a NSNumber argument

Modified:
    openoffice/trunk/main/vcl/aqua/source/window/salframeview.mm

Modified: openoffice/trunk/main/vcl/aqua/source/window/salframeview.mm
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/aqua/source/window/salframeview.mm?rev=1461043&r1=1461042&r2=1461043&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/aqua/source/window/salframeview.mm (original)
+++ openoffice/trunk/main/vcl/aqua/source/window/salframeview.mm Tue Mar 26 09:58:57 2013
@@ -175,8 +175,10 @@ static AquaSalFrame* getMouseContainerFr
 
     // disable OSX>=10.7 window restoration until we support it directly
     const SEL setRestorable = @selector(setRestorable:);
-    if( [pNSWindow respondsToSelector: setRestorable])
-        [pNSWindow performSelector:setRestorable withObject:NO];
+    if( [pNSWindow respondsToSelector: setRestorable]) {
+        NSNumber* bNO = [NSNumber numberWithBool:NO];
+        [pNSWindow performSelector:setRestorable withObject:bNO];
+    }
 
     return pNSWindow;
 }



Mime
View raw message