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>
This commit is contained in:
committed by
Noel Grandin
parent
849c3d59f9
commit
330c6cb59a
@@ -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());
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user