summaryrefslogtreecommitdiff
path: root/vcl/source/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-07 16:28:27 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-27 08:20:43 +0000
commit644487a1152c7586a7f20c7f372572a71d8494d5 (patch)
tree683cdbd755ec1660e75f930e5be4cd6867e3e734 /vcl/source/filter
parent1b4dff2c371d31c99f34324c3f6f31888bdc34d7 (diff)
loplugin:unusedmethods
Change-Id: I161cd52606c11b6008f5d8b1d8ee391692f91861 Reviewed-on: https://gerrit.libreoffice.org/19231 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source/filter')
-rw-r--r--vcl/source/filter/FilterConfigCache.cxx18
-rw-r--r--vcl/source/filter/FilterConfigCache.hxx2
-rw-r--r--vcl/source/filter/graphicfilter.cxx24
3 files changed, 2 insertions, 42 deletions
diff --git a/vcl/source/filter/FilterConfigCache.cxx b/vcl/source/filter/FilterConfigCache.cxx
index f0bfbabdc783..8df7bfb7edab 100644
--- a/vcl/source/filter/FilterConfigCache.cxx
+++ b/vcl/source/filter/FilterConfigCache.cxx
@@ -346,17 +346,6 @@ sal_uInt16 FilterConfigCache::GetImportFormatNumberForExtension( const OUString&
return GRFILTER_FORMAT_NOTFOUND;
}
-sal_uInt16 FilterConfigCache::GetImportFormatNumberForMediaType( const OUString& rMediaType )
-{
- CacheVector::const_iterator aIter, aEnd;
- for (aIter = aImport.begin(), aEnd = aImport.end(); aIter != aEnd; ++aIter)
- {
- if ( aIter->sMediaType.equalsIgnoreAsciiCase( rMediaType ) )
- return sal::static_int_cast< sal_uInt16 >(aIter - aImport.begin());
- }
- return GRFILTER_FORMAT_NOTFOUND;
-}
-
sal_uInt16 FilterConfigCache::GetImportFormatNumberForShortName( const OUString& rShortName )
{
CacheVector::const_iterator aEnd;
@@ -515,13 +504,6 @@ OUString FilterConfigCache::GetExportFormatExtension( sal_uInt16 nFormat, sal_In
return OUString("");
}
-OUString FilterConfigCache::GetExportFilterTypeName( sal_uInt16 nFormat )
-{
- if( nFormat < aExport.size() )
- return aExport[ nFormat ].sFilterType;
- return OUString("");
-}
-
OUString FilterConfigCache::GetExportInternalFilterName( sal_uInt16 nFormat )
{
if( nFormat < aExport.size() )
diff --git a/vcl/source/filter/FilterConfigCache.hxx b/vcl/source/filter/FilterConfigCache.hxx
index f568c515b4f5..a5bfb641ff2b 100644
--- a/vcl/source/filter/FilterConfigCache.hxx
+++ b/vcl/source/filter/FilterConfigCache.hxx
@@ -85,7 +85,6 @@ public:
sal_uInt16 GetImportFormatCount() const
{ return sal::static_int_cast< sal_uInt16 >(aImport.size()); };
sal_uInt16 GetImportFormatNumber( const OUString& rFormatName );
- sal_uInt16 GetImportFormatNumberForMediaType( const OUString& rMediaType );
sal_uInt16 GetImportFormatNumberForShortName( const OUString& rShortName );
sal_uInt16 GetImportFormatNumberForTypeName( const OUString& rType );
sal_uInt16 GetImportFormatNumberForExtension( const OUString& rExt );
@@ -112,7 +111,6 @@ public:
OUString GetExportFormatMediaType( sal_uInt16 nFormat );
OUString GetExportFormatShortName( sal_uInt16 nFormat );
OUString GetExportWildcard( sal_uInt16 nFormat, sal_Int32 nEntry );
- OUString GetExportFilterTypeName( sal_uInt16 nFormat );
OUString GetExportInternalFilterName( sal_uInt16 nFormat );
bool IsExportInternalFilter( sal_uInt16 nFormat );
diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx
index 73807d4e9306..7b763996890c 100644
--- a/vcl/source/filter/graphicfilter.cxx
+++ b/vcl/source/filter/graphicfilter.cxx
@@ -1155,11 +1155,6 @@ sal_uInt16 GraphicFilter::GetImportFormatNumber( const OUString& rFormatName )
return pConfig->GetImportFormatNumber( rFormatName );
}
-sal_uInt16 GraphicFilter::GetImportFormatNumberForMediaType( const OUString& rMediaType )
-{
- return pConfig->GetImportFormatNumberForMediaType( rMediaType );
-}
-
sal_uInt16 GraphicFilter::GetImportFormatNumberForShortName( const OUString& rShortName )
{
return pConfig->GetImportFormatNumberForShortName( rShortName );
@@ -1180,22 +1175,18 @@ OUString GraphicFilter::GetImportFormatTypeName( sal_uInt16 nFormat )
return pConfig->GetImportFilterTypeName( nFormat );
}
+#ifdef WNT
OUString GraphicFilter::GetImportFormatMediaType( sal_uInt16 nFormat )
{
return pConfig->GetImportFormatMediaType( nFormat );
}
+#endif
OUString GraphicFilter::GetImportFormatShortName( sal_uInt16 nFormat )
{
return pConfig->GetImportFormatShortName( nFormat );
}
-OUString GraphicFilter::GetImportOSFileType( sal_uInt16 )
-{
- OUString aOSFileType;
- return aOSFileType;
-}
-
OUString GraphicFilter::GetImportWildcard( sal_uInt16 nFormat, sal_Int32 nEntry )
{
return pConfig->GetImportWildcard( nFormat, nEntry );
@@ -1236,11 +1227,6 @@ OUString GraphicFilter::GetExportFormatName( sal_uInt16 nFormat )
return pConfig->GetExportFormatName( nFormat );
}
-OUString GraphicFilter::GetExportFormatTypeName( sal_uInt16 nFormat )
-{
- return pConfig->GetExportFilterTypeName( nFormat );
-}
-
OUString GraphicFilter::GetExportFormatMediaType( sal_uInt16 nFormat )
{
return pConfig->GetExportFormatMediaType( nFormat );
@@ -1251,12 +1237,6 @@ OUString GraphicFilter::GetExportFormatShortName( sal_uInt16 nFormat )
return pConfig->GetExportFormatShortName( nFormat );
}
-OUString GraphicFilter::GetExportOSFileType( sal_uInt16 )
-{
- OUString aOSFileType;
- return aOSFileType;
-}
-
OUString GraphicFilter::GetExportWildcard( sal_uInt16 nFormat, sal_Int32 nEntry )
{
return pConfig->GetExportWildcard( nFormat, nEntry );