diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-11-14 18:32:07 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-11-15 08:28:19 +0900 |
commit | 12df49396e6bcb07bafc95255a8526caac96e60a (patch) | |
tree | 4cb1411b1bc25f1df5acf00d27f22684c054763c /sfx2/source/bastyp/fltfnc.cxx | |
parent | 41ff6e79cead74ebe1a766020a07dce9125dd4ff (diff) |
replaced String in SfxPickList with rtl::OUString
Diffstat (limited to 'sfx2/source/bastyp/fltfnc.cxx')
-rw-r--r-- | sfx2/source/bastyp/fltfnc.cxx | 4 |
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 ); } |