sc/source/filter/xml/xmlcondformat.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 38d7b11915c9c4e5fcebcb7eb3ae1b2846b26267
Author: Markus Mohrhard <markus.mohrh...@googlemail.com>
Date:   Sun Aug 5 11:47:19 2012 +0200

    use correct string length for "between", fdo#53010
    
    Change-Id: I282c6a4436984d268b107ffef01022831c05a0fa
    Signed-off-by: Luboš Luňák <l.lu...@suse.cz>

diff --git a/sc/source/filter/xml/xmlcondformat.cxx 
b/sc/source/filter/xml/xmlcondformat.cxx
index ed9bc49..a8a47f1 100644
--- a/sc/source/filter/xml/xmlcondformat.cxx
+++ b/sc/source/filter/xml/xmlcondformat.cxx
@@ -313,7 +313,7 @@ void GetConditionData(const rtl::OUString& rValue, 
ScConditionMode& eMode, rtl::
     else if(rValue.indexOf("between") == 0)
     {
         const sal_Unicode* pStr = rValue.getStr();
-        const sal_Unicode* pStart = pStr + 7;
+        const sal_Unicode* pStart = pStr + 8;
         const sal_Unicode* pEnd = pStr + rValue.getLength();
         rExpr1 = ScXMLConditionHelper::getExpression( pStart, pEnd, ',');
         rExpr2 = ScXMLConditionHelper::getExpression( pStart, pEnd, ')');
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to