summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-01-30 14:48:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-01-30 22:00:55 +0100
commit8304c06a7b997231962d3a864ce4872cb852c27f (patch)
treebda1c427d77a0ff2a61c28cf35dac3961c4c2915 /extensions
parent6d341ad7f015b9efe636dea7084d7b4a60a009bc (diff)
loplugin:implicitboolconversion (clang-cl)
Change-Id: I055c91863d454141a957d2c19ec94b8e6742ff61 Reviewed-on: https://gerrit.libreoffice.org/67149 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/scanner/twain32shim.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/scanner/twain32shim.cxx b/extensions/source/scanner/twain32shim.cxx
index 07ac599d584f..49d6787eb69f 100644
--- a/extensions/source/scanner/twain32shim.cxx
+++ b/extensions/source/scanner/twain32shim.cxx
@@ -531,10 +531,10 @@ void ImpTwain::ImplRequestHdl(WPARAM nRequest)
Destroy();
break;
case TWAIN_REQUEST_SELECTSOURCE:
- NotifyParent(TWAIN_EVENT_REQUESTRESULT, SelectSource());
+ NotifyParent(TWAIN_EVENT_REQUESTRESULT, LPARAM(SelectSource()));
break;
case TWAIN_REQUEST_INITXFER:
- NotifyParent(TWAIN_EVENT_REQUESTRESULT, InitXfer());
+ NotifyParent(TWAIN_EVENT_REQUESTRESULT, LPARAM(InitXfer()));
break;
}
}