Resolves: fdo#78133 LibO crashes when in options dialog (Colors part)

+ Related: fdo#77934
It seems pDrDoc is always known now (related to
185c270e66 ?)

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>
This commit is contained in:
Julien Nabet
2014-05-01 00:37:15 +02:00
committed by Caolán McNamara
parent 66a777c3d4
commit 4558064a31

View File

@@ -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() );