[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - sd/source

Caolán McNamara caolanm at redhat.com
Thu Oct 2 07:09:56 PDT 2014


 sd/source/filter/html/pubdlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7da08675ed346e7c34dc0cb9cab6741f38343f43
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Oct 2 10:12:30 2014 +0100

    coverity#1242906 Unused value
    
    Change-Id: I7a282e5adc60e4b123469f46fb480805377626b4
    (cherry picked from commit a165aa38d9009bf46e203bbdfbac3b7cd8f71b4c)
    Reviewed-on: https://gerrit.libreoffice.org/11764
    Reviewed-by: David Tardon <dtardon at redhat.com>
    Tested-by: David Tardon <dtardon at redhat.com>

diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx
index 1407699..52275cc 100644
--- a/sd/source/filter/html/pubdlg.cxx
+++ b/sd/source/filter/html/pubdlg.cxx
@@ -748,7 +748,7 @@ void SdPublishingDlg::GetParameterSequence( Sequence< PropertyValue >& rParams )
     HtmlPublishMode ePublishMode;
     if (pPage2_Frames->IsChecked())
         ePublishMode = PUBLISH_FRAMES;
-    if (pPage2_SingleDocument->IsChecked())
+    else if (pPage2_SingleDocument->IsChecked())
         ePublishMode = PUBLISH_SINGLE_DOCUMENT;
     else if (pPage2_Kiosk->IsChecked())
         ePublishMode  = PUBLISH_KIOSK;


More information about the Libreoffice-commits mailing list