summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-02 10:12:30 +0100
committerAndras Timar <andras.timar@collabora.com>2014-10-14 15:27:54 +0200
commit747dfe5d61a5d62517d1df365ffa3c7c5503c0e7 (patch)
tree55effde0aa4976c5dc01b6bd51618d2ffff5a026 /sd
parent360562ce27e69c027f2720c61e464fa532b6e8a0 (diff)
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>
Diffstat (limited to 'sd')
-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;