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 /include/editeng | |
parent | d63c3f0cf88cb369721939b79825dd56d1cc97de (diff) |
convert GetText/PutText in SvxAutoCorrect from String to OUString
Change-Id: Id3d2122d949a7ae940e908ee7c82e6f105b68f40
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/svxacorr.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx index 085c1c708f63..b9dd6f4757e0 100644 --- a/include/editeng/svxacorr.hxx +++ b/include/editeng/svxacorr.hxx @@ -266,7 +266,7 @@ protected: // - Text with attribution (only the SWG - SWG format!) // rShort is the stream name - encrypted! virtual sal_Bool PutText( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& rStg, - const String& rFileName, const String& rShort, SfxObjectShell&, OUString& ); + const OUString& rFileName, const OUString& rShort, SfxObjectShell&, OUString& ); // required language in the table add if possible only when the file exists sal_Bool CreateLanguageFile(LanguageType eLang, sal_Bool bNewFile = sal_True); @@ -278,7 +278,7 @@ public: sal_Unicode GetQuote( sal_Unicode cInsChar, sal_Bool bSttQuote, LanguageType eLang ) const; virtual sal_Bool GetLongText( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& rStg, - const String& rFileName, const String& rShort, OUString& rLong ); + const OUString& rFileName, const OUString& rShort, OUString& rLong ); TYPEINFO(); @@ -352,9 +352,9 @@ public: // Save these directly in the storage. The word list is updated // accordingly! // - pure Text - sal_Bool PutText( const String& rShort, const String& rLong, LanguageType eLang = LANGUAGE_SYSTEM ); + sal_Bool PutText( const OUString& rShort, const OUString& rLong, LanguageType eLang = LANGUAGE_SYSTEM ); // - Text with attribution (only in the SWG - SWG format!) - sal_Bool PutText( const String& rShort, SfxObjectShell& rShell, + sal_Bool PutText( const OUString& rShort, SfxObjectShell& rShell, LanguageType eLang = LANGUAGE_SYSTEM ) { return _GetLanguageList( eLang ).PutText(rShort, rShell ); } |