diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-08 16:00:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-08 16:26:27 +0100 |
commit | 7f8f6291af814b5e2275b5b98b1221bd1fda571e (patch) | |
tree | 5fcf0e42cf1a53698a7b357c421bdbf2beb5536e | |
parent | 4285773bdb5ab5aaaeafa4cbc23655020c0bc538 (diff) |
coverity#704780 Dereference after null check
Change-Id: I2c2e55ffa6a3c953bf679223a5361264bb384309
-rw-r--r-- | sd/source/ui/view/outlnvsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |