summaryrefslogtreecommitdiff
path: root/embedserv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-04 10:04:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-04 12:08:43 +0000
commitf8cff53299f31c124468cf575bd08bfbf28bc578 (patch)
tree04f9a316dbc3dbb99a3c5fcb8fd1dbf7fef18260 /embedserv
parent3afca328510a9ddaf67ca578af0cbce25fa44aec (diff)
loplugin:redundantcast (clang-cl)
Change-Id: Ie096d75c1bc774e77c589845f61276d1478234ef Reviewed-on: https://gerrit.libreoffice.org/36065 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'embedserv')
-rw-r--r--embedserv/source/embed/docholder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/embedserv/source/embed/docholder.cxx b/embedserv/source/embed/docholder.cxx
index ff30b0bb7c8e..6bb68fed3891 100644
--- a/embedserv/source/embed/docholder.cxx
+++ b/embedserv/source/embed/docholder.cxx
@@ -517,7 +517,7 @@ void CopyToOLEMenu(HMENU hOrig,WORD origPos,HMENU hDest,WORD destPos)
mi.cbSize = sizeof(mi);
mi.fMask = MIIM_DATA;
if(GetMenuItemInfoW(hOrig,origPos,TRUE,&mi))
- SetMenuItemInfoW(hDest,(WORD)destPos,TRUE,&mi);
+ SetMenuItemInfoW(hDest,destPos,TRUE,&mi);
}
BOOL DocumentHolder::InPlaceMenuCreate()