summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/dialog/securitypage.cxx2
-rw-r--r--sfx2/source/view/sfxbasecontroller.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/securitypage.cxx b/sfx2/source/dialog/securitypage.cxx
index bb6f8b649b85..984527248795 100644
--- a/sfx2/source/dialog/securitypage.cxx
+++ b/sfx2/source/dialog/securitypage.cxx
@@ -59,7 +59,7 @@ namespace
SfxItemState nState = pDisp->QueryState( _nSlot, pItem );
bRet = SfxItemState::DEFAULT <= nState;
if (bRet)
- _rValue = ( static_cast< const SfxBoolItem* >( pItem ) )->GetValue();
+ _rValue = static_cast< const SfxBoolItem* >( pItem )->GetValue();
}
return bRet;
}
diff --git a/sfx2/source/view/sfxbasecontroller.cxx b/sfx2/source/view/sfxbasecontroller.cxx
index f11e73b27dd7..935ba2aaf8c1 100644
--- a/sfx2/source/view/sfxbasecontroller.cxx
+++ b/sfx2/source/view/sfxbasecontroller.cxx
@@ -204,7 +204,7 @@ public:
{
++m_refCount;
Reference< lang::XComponent > xComponent(
- (static_cast< ::cppu::OWeakObject* >(pController)), uno::UNO_QUERY );
+ static_cast< ::cppu::OWeakObject* >(pController), uno::UNO_QUERY );
if (xComponent.is())
xComponent->addEventListener(this);
--m_refCount;