diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-16 14:20:18 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-09-17 09:06:08 +0200 |
commit | cb4e009c4539c535108021934e545194b35cad9d (patch) | |
tree | ae8b63d0a90630cb7e5ea9cdd5997698098dbba1 /sw | |
parent | d63c3f0cf88cb369721939b79825dd56d1cc97de (diff) |
convert GetText/PutText in SvxAutoCorrect from String to OUString
Change-Id: Id3d2122d949a7ae940e908ee7c82e6f105b68f40
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) ) ) |