summaryrefslogtreecommitdiff
path: root/sd/source/ui/view
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-08 16:00:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-08 16:26:27 +0100
commit7f8f6291af814b5e2275b5b98b1221bd1fda571e (patch)
tree5fcf0e42cf1a53698a7b357c421bdbf2beb5536e /sd/source/ui/view
parent4285773bdb5ab5aaaeafa4cbc23655020c0bc538 (diff)
coverity#704780 Dereference after null check
Change-Id: I2c2e55ffa6a3c953bf679223a5361264bb384309
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r--sd/source/ui/view/outlnvsh.cxx2
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;