summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 16:02:25 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 16:02:25 +0000
commitf9b77e548be14addcf1e0514c9e690865dc85b9f (patch)
tree1d1d000aab9e817b1f5e83382f3b99d8a363c6d7 /svx
parent7509629706b09ea880827442edce8d1388c10726 (diff)
INTEGRATION: CWS warnings01 (1.27.222); FILE MERGED
2006/04/20 14:50:05 cl 1.27.222.2: warning free code changes 2006/02/17 16:21:36 cl 1.27.222.1: warning free code changes
Diffstat (limited to 'svx')
-rw-r--r--svx/source/unoedit/unoforou.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/svx/source/unoedit/unoforou.cxx b/svx/source/unoedit/unoforou.cxx
index 29ddf592b5..c40b386100 100644
--- a/svx/source/unoedit/unoforou.cxx
+++ b/svx/source/unoedit/unoforou.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: unoforou.cxx,v $
*
- * $Revision: 1.27 $
+ * $Revision: 1.28 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 01:11:51 $
+ * last change: $Author: hr $ $Date: 2006-06-19 17:02:25 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -32,9 +32,6 @@
* MA 02111-1307 USA
*
************************************************************************/
-#ifndef GCC
-#pragma hdrstop
-#endif
#include <algorithm>
@@ -443,7 +440,7 @@ USHORT SvxOutlinerForwarder::GetLineLen( USHORT nPara, USHORT nLine ) const
return rOutliner.GetLineLen(nPara, nLine);
}
-sal_Bool SvxOutlinerForwarder::QuickFormatDoc( BOOL bFull )
+sal_Bool SvxOutlinerForwarder::QuickFormatDoc( BOOL )
{
rOutliner.QuickFormatDoc();
@@ -503,7 +500,7 @@ sal_Bool SvxOutlinerForwarder::SetDepth( USHORT nPara, USHORT nNewDepth )
if(bOutlinerText)
++nNewDepth;
- if(nNewDepth >= 0 && nNewDepth <= 9)
+ if( nNewDepth <= 9 )
{
Paragraph* pPara = rOutliner.GetParagraph( nPara );
if( pPara )