diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/swacorr.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/sw3io/swacorr.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/swacorr.hxx b/sw/inc/swacorr.hxx index 98799465c98a..0c26eb08591e 100644 --- a/sw/inc/swacorr.hxx +++ b/sw/inc/swacorr.hxx @@ -32,12 +32,12 @@ protected: // Return replacement text (only for SWG-format, all others can be obtained from wordlist!). // rShort is stream-name - encrypted! virtual sal_Bool GetLongText( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >&, - const String& rFileName, const String& rShort, OUString& rLong ); + const OUString& rFileName, const OUString& rShort, OUString& rLong ); // Text with attributes (only SWG-format!). // rShort is stream-name - encrypted! virtual sal_Bool PutText( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >&, - const String& rFileName, const String& rShort, SfxObjectShell&, OUString& ); + const OUString& rFileName, const OUString& rShort, SfxObjectShell&, OUString& ); public: TYPEINFO(); diff --git a/sw/source/core/sw3io/swacorr.cxx b/sw/source/core/sw3io/swacorr.cxx index 92d3b4c12d59..7b38daee9933 100644 --- a/sw/source/core/sw3io/swacorr.cxx +++ b/sw/source/core/sw3io/swacorr.cxx @@ -36,7 +36,7 @@ TYPEINIT1( SwAutoCorrect, SvxAutoCorrect ); // rShort ist der Stream-Name - gecryptet! sal_Bool SwAutoCorrect::GetLongText( const uno::Reference < embed::XStorage >& rStg, - const String& rFileName, const String& rShort, OUString& rLong ) + const OUString& rFileName, const OUString& rShort, OUString& rLong ) { sal_uLong nRet = 0; if (rStg.is()) @@ -54,7 +54,7 @@ sal_Bool SwAutoCorrect::GetLongText( const uno::Reference < embed::XStorage >& r // - Text mit Attributierung (kann nur der SWG - SWG-Format!) // rShort ist der Stream-Name - gecryptet! sal_Bool SwAutoCorrect::PutText( const uno::Reference < embed::XStorage >& rStg, - const String& rFileName, const String& rShort, + const OUString& rFileName, const OUString& rShort, SfxObjectShell& rObjSh, OUString& rLong ) { if( !rObjSh.IsA( TYPE(SwDocShell) ) ) |