summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/unocore/unotbl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index 3b0a8afd61be..9fb2e0f9322f 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -175,8 +175,7 @@ static void lcl_SetSpecialProperty(SwFrmFmt* pFmt,
UnoActionContext aAction(pFmt->GetDoc());
if( pEntry->nWID == FN_TABLE_HEADLINE_REPEAT)
{
- bool bVal = *static_cast<sal_Bool const *>(aValue.getValue());
- pFmt->GetDoc()->SetRowsToRepeat( *pTable, bVal ? 1 : 0 );
+ pFmt->GetDoc()->SetRowsToRepeat( *pTable, aValue.get<bool>() ? 1 : 0 );
}
else
{