diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-16 22:49:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-17 07:29:11 +0200 |
commit | 30d803e83390d8a4f475522dc23bcd107f7fdc12 (patch) | |
tree | 0a2b56fb3649f3a11e152907745463ce83efb33a /xmlhelp | |
parent | 8b4719c29fc9bd7e198ad6ced301e1ff7a350f16 (diff) |
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 <sbergman@redhat.com>
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/treeview/tvread.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
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); |