diff options
Diffstat (limited to 'sc/source/ui/navipi/content.cxx')
-rw-r--r-- | sc/source/ui/navipi/content.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx index c26808a26ece..8d120a9194f5 100644 --- a/sc/source/ui/navipi/content.cxx +++ b/sc/source/ui/navipi/content.cxx @@ -863,11 +863,7 @@ namespace { OUString createLocalRangeName(const OUString& rName, const OUString& rTableName) { - OUStringBuffer aString (rName); - aString.append(" ("); - aString.append(rTableName); - aString.append(")"); - return aString.makeStringAndClear(); + return rName + " (" + rTableName + ")"; } } |