summaryrefslogtreecommitdiff
path: root/include/editeng/splwrap.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-06 15:32:23 +0200
committerNoel Grandin <noel@peralex.com>2013-09-11 09:45:31 +0200
commit0f9976f9cea73cf57ae8441c840523bbcd1655fc (patch)
tree693b0f961741de520a30c88ea6c976d60d5d297c /include/editeng/splwrap.hxx
parent76fa859ac1f7e1b754ddc1a4c7d5685342c58455 (diff)
convert include/editeng/splwrap.hxx from String to OUString
Change-Id: I52e6e34776fe494da431f8387f5f330b9aca36fe
Diffstat (limited to 'include/editeng/splwrap.hxx')
-rw-r--r--include/editeng/splwrap.hxx12
1 files changed, 6 insertions, 6 deletions
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
};