summaryrefslogtreecommitdiff
path: root/sfx2/source/bastyp/fltfnc.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-11-15 23:53:00 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-11-16 00:43:11 +0900
commitdfd08cdf16e5b46b05dadb5fb3a2b32349ec5df5 (patch)
tree3e72cd620b9c5175853c0f587a330afd66b38d2b /sfx2/source/bastyp/fltfnc.cxx
parenta8b0407fef14cd89e3eb571c88ce3cb9edf70149 (diff)
replaced String in SfxPickList with rtl::OUString
this consists of 12df49396e6bcb07bafc95255a8526caac96e60a and related changes
Diffstat (limited to 'sfx2/source/bastyp/fltfnc.cxx')
-rw-r--r--sfx2/source/bastyp/fltfnc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx
index 2d347781f585..36c4b133a5a2 100644
--- a/sfx2/source/bastyp/fltfnc.cxx
+++ b/sfx2/source/bastyp/fltfnc.cxx
@@ -649,7 +649,7 @@ const SfxFilter* SfxFilterMatcher::GetFilterForProps( const com::sun::star::uno:
return 0;
}
-const SfxFilter* SfxFilterMatcher::GetFilter4Mime( const String& rMediaType,SfxFilterFlags nMust, SfxFilterFlags nDont ) const
+const SfxFilter* SfxFilterMatcher::GetFilter4Mime( const ::rtl::OUString& rMediaType, SfxFilterFlags nMust, SfxFilterFlags nDont ) const
{
if ( m_rImpl.pList )
{
@@ -666,7 +666,7 @@ const SfxFilter* SfxFilterMatcher::GetFilter4Mime( const String& rMediaType,SfxF
com::sun::star::uno::Sequence < com::sun::star::beans::NamedValue > aSeq(1);
aSeq[0].Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MediaType"));
- aSeq[0].Value <<= ::rtl::OUString( rMediaType );
+ aSeq[0].Value <<= rMediaType;
return GetFilterForProps( aSeq, nMust, nDont );
}