summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 16:20:12 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 16:20:39 +0100
commitd1775349e4ea619aa7b634bcd7161374107038a1 (patch)
tree300c60723c49ec7601f6ac886f37805b5afa0a6a /include
parentaa4d195143fec01fba5c0a0f41950f1cbddbc9bd (diff)
loplugin:nullptr (automatic rewrite; Mac-specific code)
Change-Id: I90a955eb3e485723bb81e7164edcf60f7b0e94c7
Diffstat (limited to 'include')
-rw-r--r--include/vcl/menu.hxx2
-rw-r--r--include/vcl/sysdata.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx
index ab59cf4d6f86..f065e7b6ebc4 100644
--- a/include/vcl/menu.hxx
+++ b/include/vcl/menu.hxx
@@ -218,7 +218,7 @@ public:
SAL_DLLPRIVATE vcl::Window* ImplGetWindow() const { return pWindow; }
#if defined(MACOSX)
- void ImplSelectWithStart( Menu* pStartMenu = NULL );
+ void ImplSelectWithStart( Menu* pStartMenu = nullptr );
#endif
protected:
diff --git a/include/vcl/sysdata.hxx b/include/vcl/sysdata.hxx
index 226db49b6169..2c50797c7b68 100644
--- a/include/vcl/sysdata.hxx
+++ b/include/vcl/sysdata.hxx
@@ -79,7 +79,7 @@ struct SystemEnvData
#if defined( WNT )
, hWnd(0)
#elif defined( MACOSX )
- , mpNSView(NULL)
+ , mpNSView(nullptr)
, mbOpenGL(false)
#elif defined( ANDROID )
#elif defined( IOS )
@@ -161,7 +161,7 @@ struct SystemGraphicsData
, hDC( 0 )
, hWnd( 0 )
#elif defined( MACOSX )
- , rCGContext( NULL )
+ , rCGContext( nullptr )
#elif defined( ANDROID )
// Nothing
#elif defined( IOS )