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

Caolán McNamara caolanm at redhat.com
Thu Apr 9 02:46:27 PDT 2015


 sw/source/filter/basflt/fltshell.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 04443db44edfa389eddef5667053f2fa5d7d5978
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Apr 9 10:36:13 2015 +0100

    newly set nStart and nEnd are not used
    
    Change-Id: Id9ba3dbd1df46638eb4ca2ef84ba1b40ca424108

diff --git a/sw/source/filter/basflt/fltshell.cxx b/sw/source/filter/basflt/fltshell.cxx
index c8482ce..401abb0 100644
--- a/sw/source/filter/basflt/fltshell.cxx
+++ b/sw/source/filter/basflt/fltshell.cxx
@@ -685,8 +685,6 @@ void SwFltControlStack::SetAttrInDoc(const SwPosition& rTmpPos,
             }
             if (rEntry.MakeRegion(pDoc, aRegion, false))
             {
-                nStart = rEntry.GetStartCP();
-                nEnd = rEntry.GetEndCP();
                 if (rEntry.IsParaEnd())
                 {
                     pDoc->getIDocumentContentOperations().InsertPoolItem(aRegion, *rEntry.pAttr, SetAttrMode::DEFAULT, true);


More information about the Libreoffice-commits mailing list