diff options
Diffstat (limited to 'svx/source/svdraw/svdmrkv1.cxx')
-rw-r--r-- | svx/source/svdraw/svdmrkv1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdmrkv1.cxx b/svx/source/svdraw/svdmrkv1.cxx index e1f41bf58e96..85a2e193fb7b 100644 --- a/svx/source/svdraw/svdmrkv1.cxx +++ b/svx/source/svdraw/svdmrkv1.cxx @@ -133,11 +133,11 @@ bool SdrMarkView::ImpMarkPoint(SdrHdl* pHdl, SdrMark* pMark, bool bUnmark) SdrUShortCont& rPts=pMark->GetMarkedPoints(); if (!bUnmark) { - rPts.insert((sal_uInt16)nHdlNum); + rPts.insert(static_cast<sal_uInt16>(nHdlNum)); } else { - SdrUShortCont::const_iterator it = rPts.find( (sal_uInt16)nHdlNum ); + SdrUShortCont::const_iterator it = rPts.find( static_cast<sal_uInt16>(nHdlNum) ); if (it != rPts.end()) { rPts.erase(it); |