From 0f9976f9cea73cf57ae8441c840523bbcd1655fc Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 6 Sep 2013 15:32:23 +0200 Subject: convert include/editeng/splwrap.hxx from String to OUString Change-Id: I52e6e34776fe494da431f8387f5f330b9aca36fe --- include/editeng/splwrap.hxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/editeng') diff --git a/include/editeng/splwrap.hxx b/include/editeng/splwrap.hxx index d4c9b8da8732..41d07530cabe 100644 --- a/include/editeng/splwrap.hxx +++ b/include/editeng/splwrap.hxx @@ -36,7 +36,7 @@ class Window; // misc functions --------------------------------------------------------------- -void EDITENG_DLLPUBLIC SvxPrepareAutoCorrect( String &rOldText, String &rNewText ); +void EDITENG_DLLPUBLIC SvxPrepareAutoCorrect( OUString &rOldText, const OUString &rNewText ); /*-------------------------------------------------------------------- Description: The SpellWrapper @@ -129,19 +129,19 @@ protected: virtual void SpellStart( SvxSpellArea eSpell ); // Preparing the area virtual sal_Bool SpellContinue(); // Check Areas // Result available through GetLast - virtual void ReplaceAll( const String &rNewText, sal_Int16 nLanguage ); //Replace word from the replace list - virtual void StartThesaurus( const String &rWord, sal_uInt16 nLang ); + virtual void ReplaceAll( const OUString &rNewText, sal_Int16 nLanguage ); //Replace word from the replace list + virtual void StartThesaurus( const OUString &rWord, sal_uInt16 nLang ); virtual ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XDictionary > GetAllRightDic() const; virtual void SpellEnd(); // Finish area virtual void ScrollArea(); // Set ScrollArea // Replace word - virtual void ChangeWord( const String& rNewWord, const sal_uInt16 nLang ); + virtual void ChangeWord( const OUString& rNewWord, const sal_uInt16 nLang ); // Wort via Thesaurus ersetzen - virtual void ChangeThesWord( const String& rNewWord ); + virtual void ChangeThesWord( const OUString& rNewWord ); virtual void SetLanguage( const sal_uInt16 nLang ); // Change Language - virtual void AutoCorrect( const String& rAktStr, const String& rNewStr ); + virtual void AutoCorrect( const OUString& rAktStr, const OUString& rNewStr ); virtual void InsertHyphen( const sal_uInt16 nPos ); // Insert hyphen }; -- cgit