summaryrefslogtreecommitdiff
path: root/chart2/workbench
diff options
context:
space:
mode:
authornadith <nadmalinda@gmail.com>2016-07-29 12:22:18 +0530
committerNoel Grandin <noelgrandin@gmail.com>2016-08-01 06:12:30 +0000
commitefef273e2c61b19a63572a71b103e3b1490f15af (patch)
tree1d441e00b15eabd50820cae5e300cc8a6b6bb765 /chart2/workbench
parentdadb28a2fbe3e50361b60cee9dda43b1fba3629e (diff)
tdf#100726: Improve readability of OUString concatenation
this bug fixed in the modules between canvas - cppu Change-Id: I2022b022897dafde20251352376e3facdb9b8d75 Reviewed-on: https://gerrit.libreoffice.org/27663 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'chart2/workbench')
-rw-r--r--chart2/workbench/addin/sampleaddin.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/chart2/workbench/addin/sampleaddin.cxx b/chart2/workbench/addin/sampleaddin.cxx
index d2cce93008f9..a136747f9068 100644
--- a/chart2/workbench/addin/sampleaddin.cxx
+++ b/chart2/workbench/addin/sampleaddin.cxx
@@ -41,9 +41,7 @@ sal_Bool SAL_CALL component_writeInfo(
{
try
{
- OUString aImpl( "/" );
- aImpl += SampleAddIn::getImplementationName_Static();
- aImpl += "/UNO/SERVICES";
+ OUString aImpl = "/" + SampleAddIn::getImplementationName_Static() + "/UNO/SERVICES";
uno::Reference< registry::XRegistryKey> xNewKey(
reinterpret_cast<registry::XRegistryKey*>( pRegistryKey )->createKey( aImpl ) );