diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-01-17 15:06:54 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-01-17 15:06:54 +0100 |
commit | 7f33ed417b2e29e5470724ea76967f64699a2662 (patch) | |
tree | abfa1432c5ffffe4c7502d4ddcaee918c584c69c /sw/inc/iodetect.hxx | |
parent | 80731dbfcb48a2ffec30a4b2abe1ba8ada8f0169 (diff) |
removetooltypes01: #i112600# Remove tools types from sw
Diffstat (limited to 'sw/inc/iodetect.hxx')
-rw-r--r-- | sw/inc/iodetect.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/inc/iodetect.hxx b/sw/inc/iodetect.hxx index 22ecd7bb0a36..2fb66559b98d 100644 --- a/sw/inc/iodetect.hxx +++ b/sw/inc/iodetect.hxx @@ -56,9 +56,9 @@ struct SwIoDetect { const sal_Char* pName; - USHORT nLen; + sal_uInt16 nLen; - inline SwIoDetect( const sal_Char *pN, USHORT nL ) + inline SwIoDetect( const sal_Char *pN, sal_uInt16 nL ) : pName( pN ), nLen( nL ) {} @@ -67,7 +67,7 @@ struct SwIoDetect return pName && rNm.EqualsAscii( pName, 0, nLen ); } - const sal_Char* IsReader( const sal_Char* pHeader, ULONG nLen_, + const sal_Char* IsReader( const sal_Char* pHeader, sal_uLong nLen_, const String &rFileName, const String& rUserData ) const; }; @@ -109,17 +109,17 @@ public: // Feststellen ob das File in dem vorgegebenen Format vorliegt. // Z.z werden nur unsere eigene Filter unterstuetzt!! - static BOOL IsFileFilter( SfxMedium& rMedium, const String& rFmtName, + static sal_Bool IsFileFilter( SfxMedium& rMedium, const String& rFmtName, const SfxFilter** ppFlt = 0 ); - static BOOL IsValidStgFilter( SotStorage& , const SfxFilter& ); - static BOOL IsValidStgFilter( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& rStg, const SfxFilter& rFilter); + 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); - static bool IsDetectableText( const sal_Char* pBuf, ULONG &rLen, + static bool IsDetectableText( const sal_Char* pBuf, sal_uLong &rLen, CharSet *pCharSet=0, bool *pSwap=0, LineEnd *pLineEnd=0, bool bEncodedFilter = false ); // static bool IsDetectableW4W(const String& rFileName, const String& rUserData); - static const SfxFilter* GetTextFilter( const sal_Char* pBuf, ULONG nLen ); + static const SfxFilter* GetTextFilter( const sal_Char* pBuf, sal_uLong nLen ); static const String GetSubStorageName( const SfxFilter& rFltr ); }; |