diff options
Diffstat (limited to 'sw/source/core/sw3io/swacorr.cxx')
-rw-r--r-- | sw/source/core/sw3io/swacorr.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/sw3io/swacorr.cxx b/sw/source/core/sw3io/swacorr.cxx index be0fdf0ac441..6c9a4c52a111 100644 --- a/sw/source/core/sw3io/swacorr.cxx +++ b/sw/source/core/sw3io/swacorr.cxx @@ -52,9 +52,9 @@ TYPEINIT1( SwAutoCorrect, SvxAutoCorrect ); // koennen aus der Wortliste herausgeholt werden!) // rShort ist der Stream-Name - gecryptet! -BOOL SwAutoCorrect::GetLongText( const uno::Reference < embed::XStorage >& rStg, const String& rFileName, const String& rShort, String& rLong ) +sal_Bool SwAutoCorrect::GetLongText( const uno::Reference < embed::XStorage >& rStg, const String& rFileName, const String& rShort, String& rLong ) { - ULONG nRet = 0; + sal_uLong nRet = 0; if (rStg.is()) { // mba: relative URLs don't make sense here @@ -69,14 +69,14 @@ BOOL SwAutoCorrect::GetLongText( const uno::Reference < embed::XStorage >& rStg, // - Text mit Attributierung (kann nur der SWG - SWG-Format!) // rShort ist der Stream-Name - gecryptet! -BOOL SwAutoCorrect::PutText( const uno::Reference < embed::XStorage >& rStg, const String& rFileName, const String& rShort, +sal_Bool SwAutoCorrect::PutText( const uno::Reference < embed::XStorage >& rStg, const String& rFileName, const String& rShort, SfxObjectShell& rObjSh, String& rLong ) { if( !rObjSh.IsA( TYPE(SwDocShell) ) ) - return FALSE; + return sal_False; SwDocShell& rDShell = (SwDocShell&)rObjSh; - ULONG nRet = 0; + sal_uLong nRet = 0; // mba: relative URLs don't make sense here SwXMLTextBlocks aBlk( rStg, rFileName ); @@ -87,7 +87,7 @@ BOOL SwAutoCorrect::PutText( const uno::Reference < embed::XStorage >& rStg, co { ((SwEditShell*)rDShell.GetWrtShell())->_CopySelToDoc( pDoc ); nRet = aBlk.PutDoc(); - aBlk.AddName ( rShort, rShort, FALSE ); + aBlk.AddName ( rShort, rShort, sal_False ); if( !IsError( nRet ) ) nRet = aBlk.GetText( rShort, rLong ); } |