diff options
Diffstat (limited to 'sd/source/ui/slidesorter/controller/SlsTransferableData.cxx')
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsTransferableData.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsTransferableData.cxx b/sd/source/ui/slidesorter/controller/SlsTransferableData.cxx index a5c9a41eea98..8d0aa3ab17ba 100644 --- a/sd/source/ui/slidesorter/controller/SlsTransferableData.cxx +++ b/sd/source/ui/slidesorter/controller/SlsTransferableData.cxx @@ -58,13 +58,13 @@ TransferableData::TransferableData ( : mpViewShell(pViewShell), maRepresentatives(rRepresentatives) { - if (mpViewShell != NULL) + if (mpViewShell != nullptr) StartListening(*mpViewShell); } TransferableData::~TransferableData() { - if (mpViewShell != NULL) + if (mpViewShell != nullptr) EndListening(*mpViewShell); } @@ -80,7 +80,7 @@ void TransferableData::Notify (SfxBroadcaster&, const SfxHint& rHint) // which but both are sufficient to disconnect from the // ViewShell. EndListening(*mpViewShell); - mpViewShell = NULL; + mpViewShell = nullptr; } } } |