diff options
author | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2011-05-11 14:20:44 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-05-13 16:53:20 +0200 |
commit | 05f4662b941e1c5d1613beacf90ec0606680d37c (patch) | |
tree | 423c02d0492b4323032762e92d6cc79161eec86e | |
parent | ea45be76b6475d2a400db56535fd0d9baf117713 (diff) |
fix debug build
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
-rw-r--r-- | sw/source/core/layout/tabfrm.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/undo/SwUndoPageDesc.cxx | 16 |
2 files changed, 1 insertions, 17 deletions
diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx index 08f756d65b87..54f1e664f5a8 100644 --- a/sw/source/core/layout/tabfrm.cxx +++ b/sw/source/core/layout/tabfrm.cxx @@ -1568,7 +1568,7 @@ bool SwCntntFrm::CalcLowers( SwLayoutFrm* pLay, const SwLayoutFrm* pDontLeave, } #if OSL_DEBUG_LEVEL > 1 - OSL_FAIL( "LoopControl in SwCntntFrm::CalcLowers" ) + OSL_FAIL( "LoopControl in SwCntntFrm::CalcLowers" ); #endif } } diff --git a/sw/source/core/undo/SwUndoPageDesc.cxx b/sw/source/core/undo/SwUndoPageDesc.cxx index 2b6494003109..b9ae08fddddf 100644 --- a/sw/source/core/undo/SwUndoPageDesc.cxx +++ b/sw/source/core/undo/SwUndoPageDesc.cxx @@ -64,10 +64,6 @@ void DebugHeaderFooterContent( const SwPageDesc& rPageDesc ) SwFrmFmt* pHeaderFmt = rHead.GetHeaderFmt(); if( pHeaderFmt ) { - nHeaderCount = pHeaderFmt->GetClientCount(); - { - int nHeaderCount = 0; - } const SwFmtCntnt* pCntnt = &pHeaderFmt->GetCntnt(); if( pCntnt->GetCntntIdx() ) nHeaderMaster = pCntnt->GetCntntIdx()->GetIndex(); @@ -77,10 +73,6 @@ void DebugHeaderFooterContent( const SwPageDesc& rPageDesc ) SwFrmFmt* pLeftHeaderFmt = rLeftHead.GetHeaderFmt(); if( pLeftHeaderFmt ) { - nLeftHeaderCount = pLeftHeaderFmt->GetClientCount(); - { - int nLeftHeaderCount = 0; - } const SwFmtCntnt* pLeftCntnt = &pLeftHeaderFmt->GetCntnt(); if( pLeftCntnt->GetCntntIdx() ) nHeaderLeft = pLeftCntnt->GetCntntIdx()->GetIndex(); @@ -93,10 +85,6 @@ void DebugHeaderFooterContent( const SwPageDesc& rPageDesc ) SwFrmFmt* pFooterFmt = rFoot.GetFooterFmt(); if( pFooterFmt ) { - nFooterCount = pFooterFmt->GetClientCount(); - { - int nFooterCount = 0; - } const SwFmtCntnt* pCntnt = &pFooterFmt->GetCntnt(); if( pCntnt->GetCntntIdx() ) nFooterMaster = pCntnt->GetCntntIdx()->GetIndex(); @@ -106,10 +94,6 @@ void DebugHeaderFooterContent( const SwPageDesc& rPageDesc ) SwFrmFmt* pLeftFooterFmt = rLeftFoot.GetFooterFmt(); if( pLeftFooterFmt ) { - nLeftFooterCount = pLeftFooterFmt->GetClientCount(); - { - int nLeftFooterCount = 0; - } const SwFmtCntnt* pLeftCntnt = &pLeftFooterFmt->GetCntnt(); if( pLeftCntnt->GetCntntIdx() ) nFooterLeft = pLeftCntnt->GetCntntIdx()->GetIndex(); |