diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-17 17:05:29 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-17 17:05:49 +0200 |
commit | c110559268461dd3b7b8e28d24e36fdbcc25bb17 (patch) | |
tree | e968c774b95479c43a5f1a2d23964f66818569a9 /sc | |
parent | 4c24d41d9f44cbeafde6ffbdcdfdf15e20112357 (diff) |
simplify code
Change-Id: I07e0b1689225a78db92bd7338291a128d671c0ab
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index 7fa734f82f7a..ddcced241548 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -9028,8 +9028,8 @@ void ScTableRowObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntr } else if ( pEntry->nWID == SC_WID_UNO_MANPAGE ) { - ScBreakType nBreak = (rDoc.HasRowBreak(nRow, nTab) & BREAK_MANUAL); - ScUnoHelpFunctions::SetBoolInAny( rAny, nBreak != BREAK_NONE ); + bool bBreak = (rDoc.HasRowBreak(nRow, nTab) & BREAK_MANUAL) != 0; + ScUnoHelpFunctions::SetBoolInAny( rAny, bBreak ); } else ScCellRangeObj::GetOnePropertyValue(pEntry, rAny); |