summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unotxdoc.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-14 16:46:02 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-15 07:59:43 +0000
commitcb97267f5676b7790806dc15d17f2a6523232ccc (patch)
tree4fd842d54dd11f9d75a401b74010feb156afc8c6 /sw/source/uibase/uno/unotxdoc.cxx
parentf8bf15e8ed3bf1116bc77921eb22228705903297 (diff)
clang-cl loplugin: sw
Change-Id: I1e0894f116e8288eb8b648ed3ac679be237806a3 Reviewed-on: https://gerrit.libreoffice.org/29845 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/uibase/uno/unotxdoc.cxx')
-rw-r--r--sw/source/uibase/uno/unotxdoc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index 9a968d4b6143..8513b0a3fed0 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -3489,7 +3489,7 @@ void SAL_CALL SwXTextDocument::paintTile( const ::css::uno::Any& Parent, ::sal_I
#if defined(_WIN32)
sal_Int64 nWindowHandle;
Parent >>= nWindowHandle;
- aData.hWnd = (HWND) nWindowHandle;
+ aData.hWnd = reinterpret_cast<HWND>(nWindowHandle);
ScopedVclPtrInstance<VirtualDevice> xDevice(&aData, Size(1, 1), DeviceFormat::DEFAULT);
paintTile(*xDevice, nOutputWidth, nOutputHeight, nTilePosX, nTilePosY, nTileWidth, nTileHeight);
#else