cid#983368 dereference before null check

Change-Id: I6c2c69337ec5bdb2fa97c40479cddd418364d608
This commit is contained in:
Noel Grandin
2014-02-19 11:15:26 +02:00
parent 7dc6659f7e
commit f74d458dc2

View File

@@ -87,8 +87,7 @@ void OConnectionURLEdit::SetText(const OUString& _rStr, const Selection& /*_rNew
}
// the fixed text gets the prefix
if ( m_pForcedPrefix )
m_pForcedPrefix->SetText(sPrefix);
m_pForcedPrefix->SetText(sPrefix);
// both subs have to be resized according to the text len of the prefix
Size aMySize = GetSizePixel();