diff options
Diffstat (limited to 'dtrans/source/win32/clipb')
-rw-r--r-- | dtrans/source/win32/clipb/WinClipbImpl.cxx | 18 | ||||
-rw-r--r-- | dtrans/source/win32/clipb/WinClipbImpl.hxx | 18 | ||||
-rw-r--r-- | dtrans/source/win32/clipb/WinClipboard.cxx | 2 | ||||
-rw-r--r-- | dtrans/source/win32/clipb/WinClipboard.hxx | 2 |
4 files changed, 20 insertions, 20 deletions
diff --git a/dtrans/source/win32/clipb/WinClipbImpl.cxx b/dtrans/source/win32/clipb/WinClipbImpl.cxx index c5030883900c..a3267942a050 100644 --- a/dtrans/source/win32/clipb/WinClipbImpl.cxx +++ b/dtrans/source/win32/clipb/WinClipbImpl.cxx @@ -76,7 +76,7 @@ CWinClipbImpl::~CWinClipbImpl( ) unregisterClipboardViewer( ); } -Reference< XTransferable > SAL_CALL CWinClipbImpl::getContents( ) +Reference< XTransferable > CWinClipbImpl::getContents( ) { // use the shortcut or create a transferable from // system clipboard @@ -110,7 +110,7 @@ Reference< XTransferable > SAL_CALL CWinClipbImpl::getContents( ) return rClipContent; } -void SAL_CALL CWinClipbImpl::setContents( +void CWinClipbImpl::setContents( const Reference< XTransferable >& xTransferable, const Reference< XClipboardOwner >& xClipboardOwner ) { @@ -134,17 +134,17 @@ void SAL_CALL CWinClipbImpl::setContents( m_MtaOleClipboard.setClipboard(pIDataObj.get()); } -OUString SAL_CALL CWinClipbImpl::getName( ) +OUString CWinClipbImpl::getName( ) { return m_itsName; } -sal_Int8 SAL_CALL CWinClipbImpl::getRenderingCapabilities( ) +sal_Int8 CWinClipbImpl::getRenderingCapabilities( ) { return ( Delayed | Persistant ); } -void SAL_CALL CWinClipbImpl::flushClipboard( ) +void CWinClipbImpl::flushClipboard( ) { // actually it should be ClearableMutexGuard aGuard( m_ClipContentMutex ); // but it does not work since FlushClipboard does a callback and frees DataObject @@ -160,17 +160,17 @@ void SAL_CALL CWinClipbImpl::flushClipboard( ) m_MtaOleClipboard.flushClipboard( ); } -void SAL_CALL CWinClipbImpl::registerClipboardViewer( ) +void CWinClipbImpl::registerClipboardViewer( ) { m_MtaOleClipboard.registerClipViewer( CWinClipbImpl::onClipboardContentChanged ); } -void SAL_CALL CWinClipbImpl::unregisterClipboardViewer( ) +void CWinClipbImpl::unregisterClipboardViewer( ) { m_MtaOleClipboard.registerClipViewer( nullptr ); } -void SAL_CALL CWinClipbImpl::dispose() +void CWinClipbImpl::dispose() { OSL_ENSURE( !m_pCurrentClipContent, "Clipboard was not flushed before shutdown!" ); } @@ -184,7 +184,7 @@ void WINAPI CWinClipbImpl::onClipboardContentChanged() s_pCWinClipbImpl->m_pWinClipboard->notifyAllClipboardListener( ); } -void SAL_CALL CWinClipbImpl::onReleaseDataObject( CXNotifyingDataObject* theCaller ) +void CWinClipbImpl::onReleaseDataObject( CXNotifyingDataObject* theCaller ) { OSL_ASSERT( nullptr != theCaller ); diff --git a/dtrans/source/win32/clipb/WinClipbImpl.hxx b/dtrans/source/win32/clipb/WinClipbImpl.hxx index d72b5aef8b60..e062d5557546 100644 --- a/dtrans/source/win32/clipb/WinClipbImpl.hxx +++ b/dtrans/source/win32/clipb/WinClipbImpl.hxx @@ -53,40 +53,40 @@ protected: CWinClipbImpl( const OUString& aClipboardName, CWinClipboard* theWinClipboard ); /// @throws css::uno::RuntimeException - css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL getContents( ); + css::uno::Reference< css::datatransfer::XTransferable > getContents( ); /// @throws css::uno::RuntimeException - void SAL_CALL setContents( + void setContents( const css::uno::Reference< css::datatransfer::XTransferable >& xTransferable, const css::uno::Reference< css::datatransfer::clipboard::XClipboardOwner >& xClipboardOwner ); /// @throws css::uno::RuntimeException - OUString SAL_CALL getName( ); + OUString getName( ); // XClipboardEx /// @throws css::uno::RuntimeException - static sal_Int8 SAL_CALL getRenderingCapabilities( ); + static sal_Int8 getRenderingCapabilities( ); // XFlushableClipboard /// @throws css::uno::RuntimeException - void SAL_CALL flushClipboard( ); + void flushClipboard( ); // XComponent /// @throws css::uno::RuntimeException - void SAL_CALL dispose( ); + void dispose( ); // member functions - void SAL_CALL registerClipboardViewer( ); - void SAL_CALL unregisterClipboardViewer( ); + void registerClipboardViewer( ); + void unregisterClipboardViewer( ); static void WINAPI onClipboardContentChanged(); private: - void SAL_CALL onReleaseDataObject( CXNotifyingDataObject* theCaller ); + void onReleaseDataObject( CXNotifyingDataObject* theCaller ); private: OUString m_itsName; diff --git a/dtrans/source/win32/clipb/WinClipboard.cxx b/dtrans/source/win32/clipb/WinClipboard.cxx index 5efc5530d46d..77f17a7506d1 100644 --- a/dtrans/source/win32/clipb/WinClipboard.cxx +++ b/dtrans/source/win32/clipb/WinClipboard.cxx @@ -160,7 +160,7 @@ void SAL_CALL CWinClipboard::removeClipboardListener( const Reference< XClipboar rBHelper.aLC.removeInterface( cppu::UnoType<decltype(listener)>::get(), listener ); } -void SAL_CALL CWinClipboard::notifyAllClipboardListener( ) +void CWinClipboard::notifyAllClipboardListener( ) { if ( !rBHelper.bDisposed ) { diff --git a/dtrans/source/win32/clipb/WinClipboard.hxx b/dtrans/source/win32/clipb/WinClipboard.hxx index 92f7ff8ca9da..c0058593ed40 100644 --- a/dtrans/source/win32/clipb/WinClipboard.hxx +++ b/dtrans/source/win32/clipb/WinClipboard.hxx @@ -109,7 +109,7 @@ public: virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; private: - void SAL_CALL notifyAllClipboardListener( ); + void notifyAllClipboardListener( ); private: std::unique_ptr< CWinClipbImpl > m_pImpl; |