diff options
author | Noel Grandin <noel@peralex.com> | 2013-06-04 17:16:58 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-06-05 08:13:23 +0200 |
commit | 95c0d568fdcd0da939c891d861bb470b28079170 (patch) | |
tree | ca4e4108178ec1176fd1a976df6f31a08d590210 /vcl/aqua/source | |
parent | a1afcae81ca3c4b6bb240263b3259090d48c7715 (diff) |
use uno::Reference#clear() method...
...instead of assigning an empty value. Reduces code noise.
Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
Diffstat (limited to 'vcl/aqua/source')
-rw-r--r-- | vcl/aqua/source/dtrans/aqua_clipboard.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/aqua/source/dtrans/aqua_clipboard.cxx b/vcl/aqua/source/dtrans/aqua_clipboard.cxx index 383c7488aa2f..ce1462612edb 100644 --- a/vcl/aqua/source/dtrans/aqua_clipboard.cxx +++ b/vcl/aqua/source/dtrans/aqua_clipboard.cxx @@ -247,10 +247,10 @@ void AquaClipboard::applicationDidBecomeActive(NSNotification*) // notification to the old clipboard owner as well as // ClipboardChanged notification to any clipboard listener Reference<XClipboardOwner> oldOwner(mXClipboardOwner); - mXClipboardOwner = Reference<XClipboardOwner>(); + mXClipboardOwner.clear(); Reference<XTransferable> oldContent(mXClipboardContent); - mXClipboardContent = Reference<XTransferable>(); + mXClipboardContent.clear(); aGuard.clear(); |