summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-18 10:03:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-01-18 10:03:02 +0100
commit88343308e4126b7df9b94ce0bce691bfc246792b (patch)
tree282c75c2665069f12b4291ac34e4edd2387a6d6f /vcl
parentb53d426b6faad82f98a26f8a4860218f03691b66 (diff)
FilterConfigCache::GetImportFormatMediaType still needed on WNT
Change-Id: I462474b3d53c57aade13256d84db77ed4865ada6
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/filter/FilterConfigCache.cxx7
-rw-r--r--vcl/source/filter/FilterConfigCache.hxx1
2 files changed, 8 insertions, 0 deletions
diff --git a/vcl/source/filter/FilterConfigCache.cxx b/vcl/source/filter/FilterConfigCache.cxx
index 4e315b8980d3..3d5ad91da6ac 100644
--- a/vcl/source/filter/FilterConfigCache.cxx
+++ b/vcl/source/filter/FilterConfigCache.cxx
@@ -370,6 +370,13 @@ OUString FilterConfigCache::GetImportFormatName( sal_uInt16 nFormat )
return OUString("");
}
+OUString FilterConfigCache::GetImportFormatMediaType( sal_uInt16 nFormat )
+{
+ if( nFormat < aImport.size() )
+ return aImport[ nFormat ].sMediaType;
+ return OUString("");
+}
+
OUString FilterConfigCache::GetImportFormatShortName( sal_uInt16 nFormat )
{
if( nFormat < aImport.size() )
diff --git a/vcl/source/filter/FilterConfigCache.hxx b/vcl/source/filter/FilterConfigCache.hxx
index 7cde7dd954d4..0bc7bc9d37dc 100644
--- a/vcl/source/filter/FilterConfigCache.hxx
+++ b/vcl/source/filter/FilterConfigCache.hxx
@@ -88,6 +88,7 @@ public:
OUString GetImportFilterName( sal_uInt16 nFormat );
OUString GetImportFormatName( sal_uInt16 nFormat );
OUString GetImportFormatExtension( sal_uInt16 nFormat, sal_Int32 nEntry = 0);
+ OUString GetImportFormatMediaType( sal_uInt16 nFormat );
OUString GetImportFormatShortName( sal_uInt16 nFormat );
OUString GetImportWildcard( sal_uInt16 nFormat, sal_Int32 nEntry );
OUString GetImportFilterType( sal_uInt16 nFormat );