diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-09-03 18:29:30 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-04 09:57:11 +0000 |
commit | 9a0d753b84aed53083bed3ed460308b771f432a8 (patch) | |
tree | c4c27c8f8eb8c1a08df3f6e87e230918a1784eb1 /svx/source | |
parent | ed87e4c4b09d0f623c350528a4f6a6d049735bd1 (diff) |
String to OUString
Change-Id: I8c51db8fce8c5eea1ac7bd5751aa7f3212ef1166
Reviewed-on: https://gerrit.libreoffice.org/5790
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/accessibility/AccessibleEmptyEditSource.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/accessibility/AccessibleEmptyEditSource.cxx b/svx/source/accessibility/AccessibleEmptyEditSource.cxx index 1f2b3b9efd82..88d79be8a990 100644 --- a/svx/source/accessibility/AccessibleEmptyEditSource.cxx +++ b/svx/source/accessibility/AccessibleEmptyEditSource.cxx @@ -97,7 +97,7 @@ namespace accessibility // SvxTextForwarder sal_Int32 GetParagraphCount() const { return 1; } sal_uInt16 GetTextLen( sal_Int32 /*nParagraph*/ ) const { return 0; } - String GetText( const ESelection& /*rSel*/ ) const { return String(); } + OUString GetText( const ESelection& /*rSel*/ ) const { return String(); } SfxItemSet GetAttribs( const ESelection& /*rSel*/, sal_Bool /*bOnlyHardAttrib*/ = 0 ) const { // AW: Very dangerous: The former implementation used a SfxItemPool created on the @@ -115,7 +115,7 @@ namespace accessibility SfxItemPool* GetPool() const { return NULL; } - void QuickInsertText( const String& /*rText*/, const ESelection& /*rSel*/ ) {} + void QuickInsertText( const OUString& /*rText*/, const ESelection& /*rSel*/ ) {} void QuickInsertField( const SvxFieldItem& /*rFld*/, const ESelection& /*rSel*/ ) {} void QuickSetAttribs( const SfxItemSet& /*rSet*/, const ESelection& /*rSel*/ ) {} void QuickInsertLineBreak( const ESelection& /*rSel*/ ) {} @@ -123,7 +123,7 @@ namespace accessibility const SfxItemSet * GetEmptyItemSetPtr() { return 0; } void AppendParagraph() {} - xub_StrLen AppendTextPortion( sal_Int32 /*nPara*/, const String & /*rText*/, const SfxItemSet & /*rSet*/ ) { return 0; } + sal_uInt16 AppendTextPortion( sal_Int32 /*nPara*/, const OUString & /*rText*/, const SfxItemSet & /*rSet*/ ) { return 0; } //XTextCopy void CopyText(const SvxTextForwarder& ){} @@ -162,7 +162,7 @@ namespace accessibility // longer be possible to enter text in previously empty // shapes). sal_Bool Delete( const ESelection& ) { return sal_False; } - sal_Bool InsertText( const String&, const ESelection& ) { return sal_False; } + sal_Bool InsertText( const OUString&, const ESelection& ) { return sal_False; } sal_Bool QuickFormatDoc( sal_Bool ) { return sal_True; } sal_Int16 GetDepth( sal_Int32 ) const { return -1; } sal_Bool SetDepth( sal_Int32, sal_Int16 ) { return sal_True; } |