summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-05-01 00:37:15 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-05-01 08:52:59 +0000
commit4558064a31bcecd7cbdfde02b1c309a3b9d9813d (patch)
treef227fa351bbb28a84c479cb9cfbdc2258cc20df8
parent66a777c3d4c926aa2bd3d40da4852e769ad6ddc2 (diff)
Resolves: fdo#78133 LibO crashes when in options dialog (Colors part)
+ Related: fdo#77934 It seems pDrDoc is always known now (related to 185c270e66d03d1f77beb8a8996393d023e818e7 ?) Change-Id: I5f984e0e53ec49d67c07a43159433fcc26524777 Reviewed-on: https://gerrit.libreoffice.org/9219 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sw/source/core/uibase/app/docshdrw.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/uibase/app/docshdrw.cxx b/sw/source/core/uibase/app/docshdrw.cxx
index 12f31e8006ed..90070c96518b 100644
--- a/sw/source/core/uibase/app/docshdrw.cxx
+++ b/sw/source/core/uibase/app/docshdrw.cxx
@@ -42,6 +42,7 @@ void SwDocShell::InitDraw()
PutItem( SvxBitmapListItem( pDrDoc->GetBitmapList(), SID_BITMAP_LIST ) );
PutItem( SvxDashListItem( pDrDoc->GetDashList(), SID_DASH_LIST ) );
PutItem( SvxLineEndListItem( pDrDoc->GetLineEndList(), SID_LINEEND_LIST ) );
+ PutItem( SvxColorListItem( pDrDoc->GetColorList(), SID_COLOR_TABLE ));
Outliner& rOutliner = pDrDoc->GetDrawOutliner();
uno::Reference<linguistic2::XHyphenator> xHyphenator( ::GetHyphenator() );