From cb4e009c4539c535108021934e545194b35cad9d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 16 Sep 2013 14:20:18 +0200 Subject: convert GetText/PutText in SvxAutoCorrect from String to OUString Change-Id: Id3d2122d949a7ae940e908ee7c82e6f105b68f40 --- editeng/source/misc/svxacorr.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'editeng') diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index fce15768b79b..9d5fd1ddcca5 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -1582,7 +1582,7 @@ sal_Bool SvxAutoCorrect::CreateLanguageFile( LanguageType eLang, sal_Bool bNewFi return pLists != 0; } -sal_Bool SvxAutoCorrect::PutText( const String& rShort, const String& rLong, +sal_Bool SvxAutoCorrect::PutText( const OUString& rShort, const OUString& rLong, LanguageType eLang ) { boost::ptr_map::iterator nTmpVal = pLangTable->find(eLang); @@ -1614,14 +1614,14 @@ sal_Bool SvxAutoCorrect::MakeCombinedChanges( std::vector& aNew // - return the replacement text (only for SWG-Format, all other // can be taken from the word list!) sal_Bool SvxAutoCorrect::GetLongText( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >&, - const String&, const String&, OUString& ) + const OUString&, const OUString&, OUString& ) { return sal_False; } // Text with attribution (only the SWG - SWG format!) sal_Bool SvxAutoCorrect::PutText( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >&, - const String&, const String&, SfxObjectShell&, OUString& ) + const OUString&, const OUString&, SfxObjectShell&, OUString& ) { return sal_False; } -- cgit