summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-26 11:17:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-26 16:29:15 +0100
commitdaa6898578ec72faa406bfe08977f7d748610716 (patch)
treee75b8a538e8fe94882e84e87131d53840ecf7cc6 /sd
parent4079089d0a3cf6b55c937447407f68b7339bca68 (diff)
clang: Dead initialization
Change-Id: Ieae5303e55f21044ef8e91e63c4896696cfad51c
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/html/htmlex.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index e49327e6a7ef..54db936536ca 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -1830,7 +1830,8 @@ bool HtmlExport::CreateHtmlForPresPages()
case presentation::ClickAction_PREVPAGE:
{
- sal_uLong nPage = nSdPage;
+ sal_uLong nPage;
+
if (nSdPage == 0)
nPage = 0;
else