dbaccess/source/core/dataaccess/documentcontainer.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
New commits: commit 6e2de428a4910bb3c6dda45a59da09ed4a1889db Author: melikeyurtoglu <aysemelikeyurto...@gmail.com> Date: Tue Feb 2 17:09:10 2016 +0200 tdf#57950 Replace chained O(U)StringBuffer::append() with operator+ Change-Id: I2576c997d5b82fd8bdfd0c9430c7a1e11d7e07df Signed-off-by: melikeyurtoglu <aysemelikeyurto...@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/22049 Reviewed-by: Michael Stahl <mst...@redhat.com> Tested-by: Michael Stahl <mst...@redhat.com> diff --git a/dbaccess/source/core/dataaccess/documentcontainer.cxx b/dbaccess/source/core/dataaccess/documentcontainer.cxx index ae5a174..8a95b71 100644 --- a/dbaccess/source/core/dataaccess/documentcontainer.cxx +++ b/dbaccess/source/core/dataaccess/documentcontainer.cxx @@ -644,11 +644,8 @@ OUString SAL_CALL ODocumentContainer::getHierarchicalName() throw (RuntimeExcept OUString SAL_CALL ODocumentContainer::composeHierarchicalName( const OUString& i_rRelativeName ) throw (IllegalArgumentException, NoSupportException, RuntimeException, std::exception) { - OUStringBuffer aBuffer; - aBuffer.append( getHierarchicalName() ); - aBuffer.append( '/' ); - aBuffer.append( i_rRelativeName ); - return aBuffer.makeStringAndClear(); + OUString aBuffer = getHierarchicalName() + "/" + i_rRelativeName; + return aBuffer; } ::rtl::Reference<OContentHelper> ODocumentContainer::getContent(const OUString& _sName) const _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits