xmlhelp/source/treeview/tvread.cxx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)
New commits: commit 30d803e83390d8a4f475522dc23bcd107f7fdc12 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Wed Oct 16 22:49:10 2019 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Oct 17 07:29:11 2019 +0200 Remove code that is dead ...ever since 8f55fe4c6c73f110b1c72903c209399ff2527ea5 "INTEGRATION: CWS help2" dropped p->application and "/" from strBuff. Change-Id: I48aa9271daac4caf23d932741a5c75cb00ad7ee9 Reviewed-on: https://gerrit.libreoffice.org/80924 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/xmlhelp/source/treeview/tvread.cxx b/xmlhelp/source/treeview/tvread.cxx index f0331dea7a29..ddfba452c67d 100644 --- a/xmlhelp/source/treeview/tvread.cxx +++ b/xmlhelp/source/treeview/tvread.cxx @@ -123,15 +123,7 @@ namespace treeview { { if( targetURL.isEmpty() ) { - sal_Int32 len; - for ( const TVDom* p = this;; p = p->parent ) - { - len = p->application.getLength(); - if ( len != 0 ) - break; - } - - OUStringBuffer strBuff( 22 + len + id.getLength() ); + OUStringBuffer strBuff( 21 + id.getLength() ); strBuff.append( "vnd.sun.star.help://" ).append(id); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits