[Libreoffice-commits] core.git: accessibility/source

Anderson Roberto andersonn.roberto at gmail.com
Wed Jan 15 02:48:21 PST 2014


 accessibility/source/extended/accessibleeditbrowseboxcell.cxx |    9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

New commits:
commit 330c6cb59a3c41e40cf88b91bd6345b84049e2e8
Author: Anderson Roberto <andersonn.roberto at gmail.com>
Date:   Tue Jan 14 23:59:12 2014 -0200

    fdo#57950: Remove chained appends in accessibility
    
    Change-Id: I4ba583a891933068ab4003307d09693180c7b61f
    Reviewed-on: https://gerrit.libreoffice.org/7436
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
    Tested-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx
index 5adf32b8..de61a4a 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());
     }
 
     // -----------------------------------------------------------------------------


More information about the Libreoffice-commits mailing list