diff options
Diffstat (limited to 'svtools/source/misc/transfer.cxx')
-rw-r--r-- | svtools/source/misc/transfer.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx index c271ecb78bf5..d6731047d382 100644 --- a/svtools/source/misc/transfer.cxx +++ b/svtools/source/misc/transfer.cxx @@ -1054,10 +1054,7 @@ public: TransferableClipboardNotifier( const Reference< XClipboard >& _rxClipboard, TransferableDataHelper& _rListener, ::osl::Mutex& _rMutex ); /// determines whether we're currently listening - inline bool isListening() const { return !isDisposed(); } - - /// determines whether the instance is disposed - inline bool isDisposed() const { return mpListener == nullptr; } + inline bool isListening() const { return mpListener != nullptr; } /// makes the instance non-functional void dispose(); |