summaryrefslogtreecommitdiff
path: root/vcl/osx/DragSource.cxx
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 /vcl/osx/DragSource.cxx
parentaa4d195143fec01fba5c0a0f41950f1cbddbc9bd (diff)
loplugin:nullptr (automatic rewrite; Mac-specific code)
Change-Id: I90a955eb3e485723bb81e7164edcf60f7b0e94c7
Diffstat (limited to 'vcl/osx/DragSource.cxx')
-rw-r--r--vcl/osx/DragSource.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/osx/DragSource.cxx b/vcl/osx/DragSource.cxx
index bc3ee9700284..c72b4bcaa2d0 100644
--- a/vcl/osx/DragSource.cxx
+++ b/vcl/osx/DragSource.cxx
@@ -143,8 +143,8 @@ Sequence<OUString> dragSource_getSupportedServiceNames()
DragSource::DragSource():
WeakComponentImplHelper<XDragSource, XInitialization, XServiceInfo>(m_aMutex),
- mView(NULL),
- mpFrame(NULL),
+ mView(nullptr),
+ mpFrame(nullptr),
mLastMouseEventBeforeStartDrag(nil),
m_MouseButton(0)
{
@@ -231,7 +231,7 @@ void SAL_CALL DragSource::startDrag(const DragGestureEvent& trigger,
m_MouseButton= mMouseEvent.Buttons;
mXDragSrcListener = listener;
mXCurrentContext = static_cast<XDragSourceContext*>(new DragSourceContext);
- rtl::Reference<AquaClipboard> clipb(new AquaClipboard(NULL, false));
+ rtl::Reference<AquaClipboard> clipb(new AquaClipboard(nullptr, false));
g_XTransferable = transferable;
clipb->setContents(g_XTransferable, uno::Reference<XClipboardOwner>());
mDragSourceActions = sourceActions;