summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 11:32:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 11:32:15 +0200
commitac2c2c0688b850e5854693818f0f0c5759cdbfd3 (patch)
treedc791592d5bf5dee7b556c1a434e4a6bb2aa308d
parent044e9314f7ad5ed5b3670860ff7b63ef8733480d (diff)
loplugin:defaultparams
Change-Id: I6c032633eb36402aa9050587bedf9530d7e0ba71
-rw-r--r--sd/source/filter/html/htmlex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index 8d82eb7595d1..5e4197247705 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -831,7 +831,7 @@ void HtmlExport::SetDocColors( SdPage* pPage )
{
SfxItemSet& rSet = pSheet->GetItemSet();
if(rSet.GetItemState(EE_CHAR_COLOR,true) == SfxItemState::SET)
- maTextColor = static_cast<const SvxColorItem*>(rSet.GetItem(EE_CHAR_COLOR,true))->GetValue();
+ maTextColor = static_cast<const SvxColorItem*>(rSet.GetItem(EE_CHAR_COLOR))->GetValue();
}
// default background from the background of the master page of the first page