[Libreoffice-commits] .: Branch 'libreoffice-3-6' - sc/source

Lubos Lunak llunak at kemper.freedesktop.org
Sun Aug 5 03:41:34 PDT 2012


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

New commits:
commit 38d7b11915c9c4e5fcebcb7eb3ae1b2846b26267
Author: Markus Mohrhard <markus.mohrhard at 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.lunak at 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, ')');


More information about the Libreoffice-commits mailing list