diff options
author | Anderson Roberto <andersonn.roberto@gmail.com> | 2014-01-14 23:59:12 -0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-01-15 10:47:57 +0000 |
commit | 330c6cb59a3c41e40cf88b91bd6345b84049e2e8 (patch) | |
tree | dcf7aa7d6113a4d161da38ba3b7f9c2e43461447 | |
parent | 849c3d59f9838516b5e0d56a2630928629384ad3 (diff) |
fdo#57950: Remove chained appends in accessibility
Change-Id: I4ba583a891933068ab4003307d09693180c7b61f
Reviewed-on: https://gerrit.libreoffice.org/7436
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r-- | accessibility/source/extended/accessibleeditbrowseboxcell.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx index 5adf32b80aa3..de61a4a059d5 100644 --- a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx +++ b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx @@ -119,14 +119,7 @@ namespace accessibility SolarMethodGuard aGuard( *this ); // TODO: localize this! - OUStringBuffer sName; - sName.appendAscii("Column "); - sName.append(getColumnPos()-1); - - sName.appendAscii(", Row "); - sName.append(getRowPos()); - - return sName.makeStringAndClear(); + return "Column " + OUString::number(getColumnPos()-1) + ", Row " + OUString::number(getRowPos()); } // ----------------------------------------------------------------------------- |