summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuformatpaintbrush.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fuformatpaintbrush.cxx')
-rw-r--r--sd/source/ui/func/fuformatpaintbrush.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fuformatpaintbrush.cxx b/sd/source/ui/func/fuformatpaintbrush.cxx
index 1d19e9cc9ebc..bcdf46996c5c 100644
--- a/sd/source/ui/func/fuformatpaintbrush.cxx
+++ b/sd/source/ui/func/fuformatpaintbrush.cxx
@@ -65,7 +65,7 @@ void FuFormatPaintBrush::DoExecute( SfxRequest& rReq )
const SfxItemSet *pArgs = rReq.GetArgs();
if( pArgs && pArgs->Count() >= 1 )
{
- mbPermanent = static_cast<const SfxBoolItem &>(pArgs->Get(SID_FORMATPAINTBRUSH)).GetValue();
+ mbPermanent = pArgs->Get(SID_FORMATPAINTBRUSH).GetValue();
}
if( mpView )