extensions/source/scanner/twain32shim.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8304c06a7b997231962d3a864ce4872cb852c27f
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Wed Jan 30 14:48:11 2019 +0100
Commit:     Stephan Bergmann <sberg...@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 <sberg...@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;
     }
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to