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

Miklos Vajna vmiklos at collabora.co.uk
Wed Nov 26 00:04:24 PST 2014


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

New commits:
commit 7d067d5c0387d96faef1dcf1ac5cd77e2822f1a7
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Wed Nov 26 08:58:31 2014 +0100

    DOCX export: Value stored to bEndParaSdt/bCloseEarlierSDT is never read
    
    Change-Id: Iccebda56ad7a6e7f7867d3da8033c633211f9e15

diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 0bd3511..8926a7a 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -304,7 +304,6 @@ void DocxAttributeOutput::StartParagraph( ww8::WW8TableNodeInfo::Pointer_t pText
     {
         // This is the common case: "close sdt before the current paragraph" was requrested by the next paragraph.
         EndSdtBlock();
-        bEndParaSdt = false;
         m_bStartedParaSdt = false;
         m_aStartedParagraphSdtPrAlias = "";
     }
@@ -1208,7 +1207,6 @@ void DocxAttributeOutput::EndRun()
         m_pSerializer->mark();
         EndSdtBlock();
         m_pSerializer->mergeTopMarks( sax_fastparser::MERGE_MARKS_PREPEND );
-        bCloseEarlierSDT = false;
     }
 
     m_pSerializer->mergeTopMarks();


More information about the Libreoffice-commits mailing list