[Libreoffice-commits] core.git: sd/source

Stephan Bergmann sbergman at redhat.com
Mon Oct 19 02:32:43 PDT 2015


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

New commits:
commit ac2c2c0688b850e5854693818f0f0c5759cdbfd3
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Oct 19 11:32:15 2015 +0200

    loplugin:defaultparams
    
    Change-Id: I6c032633eb36402aa9050587bedf9530d7e0ba71

diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index 8d82eb7..5e41972 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


More information about the Libreoffice-commits mailing list