summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comphelper/source/misc/mimeconfighelper.cxx4
-rw-r--r--include/comphelper/mimeconfighelper.hxx3
2 files changed, 3 insertions, 4 deletions
diff --git a/comphelper/source/misc/mimeconfighelper.cxx b/comphelper/source/misc/mimeconfighelper.cxx
index 41005f3cbcdd..30881876b925 100644
--- a/comphelper/source/misc/mimeconfighelper.cxx
+++ b/comphelper/source/misc/mimeconfighelper.cxx
@@ -561,7 +561,7 @@ OUString MimeConfigurationHelper::GetFactoryNameByMediaType( const OUString& aMe
OUString MimeConfigurationHelper::UpdateMediaDescriptorWithFilterName(
uno::Sequence< beans::PropertyValue >& aMediaDescr,
- bool bIgnoreType, bool bAllowDeepDetection )
+ bool bIgnoreType )
{
OUString aFilterName;
@@ -581,7 +581,7 @@ OUString MimeConfigurationHelper::UpdateMediaDescriptorWithFilterName(
uno::Sequence< beans::PropertyValue > aTempMD( aMediaDescr );
// get TypeName
- OUString aTypeName = xTypeDetection->queryTypeByDescriptor(aTempMD, bAllowDeepDetection);
+ OUString aTypeName = xTypeDetection->queryTypeByDescriptor(aTempMD, /*bAllowDeepDetection*/true);
// get FilterName
for (const auto& prop : aTempMD)
diff --git a/include/comphelper/mimeconfighelper.hxx b/include/comphelper/mimeconfighelper.hxx
index b30bbfa7cb58..5dd99664a70a 100644
--- a/include/comphelper/mimeconfighelper.hxx
+++ b/include/comphelper/mimeconfighelper.hxx
@@ -104,8 +104,7 @@ public:
OUString UpdateMediaDescriptorWithFilterName(
css::uno::Sequence< css::beans::PropertyValue >& aMediaDescr,
- bool bIgnoreType,
- bool bAllowDeepFilterDetection = true );
+ bool bIgnoreType );
OUString UpdateMediaDescriptorWithFilterName(
css::uno::Sequence< css::beans::PropertyValue >& aMediaDescr,
css::uno::Sequence< css::beans::NamedValue >& aObject );