summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/styleuno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/styleuno.cxx')
-rw-r--r--sc/source/ui/unoobj/styleuno.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/styleuno.cxx b/sc/source/ui/unoobj/styleuno.cxx
index 96b90f69ac24..e23568887f47 100644
--- a/sc/source/ui/unoobj/styleuno.cxx
+++ b/sc/source/ui/unoobj/styleuno.cxx
@@ -1307,7 +1307,7 @@ uno::Any ScStyleObj::getPropertyDefault_Impl( const OUString& aPropertyName )
const SfxPoolItem* pItem = &pItemSet->Get( ATTR_BORDER );
if ( pItem )
{
- SvxBoxItem aOuter( *( static_cast<const SvxBoxItem*>( pItem ) ) );
+ SvxBoxItem aOuter( * static_cast<const SvxBoxItem*>( pItem ) );
SvxBoxInfoItem aInner( ATTR_BORDER_INNER );
if (nWhich == SC_WID_UNO_TBLBORD2)
ScHelperFunctions::AssignTableBorder2ToAny( aAny, aOuter, aInner, true);
@@ -1899,7 +1899,7 @@ uno::Any ScStyleObj::getPropertyValue_Impl( const OUString& aPropertyName )
const SfxPoolItem* pItem = &pItemSet->Get( ATTR_BORDER );
if ( pItem )
{
- SvxBoxItem aOuter( *( static_cast<const SvxBoxItem*>( pItem ) ) );
+ SvxBoxItem aOuter( * static_cast<const SvxBoxItem*>( pItem ) );
SvxBoxInfoItem aInner( ATTR_BORDER_INNER );
if (nWhich == SC_WID_UNO_TBLBORD2)
ScHelperFunctions::AssignTableBorder2ToAny( aAny, aOuter, aInner, true);