From 7f8f6291af814b5e2275b5b98b1221bd1fda571e Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 8 Apr 2014 16:00:00 +0100 Subject: coverity#704780 Dereference after null check Change-Id: I2c2e55ffa6a3c953bf679223a5361264bb384309 --- sd/source/ui/view/outlnvsh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd/source') diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx index b2ec1f994deb..c2a5fa7099ee 100644 --- a/sd/source/ui/view/outlnvsh.cxx +++ b/sd/source/ui/view/outlnvsh.cxx @@ -633,7 +633,7 @@ void OutlineViewShell::FuSupport(SfxRequest &rReq) case SID_TRANSLITERATE_HIRAGANA: case SID_TRANSLITERATE_KATAGANA: { - OutlinerView* pOLV = pOlView->GetViewByWindow( GetActiveWindow() ); + OutlinerView* pOLV = pOlView ? pOlView->GetViewByWindow( GetActiveWindow() ) : 0; if( pOLV ) { using namespace ::com::sun::star::i18n; -- cgit