summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-19 14:40:07 +0200
committerNoel Grandin <noel@peralex.com>2013-08-22 10:49:25 +0200
commit823a6cb82555709e50f281a68ff64442001a011b (patch)
treed1469f82bf7e9c608c93a66a6796606cc1e4c847 /include
parent05211578784c28365ec2b328090a01fc5dc0bfea (diff)
convert include/svtools/edit*.hxx from String to OUString
Change-Id: Iae86236aa3af31b09cddeca0a9725b4f5e125d6c
Diffstat (limited to 'include')
-rw-r--r--include/svtools/editbrowsebox.hxx18
-rw-r--r--include/svtools/editimplementation.hxx6
2 files changed, 12 insertions, 12 deletions
diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx
index 6add6f741c76..c968477ee15a 100644
--- a/include/svtools/editbrowsebox.hxx
+++ b/include/svtools/editbrowsebox.hxx
@@ -128,7 +128,7 @@ namespace svt
virtual Control& GetControl() = 0;
- virtual String GetText( LineEnd aSeparator ) const = 0;
+ virtual OUString GetText( LineEnd aSeparator ) const = 0;
virtual void SetText( const OUString& _rStr ) = 0;
virtual sal_Bool IsReadOnly() const = 0;
@@ -140,9 +140,9 @@ namespace svt
virtual Selection GetSelection() const = 0;
virtual void SetSelection( const Selection& _rSelection ) = 0;
- virtual void ReplaceSelected( const String& _rStr ) = 0;
+ virtual void ReplaceSelected( const OUString& _rStr ) = 0;
virtual void DeleteSelected() = 0;
- virtual String GetSelected( LineEnd aSeparator ) const = 0;
+ virtual OUString GetSelected( LineEnd aSeparator ) const = 0;
virtual void SetModified() = 0;
virtual sal_Bool IsModified() const = 0;
@@ -164,10 +164,10 @@ namespace svt
virtual Control& GetControl();
- virtual String GetText( LineEnd aSeparator ) const;
+ virtual OUString GetText( LineEnd aSeparator ) const;
virtual void SetText( const OUString& _rStr );
- virtual sal_Bool IsReadOnly() const;
+ virtual sal_Bool IsReadOnly() const;
virtual void SetReadOnly( sal_Bool bReadOnly );
virtual xub_StrLen GetMaxTextLen() const;
@@ -176,9 +176,9 @@ namespace svt
virtual Selection GetSelection() const;
virtual void SetSelection( const Selection& _rSelection );
- virtual void ReplaceSelected( const String& _rStr );
+ virtual void ReplaceSelected( const OUString& _rStr );
virtual void DeleteSelected();
- virtual String GetSelected( LineEnd aSeparator ) const;
+ virtual OUString GetSelected( LineEnd aSeparator ) const;
virtual void SetModified();
virtual sal_Bool IsModified() const;
@@ -225,8 +225,8 @@ namespace svt
{
}
- virtual String GetText( LineEnd aSeparator ) const;
- virtual String GetSelected( LineEnd aSeparator ) const;
+ virtual OUString GetText( LineEnd aSeparator ) const;
+ virtual OUString GetSelected( LineEnd aSeparator ) const;
};
//==================================================================
diff --git a/include/svtools/editimplementation.hxx b/include/svtools/editimplementation.hxx
index 983bf6dae5e8..19fb48fabdec 100644
--- a/include/svtools/editimplementation.hxx
+++ b/include/svtools/editimplementation.hxx
@@ -37,7 +37,7 @@ Control& GenericEditImplementation< EDIT >::GetControl()
//----------------------------------------------------------------------
template <class EDIT>
-String GenericEditImplementation< EDIT >::GetText( LineEnd ) const
+OUString GenericEditImplementation< EDIT >::GetText( LineEnd ) const
{
// ignore the line end - this base implementation does not support it
return m_rEdit.GetText( );
@@ -80,7 +80,7 @@ sal_Bool GenericEditImplementation< EDIT >::IsReadOnly() const
//----------------------------------------------------------------------
template <class EDIT>
-void GenericEditImplementation< EDIT >::ReplaceSelected( const String& _rStr )
+void GenericEditImplementation< EDIT >::ReplaceSelected( const OUString& _rStr )
{
m_rEdit.ReplaceSelected( _rStr );
}
@@ -94,7 +94,7 @@ void GenericEditImplementation< EDIT >::DeleteSelected()
//----------------------------------------------------------------------
template <class EDIT>
-String GenericEditImplementation< EDIT >::GetSelected( LineEnd ) const
+OUString GenericEditImplementation< EDIT >::GetSelected( LineEnd ) const
{
return m_rEdit.GetSelected( );
}