summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-16 14:20:18 +0200
committerNoel Grandin <noel@peralex.com>2013-09-17 09:06:08 +0200
commitcb4e009c4539c535108021934e545194b35cad9d (patch)
treeae8b63d0a90630cb7e5ea9cdd5997698098dbba1 /editeng
parentd63c3f0cf88cb369721939b79825dd56d1cc97de (diff)
convert GetText/PutText in SvxAutoCorrect from String to OUString
Change-Id: Id3d2122d949a7ae940e908ee7c82e6f105b68f40
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/misc/svxacorr.cxx6
1 files changed, 3 insertions, 3 deletions
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<LanguageType, SvxAutoCorrectLanguageLists>::iterator nTmpVal = pLangTable->find(eLang);
@@ -1614,14 +1614,14 @@ sal_Bool SvxAutoCorrect::MakeCombinedChanges( std::vector<SvxAutocorrWord>& 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;
}