diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/scdetect.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/scdetect.cxx b/sc/source/ui/unoobj/scdetect.cxx index c84315985cb8..d99cb030ab03 100644 --- a/sc/source/ui/unoobj/scdetect.cxx +++ b/sc/source/ui/unoobj/scdetect.cxx @@ -794,10 +794,9 @@ OUString SAL_CALL ScFilterDetect::detect( uno::Sequence<beans::PropertyValue>& l lDescriptor[nIndexOfFilterName].Value <<= OUString(pFilter->GetName()); } - if ( pFilter ) - aTypeName = pFilter->GetTypeName(); - else + if (!pFilter) aTypeName.Erase(); + return aTypeName; } |