regards

>From a3757de1170fca97638be7e455b6602b9de228e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pierre-Andr=C3=A9=20Jacquod?= <pjacq...@alumni.ethz.ch>
Date: Thu, 25 Nov 2010 20:57:45 +0100
Subject: [PATCH 8/9] waring cleaning in binfilter sw3io

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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to