[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Mon Nov 21 21:56:27 UTC 2016


 sc/source/core/tool/address.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8846cc2218091aa2af8ee3aadd81fd8a80e3b303
Author: Eike Rathke <erack at redhat.com>
Date:   Mon Nov 21 22:55:11 2016 +0100

    Resolves: tdf#104096 reset also rRawRes if trailing characters are present
    
    ... in lcl_ScAddress_Parse_OOo() so that ScRange::Parse() doesn't receive a
    "partially valid" result and does not attempt to follow the entire column/row
    path.
    
    Change-Id: Ie37c9d22280e30f770422fb621e3b9d972ec1546

diff --git a/sc/source/core/tool/address.cxx b/sc/source/core/tool/address.cxx
index 2636f34..2d73e44 100644
--- a/sc/source/core/tool/address.cxx
+++ b/sc/source/core/tool/address.cxx
@@ -1439,7 +1439,7 @@ static ScRefFlags lcl_ScAddress_Parse_OOo( const sal_Unicode* p, ScDocument* pDo
             nRes |= ScRefFlags::VALID;
     }
     else
-        nRes = nBailOutFlags;
+        nRes = rRawRes = nBailOutFlags;
     return nRes;
 }
 


More information about the Libreoffice-commits mailing list