[PATCH 8/9] waring cleaning in binfilter sw3io
Pierre-André Jacquod
pjacquod at alumni.ethz.ch
Thu Nov 25 11:57:45 PST 2010
code removed due to compiler warning: (for both if, that is not an error)
sw_sw3fmts.cxx:255:41: warning: comparison is always false due to limited range of data type
---
binfilter/bf_sw/source/core/sw3io/sw_sw3fmts.cxx | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/binfilter/bf_sw/source/core/sw3io/sw_sw3fmts.cxx b/binfilter/bf_sw/source/core/sw3io/sw_sw3fmts.cxx
index a61a027..16c641a 100644
--- a/binfilter/bf_sw/source/core/sw3io/sw_sw3fmts.cxx
+++ b/binfilter/bf_sw/source/core/sw3io/sw_sw3fmts.cxx
@@ -252,10 +252,6 @@ sal_Bool lcl_sw3io_insFtn( const SwTxtNode *pTxtNd )
/*N*/
/*N*/ // Hints that start behind the maximum string length of version 5.2
/*N*/ // don't have to be exported.
-/*N*/ if( nBgn != STRING_LEN && nBgn > STRING_MAXLEN52 )
-/*N*/ return;
-/*N*/ if( nEnd != STRING_LEN && nEnd > STRING_MAXLEN52 )
-/*N*/ nEnd = STRING_MAXLEN52;
/*N*/
/*N*/ if( nWhich != RES_TXTATR_FTN || nFlyLevel == 0 )
/*N*/ {
--
1.7.1
--------------050805000407040004010808--
More information about the LibreOffice
mailing list