diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-09-30 12:43:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-09-30 15:54:35 +0200 |
commit | a247d574fa32770b19875e8ca967a32a32ef0f36 (patch) | |
tree | 2a88f8b5c1270f6a66241b23941ebdf9ae70c8b6 /extensions/source/scanner | |
parent | 41c675fa5984659907c51abc6408ed7f9f91172c (diff) |
Extended loplugin:referencecasting/redundantcast (clang-cl): extensions
Change-Id: Ifd431845dc9bb53b87be400a3f5635c8fdc4b2fa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122885
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'extensions/source/scanner')
-rw-r--r-- | extensions/source/scanner/scanwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/scanner/scanwin.cxx b/extensions/source/scanner/scanwin.cxx index bfe4c3c37006..109f2944a3b5 100644 --- a/extensions/source/scanner/scanwin.cxx +++ b/extensions/source/scanner/scanwin.cxx @@ -342,7 +342,7 @@ bool Twain::InitializeNewShim(ScannerManager& rMgr, const VclPtr<vcl::Window>& x return false; // Have a shim for another task already! // hold reference to ScannerManager, to prevent premature death - mxMgr.set(static_cast<OWeakObject*>(mpCurMgr = &rMgr), css::uno::UNO_QUERY); + mxMgr = mpCurMgr = &rMgr; mpThread.set(new ShimListenerThread(xTopWindow)); mpThread->launch(); |