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

Stephan Bergmann sbergman at redhat.com
Tue Sep 8 04:02:41 PDT 2015


 xmloff/source/text/txtflde.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 27b77b9754e74ebb4e2efac2723de2de11b2e3e1
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Sep 8 13:00:22 2015 +0200

    clang-analyzer-deadcode.DeadStores
    
    ...ever since 4b3df269f81184c4951457daa5181df2bcc5d259 "INTEGRATION: CWS
    sb19: #i32429# ExplodeFieldMasterName should not try to copy non-existent string
    parts"
    
    Change-Id: Idf642d1c9c5516ad9c837c4cb9d397dc7e3f5e39

diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx
index 4f1a9d0..43478b0 100644
--- a/xmloff/source/text/txtflde.cxx
+++ b/xmloff/source/text/txtflde.cxx
@@ -2898,7 +2898,6 @@ bool XMLTextFieldExport::ExplodeFieldMasterName(
 
     // '.' found?
     if (nSeparator <= nLength) {
-        nSeparator = sMasterName.getLength();
         SAL_WARN("xmloff.text", "no field var name!");
         bReturn = false;
     }


More information about the Libreoffice-commits mailing list