vcl/osx/salframeview.mm | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit d4455202a5464a7395c961e08157ff418c04eccb
Author: Tor Lillqvist <[email protected]>
Date: Tue Feb 4 14:00:54 2014 +0100
Add informative comment
Change-Id: Ic8e56294a0f7527feac71516047b82e71ae0d50c
diff --git a/vcl/osx/salframeview.mm b/vcl/osx/salframeview.mm
index f599575..3fc5124 100644
--- a/vcl/osx/salframeview.mm
+++ b/vcl/osx/salframeview.mm
@@ -1742,6 +1742,8 @@ private:
-(NSView*)viewElementForParent
{
+ // Interestingly enough, despite being declared as returning a NSView*,
what this method actually
+ // does return is a NSWindow*, and that is what the caller expects. Go
figure.
return (NSView*) mpFrame->getNSWindow();
}
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits