summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-02 10:12:30 +0100
committerDavid Tardon <dtardon@redhat.com>2014-10-02 14:09:35 +0000
commit7da08675ed346e7c34dc0cb9cab6741f38343f43 (patch)
treedda2d5b9ff37d6d13a4da4569e79229cc95de549
parentfdo#63483: support for modify passwd in Impress and Draw (diff)
downloadcore-7da08675ed346e7c34dc0cb9cab6741f38343f43.tar.gz
core-7da08675ed346e7c34dc0cb9cab6741f38343f43.zip
coverity#1242906 Unused value
Change-Id: I7a282e5adc60e4b123469f46fb480805377626b4 (cherry picked from commit a165aa38d9009bf46e203bbdfbac3b7cd8f71b4c) Reviewed-on: https://gerrit.libreoffice.org/11764 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
-rw-r--r--sd/source/filter/html/pubdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx
index 1407699f1b85..52275ccadb12 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;