summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-02-04 14:00:54 +0100
committerTor Lillqvist <tml@collabora.com>2014-02-05 10:04:27 +0200
commitd4455202a5464a7395c961e08157ff418c04eccb (patch)
tree1a7c28e1f09d29b9cbe7d8883fcbd91fe23453af /vcl/osx
parentfb4e16c90e01aded8998ee9da50b394efc2e8fd4 (diff)
Add informative comment
Change-Id: Ic8e56294a0f7527feac71516047b82e71ae0d50c
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/salframeview.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/osx/salframeview.mm b/vcl/osx/salframeview.mm
index f599575447c8..3fc51245ec54 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();
}