Kaydet (Commit) e7164ec2 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Return on NULL right away, to avoid null dereferencing below.

Change-Id: I17b45a5fb6ac5d30be5d3575fec76a61662decdf
üst 904ef99d
......@@ -632,7 +632,7 @@ OUString SAL_CALL ScFilterDetect::detect( uno::Sequence<beans::PropertyValue>& l
}
if (!pFilter)
aTypeName.Erase();
return OUString();
if (nIndexOfFilterName == -1)
{
......
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