summaryrefslogtreecommitdiff
path: root/include/vcl/sysdata.hxx
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2013-12-02 16:06:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-12-05 10:36:14 +0000
commit461e0f9eaf9895ecd0eba67b35a4d2cec8a5e5c5 (patch)
tree699e319ec551d6f70786f6806b9abb0743911fa3 /include/vcl/sysdata.hxx
parent78ed89cebb2a8eaa9e9c480a92426c0070f4d3b6 (diff)
Resolves: #i123795# variable names should not confuse vcl...
Window and cocoa NSWindow types VCL's Window type and Cocoa's NSWindow type are quite different. Naming variables as if they were the same introduces gratuitous complexity especially when debugging stacks where both types are used. The names of NSView type variables have been adjusted too. (cherry picked from commit 5e6120c21a979c05bc6b9297035e31a47b98b785) Conflicts: vcl/aqua/source/app/vclnsapp.mm vcl/aqua/source/gdi/salgdi.cxx vcl/aqua/source/gdi/salgdiutils.cxx vcl/aqua/source/window/salframe.cxx vcl/aqua/source/window/salobj.cxx vcl/inc/vcl/sysdata.hxx vcl/source/window/syschild.cxx vcl/source/window/window.cxx Change-Id: Ic4143dfddfa9502a529c871ac4ce0bea413b6ce9
Diffstat (limited to 'include/vcl/sysdata.hxx')
-rw-r--r--include/vcl/sysdata.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/sysdata.hxx b/include/vcl/sysdata.hxx
index 58f3830f8d34..100854bc5a15 100644
--- a/include/vcl/sysdata.hxx
+++ b/include/vcl/sysdata.hxx
@@ -61,7 +61,7 @@ struct SystemEnvData
#if defined( WNT )
HWND hWnd; // the window hwnd
#elif defined( MACOSX )
- NSView* pView; // the cocoa (NSView *) implementing this object
+ NSView* mpNSView; // the cocoa (NSView *) implementing this object
#elif defined( ANDROID )
// Nothing
#elif defined( IOS )