diff options
Diffstat (limited to 'vcl/unx/generic/dtrans/X11_clipboard.cxx')
-rw-r--r-- | vcl/unx/generic/dtrans/X11_clipboard.cxx | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/vcl/unx/generic/dtrans/X11_clipboard.cxx b/vcl/unx/generic/dtrans/X11_clipboard.cxx index 2e2cc9071eb8..4e6b953e1728 100644 --- a/vcl/unx/generic/dtrans/X11_clipboard.cxx +++ b/vcl/unx/generic/dtrans/X11_clipboard.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include <X11/Xatom.h> #include <X11_clipboard.hxx> #include <X11_transferable.hxx> @@ -45,7 +44,6 @@ using namespace cppu; using namespace osl; using namespace x11; - X11Clipboard::X11Clipboard( SelectionManager& rManager, Atom aSelection ) : ::cppu::WeakComponentImplHelper2< ::com::sun::star::datatransfer::clipboard::XSystemClipboard, @@ -71,8 +69,6 @@ X11Clipboard::X11Clipboard( SelectionManager& rManager, Atom aSelection ) : } } - - X11Clipboard::~X11Clipboard() { MutexGuard aGuard( *Mutex::getGlobalMutex() ); @@ -89,9 +85,6 @@ X11Clipboard::~X11Clipboard() } } - - - void X11Clipboard::fireChangedContentsEvent() { ClearableMutexGuard aGuard( m_rSelectionManager.getMutex() ); @@ -111,8 +104,6 @@ void X11Clipboard::fireChangedContentsEvent() } } - - void X11Clipboard::clearContents() { ClearableMutexGuard aGuard(m_rSelectionManager.getMutex()); @@ -134,8 +125,6 @@ void X11Clipboard::clearContents() xOwner->lostOwnership(xThis, m_aContents); } - - Reference< XTransferable > SAL_CALL X11Clipboard::getContents() throw(RuntimeException, std::exception) { @@ -146,8 +135,6 @@ Reference< XTransferable > SAL_CALL X11Clipboard::getContents() return m_aContents; } - - void SAL_CALL X11Clipboard::setContents( const Reference< XTransferable >& xTrans, const Reference< XClipboardOwner >& xClipboardOwner ) @@ -181,24 +168,18 @@ void SAL_CALL X11Clipboard::setContents( fireChangedContentsEvent(); } - - OUString SAL_CALL X11Clipboard::getName() throw(RuntimeException, std::exception) { return m_rSelectionManager.getString( m_aSelection ); } - - sal_Int8 SAL_CALL X11Clipboard::getRenderingCapabilities() throw(RuntimeException, std::exception) { return RenderingCapabilities::Delayed; } - - void SAL_CALL X11Clipboard::addClipboardListener( const Reference< XClipboardListener >& listener ) throw(RuntimeException, std::exception) { @@ -206,8 +187,6 @@ void SAL_CALL X11Clipboard::addClipboardListener( const Reference< XClipboardLis m_aListeners.push_back( listener ); } - - void SAL_CALL X11Clipboard::removeClipboardListener( const Reference< XClipboardListener >& listener ) throw(RuntimeException, std::exception) { @@ -215,37 +194,26 @@ void SAL_CALL X11Clipboard::removeClipboardListener( const Reference< XClipboard m_aListeners.remove( listener ); } - - - Reference< XTransferable > X11Clipboard::getTransferable() { return getContents(); } - - void X11Clipboard::clearTransferable() { clearContents(); } - - void X11Clipboard::fireContentsChanged() { fireChangedContentsEvent(); } - - Reference< XInterface > X11Clipboard::getReference() throw() { return Reference< XInterface >( static_cast< OWeakObject* >(this) ); } - - OUString SAL_CALL X11Clipboard::getImplementationName( ) throw(RuntimeException, std::exception) { |