summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/clipb
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-12-10 23:21:52 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-12-11 08:57:37 +0100
commitaad6e593f7e856f716de57304e007fec789e37eb (patch)
tree344200954835695e9176cc4ab6a5a21504699b0f /dtrans/source/win32/clipb
parente28ed8c0fb2ffcf5d3a282563ee3a1bf5687b875 (diff)
loplugin:salcall (clang-cl)
Change-Id: I31018af8d992c9496f01a72925e24d9b362e340d Reviewed-on: https://gerrit.libreoffice.org/46204 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dtrans/source/win32/clipb')
-rw-r--r--dtrans/source/win32/clipb/WinClipbImpl.cxx18
-rw-r--r--dtrans/source/win32/clipb/WinClipbImpl.hxx18
-rw-r--r--dtrans/source/win32/clipb/WinClipboard.cxx2
-rw-r--r--dtrans/source/win32/clipb/WinClipboard.hxx2
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;