Kaydet (Commit) c1105592 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

simplify code

Change-Id: I07e0b1689225a78db92bd7338291a128d671c0ab
üst 4c24d41d
...@@ -9028,8 +9028,8 @@ void ScTableRowObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntr ...@@ -9028,8 +9028,8 @@ void ScTableRowObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntr
} }
else if ( pEntry->nWID == SC_WID_UNO_MANPAGE ) else if ( pEntry->nWID == SC_WID_UNO_MANPAGE )
{ {
ScBreakType nBreak = (rDoc.HasRowBreak(nRow, nTab) & BREAK_MANUAL); bool bBreak = (rDoc.HasRowBreak(nRow, nTab) & BREAK_MANUAL) != 0;
ScUnoHelpFunctions::SetBoolInAny( rAny, nBreak != BREAK_NONE ); ScUnoHelpFunctions::SetBoolInAny( rAny, bBreak );
} }
else else
ScCellRangeObj::GetOnePropertyValue(pEntry, rAny); ScCellRangeObj::GetOnePropertyValue(pEntry, rAny);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment