diff options
Diffstat (limited to 'svx/source/unodraw/unopool.cxx')
-rw-r--r-- | svx/source/unodraw/unopool.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/unodraw/unopool.cxx b/svx/source/unodraw/unopool.cxx index a3d0a4cbe479..9261a71bb830 100644 --- a/svx/source/unodraw/unopool.cxx +++ b/svx/source/unodraw/unopool.cxx @@ -171,7 +171,7 @@ void SvxUnoDrawPool::putAny( SfxItemPool* pPool, const comphelper::PropertyMapEn if(!(aValue >>= nMode)) throw lang::IllegalArgumentException(); - eMode = (drawing::BitmapMode)nMode; + eMode = static_cast<drawing::BitmapMode>(nMode); } pPool->SetPoolDefaultItem( XFillBmpStretchItem( eMode == drawing::BitmapMode_STRETCH ) ); |