[Libreoffice-commits] .: sw/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Thu Dec 29 02:53:44 PST 2011
sw/source/filter/ww8/wrtw8nds.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4e41996b5693414c0887c2c4d929cd16f4eb4577
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Thu Dec 29 11:53:28 2011 +0100
Some cppcheck cleaning
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx
index 95895e8..ad4b03e 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -245,7 +245,7 @@ xub_StrLen lcl_getMinPos( xub_StrLen pos1, xub_StrLen pos2 )
min = pos2;
else if ( pos2 == STRING_NOTFOUND && pos1 != STRING_NOTFOUND )
min = pos1;
- else if ( pos2 != STRING_NOTFOUND && pos2 != STRING_NOTFOUND )
+ else if ( pos1 != STRING_NOTFOUND && pos2 != STRING_NOTFOUND )
{
if ( pos1 < pos2 )
min = pos1;
More information about the Libreoffice-commits
mailing list