[ooo-build-commit] patches/vba
Petr Mladek
pmladek at kemper.freedesktop.org
Fri Nov 20 12:18:32 PST 2009
patches/vba/vba-word-support-m4.diff | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d3f2ab280a0a53c3587f890ea281c3d094291f56
Author: Petr Mladek <pmladek at suse.cz>
Date: Fri Nov 20 21:16:26 2009 +0100
Add cast to fix compilation on openSUSE-11.1
* patches/vba/vba-word-support-m4.diff: add cast to (long)nNewWidth to help
the compiler to use the right Min function instance
diff --git a/patches/vba/vba-word-support-m4.diff b/patches/vba/vba-word-support-m4.diff
index 93c42af..d6881fb 100644
--- a/patches/vba/vba-word-support-m4.diff
+++ b/patches/vba/vba-word-support-m4.diff
@@ -12462,7 +12462,7 @@ index 0000000..2fcae2f
+ aCols[ static_cast< USHORT >(GetRightSeparator( aCols, nCol-1)) ] -= nDiff;
+ }
+ else
-+ aCols.SetRight( Min( nNewWidth, aCols.GetRightMax()) );
++ aCols.SetRight( Min( (long)nNewWidth, aCols.GetRightMax()) );
+
+ //pDoc->SetTabCols(*pTable, aCols, aOldCols, pStartBox, bCurRowOnly );
+ pTable->SetTabCols(aCols, aOldCols, pStart, bCurRowOnly );
More information about the ooo-build-commit
mailing list