summaryrefslogtreecommitdiff
path: root/vcl/source/edit
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-01-31 10:18:04 +0100
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-02-04 18:51:15 +0000
commit3270fc628b2e6a8f73ff0d1e4389d9c7595e0a50 (patch)
tree591395ff88d304a852dba86b7dcaaf93b3f2c125 /vcl/source/edit
parent71ca001ae1621a0a48fb7377c2afd3697e2a2203 (diff)
use OUString(Buffer) in class Edit
replaced Len() with isEmpty() where appropriate Change-Id: I5a5847d6055f376fd5f86079aa1736541d790fff Reviewed-on: https://gerrit.libreoffice.org/1892 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Diffstat (limited to 'vcl/source/edit')
-rw-r--r--vcl/source/edit/vclmedit.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx
index 7bcde9360b2b..e7bc99cac493 100644
--- a/vcl/source/edit/vclmedit.cxx
+++ b/vcl/source/edit/vclmedit.cxx
@@ -1126,7 +1126,7 @@ xub_StrLen VclMultiLineEdit::GetMaxTextLen() const
return pImpVclMEdit->GetMaxTextLen();
}
-void VclMultiLineEdit::ReplaceSelected( const String& rStr )
+void VclMultiLineEdit::ReplaceSelected( const OUString& rStr )
{
pImpVclMEdit->InsertText( rStr );
}
@@ -1136,12 +1136,12 @@ void VclMultiLineEdit::DeleteSelected()
pImpVclMEdit->InsertText( String() );
}
-String VclMultiLineEdit::GetSelected() const
+OUString VclMultiLineEdit::GetSelected() const
{
return pImpVclMEdit->GetSelected();
}
-String VclMultiLineEdit::GetSelected( LineEnd aSeparator ) const
+OUString VclMultiLineEdit::GetSelected( LineEnd aSeparator ) const
{
return pImpVclMEdit->GetSelected( aSeparator );
}