summaryrefslogtreecommitdiff
path: root/sw/inc/iodetect.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/iodetect.hxx')
-rw-r--r--sw/inc/iodetect.hxx16
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 );
};