diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-10 14:51:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-10-15 12:25:36 +0200 |
commit | 7c43784537119d519c724f8c3987ad4aedac10ca (patch) | |
tree | 83ea1267875f2cbb2e3138fdcb0c3cfbfd2b481d /sw/inc/iodetect.hxx | |
parent | 2ce8bbbcb51cbe2dcd91f00dc38e41eb7fce7420 (diff) |
convert sw/inc/iodetect.hxx from String to OUString
Change-Id: I0badca2b6a1d547e862eb0cd7f2887af39c988f1
Diffstat (limited to 'sw/inc/iodetect.hxx')
-rw-r--r-- | sw/inc/iodetect.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/iodetect.hxx b/sw/inc/iodetect.hxx index b47ba35fb175..e347c190c8b0 100644 --- a/sw/inc/iodetect.hxx +++ b/sw/inc/iodetect.hxx @@ -88,20 +88,20 @@ class SwIoSystem public: /// find for an internal format name the corresponding filter entry SWD_DLLPUBLIC static const SfxFilter* - GetFilterOfFormat( const String& rFormat, + GetFilterOfFormat( const OUString& rFormat, const SfxFilterContainer* pCnt = 0 ); /** Detect for the given file which filter should be used. The filter name is returned. If no filter could be found, the name of the ASCII filter is returned! */ SWD_DLLPUBLIC static const SfxFilter* - GetFileFilter( const String& rFileName, - const String& rPrefFltName, + GetFileFilter( const OUString& rFileName, + const OUString& rPrefFltName, SfxMedium* pMedium = 0 ); /** Detect whether the given file is in the given format. For now, only our own filters are supported! */ - static sal_Bool IsFileFilter(SfxMedium& rMedium, const String& rFmtName); + static sal_Bool IsFileFilter(SfxMedium& rMedium, const OUString& rFmtName); static sal_Bool IsValidStgFilter( SotStorage& , const SfxFilter& ); static sal_Bool IsValidStgFilter( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& rStg, const SfxFilter& rFilter); @@ -112,7 +112,7 @@ public: static const SfxFilter* GetTextFilter( const sal_Char* pBuf, sal_uLong nLen ); - SWD_DLLPUBLIC static const String + SWD_DLLPUBLIC static const OUString GetSubStorageName( const SfxFilter& rFltr ); }; |