summaryrefslogtreecommitdiff
path: root/sfx2/source/statbar/stbitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/statbar/stbitem.cxx')
-rw-r--r--sfx2/source/statbar/stbitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx
index c0ded64c7da3..f61f06093179 100644
--- a/sfx2/source/statbar/stbitem.cxx
+++ b/sfx2/source/statbar/stbitem.cxx
@@ -396,7 +396,7 @@ throw ( ::uno::RuntimeException, std::exception )
if ( pOutDev )
{
::Rectangle aRect = VCLRectangle( rOutputRectangle );
- UserDrawEvent aUserDrawEvent( pOutDev, aRect, pBar->GetCurItemId(), (sal_uInt16)nStyle );
+ UserDrawEvent aUserDrawEvent(nullptr, pOutDev, aRect, pBar->GetCurItemId(), static_cast<sal_uInt16>(nStyle));
Paint( aUserDrawEvent );
}
}