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

Caolán McNamara caolanm at redhat.com
Tue Dec 12 16:37:03 UTC 2017


 sw/source/filter/html/swhtml.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 786504f332919d498530ee1f97524b5ee2b70cf6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Dec 12 09:27:25 2017 +0000

    other branch is 'if (GetMedum()' so '!GetMedium() here' is always true
    
    Change-Id: I4b3a7aa35b1dfb78b5ceda8fa2570e11eaffd937
    Reviewed-on: https://gerrit.libreoffice.org/46283
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx
index e0740fa50b51..0f5810542878 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -531,9 +531,7 @@ SvParserState SwHTMLParser::CallParser()
             m_nEventId = nullptr;
         }
     }
-
-    // show progress bar
-    else if( !GetMedium() || !GetMedium()->IsRemote() )
+    else // show progress bar
     {
         rInput.Seek(STREAM_SEEK_TO_END);
         rInput.ResetError();


More information about the Libreoffice-commits mailing list