Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


regards

From a3757de1170fca97638be7e455b6602b9de228e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pierre-Andr=C3=A9=20Jacquod?= <pjacquod@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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.