Kaydet (Commit) 7f8f6291 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#704780 Dereference after null check

Change-Id: I2c2e55ffa6a3c953bf679223a5361264bb384309
üst 4285773b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment