diff options
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r-- | sfx2/source/doc/Metadatable.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sfx2/source/doc/Metadatable.cxx b/sfx2/source/doc/Metadatable.cxx index ea221535863c..13d3021bc95f 100644 --- a/sfx2/source/doc/Metadatable.cxx +++ b/sfx2/source/doc/Metadatable.cxx @@ -1527,11 +1527,7 @@ OUString SAL_CALL MetadatableMixin::getLocalName() ensureMetadataReference(); // N.B.: side effect! mdref = getMetadataReference(); } - OUStringBuffer buf; - buf.append(mdref.First); - buf.append('#'); - buf.append(mdref.Second); - return buf.makeStringAndClear(); + return mdref.First + "#" + mdref.Second; } OUString SAL_CALL MetadatableMixin::getNamespace() |