[Libreoffice-commits] core.git: extensions/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Jan 30 21:01:26 UTC 2019
extensions/source/scanner/twain32shim.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 8304c06a7b997231962d3a864ce4872cb852c27f
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Jan 30 14:48:11 2019 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Jan 30 22:00:55 2019 +0100
loplugin:implicitboolconversion (clang-cl)
Change-Id: I055c91863d454141a957d2c19ec94b8e6742ff61
Reviewed-on: https://gerrit.libreoffice.org/67149
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
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;
}
}
More information about the Libreoffice-commits
mailing list