summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2013-07-28 16:40:20 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-07-30 14:40:30 +0000
commit31ab7f0c7d20f1d7be5ce818d0d99b6bd5a8edde (patch)
treef3e2407665932d3467deee25ecbaf588b9e88bd8 /editeng
parent1c48e4efa2369e5708798bdefb46b74a86415d00 (diff)
String to OUString
Change-Id: I8d4f62b473ad43807621a9dbb826ed33857b737e Reviewed-on: https://gerrit.libreoffice.org/5189 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/qa/unit/core-test.cxx2
-rw-r--r--editeng/source/editeng/edtspell.cxx2
-rw-r--r--editeng/source/editeng/edtspell.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/editeng/qa/unit/core-test.cxx b/editeng/qa/unit/core-test.cxx
index 0975efb9afde..ae3749c51450 100644
--- a/editeng/qa/unit/core-test.cxx
+++ b/editeng/qa/unit/core-test.cxx
@@ -253,7 +253,7 @@ private:
//fprintf(stderr, "TestAutoCorrDoc::SetAttr\n");
return true;
}
- virtual sal_Bool SetINetAttr( xub_StrLen, xub_StrLen, const String& )
+ virtual sal_Bool SetINetAttr( xub_StrLen, xub_StrLen, const OUString& )
{
//fprintf(stderr, "TestAutoCorrDoc::SetINetAttr\n");
return true;
diff --git a/editeng/source/editeng/edtspell.cxx b/editeng/source/editeng/edtspell.cxx
index 3e1a3c9675f2..37b1bf6f862b 100644
--- a/editeng/source/editeng/edtspell.cxx
+++ b/editeng/source/editeng/edtspell.cxx
@@ -660,7 +660,7 @@ sal_Bool EdtAutoCorrDoc::SetAttr( sal_uInt16 nStt, sal_uInt16 nEnd,
}
sal_Bool EdtAutoCorrDoc::SetINetAttr( sal_uInt16 nStt, sal_uInt16 nEnd,
- const String& rURL )
+ const OUString& rURL )
{
// Turn the Text into a command field ...
EditSelection aSel( EditPaM( pCurNode, nStt ), EditPaM( pCurNode, nEnd ) );
diff --git a/editeng/source/editeng/edtspell.hxx b/editeng/source/editeng/edtspell.hxx
index 699a6dff358e..7df5e084e8d8 100644
--- a/editeng/source/editeng/edtspell.hxx
+++ b/editeng/source/editeng/edtspell.hxx
@@ -148,7 +148,7 @@ public:
virtual sal_Bool ReplaceRange( xub_StrLen nPos, xub_StrLen nLen, const String& rTxt );
virtual sal_Bool SetAttr( sal_uInt16 nStt, sal_uInt16 nEnd, sal_uInt16 nSlotId, SfxPoolItem& );
- virtual sal_Bool SetINetAttr( sal_uInt16 nStt, sal_uInt16 nEnd, const String& rURL );
+ virtual sal_Bool SetINetAttr( sal_uInt16 nStt, sal_uInt16 nEnd, const OUString& rURL );
virtual const String* GetPrevPara( sal_Bool bAtNormalPos );