diff options
Diffstat (limited to 'vcl/source/filter/wmf/winmtf.hxx')
-rw-r--r-- | vcl/source/filter/wmf/winmtf.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/filter/wmf/winmtf.hxx b/vcl/source/filter/wmf/winmtf.hxx index c9a8f2d69ea3..af06cd7bb2dd 100644 --- a/vcl/source/filter/wmf/winmtf.hxx +++ b/vcl/source/filter/wmf/winmtf.hxx @@ -514,13 +514,13 @@ struct GDIObj switch (eType) { case GDI_PEN : - delete (WinMtfLineStyle*)pStyle; + delete static_cast<WinMtfLineStyle*>(pStyle); break; case GDI_BRUSH : - delete (WinMtfFillStyle*)pStyle; + delete static_cast<WinMtfFillStyle*>(pStyle); break; case GDI_FONT : - delete (WinMtfFontStyle*)pStyle; + delete static_cast<WinMtfFontStyle*>(pStyle); break; default: |