diff options
Diffstat (limited to 'sd/source/ui/framework/tools/FrameworkHelper.cxx')
-rw-r--r-- | sd/source/ui/framework/tools/FrameworkHelper.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx index aff76eeb6dcd..5a4af572f1af 100644 --- a/sd/source/ui/framework/tools/FrameworkHelper.cxx +++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx @@ -750,21 +750,21 @@ void FrameworkHelper::UpdateConfiguration() OUString FrameworkHelper::ResourceIdToString (const Reference<XResourceId>& rxResourceId) { - OUString sString; + OUStringBuffer sString; if (rxResourceId.is()) { - sString += rxResourceId->getResourceURL(); + sString.append(rxResourceId->getResourceURL()); if (rxResourceId->hasAnchor()) { Sequence<OUString> aAnchorURLs (rxResourceId->getAnchorURLs()); for (sal_Int32 nIndex=0; nIndex < aAnchorURLs.getLength(); ++nIndex) { - sString += " | "; - sString += aAnchorURLs[nIndex]; + sString.append(" | "); + sString.append(aAnchorURLs[nIndex]); } } } - return sString; + return sString.makeStringAndClear(); } Reference<XResourceId> FrameworkHelper::CreateResourceId (const OUString& rsResourceURL) |