summaryrefslogtreecommitdiff
path: root/dtrans
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-05 10:11:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-05 10:11:23 +0200
commit1621a121b344b100a1c2f39fb03791e3e748a8eb (patch)
tree625a990140f54ddb646f5499398ebcea7897990b /dtrans
parent58cff1a3bd4a02867eb30e54f3235d9434b12c79 (diff)
loplugin:casttovoid (clang-cl): dtrans
Change-Id: Ie58ab849def17157472e6827c84ee51e14c24b7d
Diffstat (limited to 'dtrans')
-rw-r--r--dtrans/source/win32/clipb/MtaOleClipb.cxx1
-rw-r--r--dtrans/source/win32/dtobj/FmtFilter.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/dtrans/source/win32/clipb/MtaOleClipb.cxx b/dtrans/source/win32/clipb/MtaOleClipb.cxx
index aa7681267129..e80b048d7101 100644
--- a/dtrans/source/win32/clipb/MtaOleClipb.cxx
+++ b/dtrans/source/win32/clipb/MtaOleClipb.cxx
@@ -288,7 +288,6 @@ CMtaOleClipboard::~CMtaOleClipboard( )
sal_uInt32 dwResult = WaitForSingleObject(
m_hClipboardChangedNotifierThread, MAX_WAIT_SHUTDOWN );
- (void) dwResult;
OSL_ENSURE( dwResult == WAIT_OBJECT_0, "clipboard notifier thread could not terminate" );
if ( nullptr != m_hClipboardChangedNotifierThread )
diff --git a/dtrans/source/win32/dtobj/FmtFilter.cxx b/dtrans/source/win32/dtobj/FmtFilter.cxx
index fc9681f28448..0a2f2446cd1e 100644
--- a/dtrans/source/win32/dtobj/FmtFilter.cxx
+++ b/dtrans/source/win32/dtobj/FmtFilter.cxx
@@ -339,7 +339,6 @@ std::wstring getShellLinkTarget(const std::wstring& aLnkFile)
catch(sal::systools::ComError& ex)
{
OSL_FAIL(ex.what());
- (void)ex;
}
return target;
}