diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-26 13:26:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-28 07:19:46 +0100 |
commit | 65f007c629e5a7b2710e21e3f26164b433576e27 (patch) | |
tree | d064b7c23ffe3948443fe1a4499a56308e01f97a /basctl/source/basicide | |
parent | 1446e097e76669c0d7749ec0f8918606d3cc4c28 (diff) |
remove some unused local vars
found by my new aggressive unused var plugin. these are unused return
values from function calls
Change-Id: I3359c583f535828f192cb833762dfedc008d82f0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87439
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl/source/basicide')
-rw-r--r-- | basctl/source/basicide/moduldl2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index c0ab18750539..ae7f57786614 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -1320,8 +1320,8 @@ void createLibImpl(weld::Window* pWin, const ScriptDocument& rDocument, try { // create module and dialog library - Reference< container::XNameContainer > xModLib( rDocument.getOrCreateLibrary( E_SCRIPTS, aLibName ) ); - Reference< container::XNameContainer > xDlgLib( rDocument.getOrCreateLibrary( E_DIALOGS, aLibName ) ); + rDocument.getOrCreateLibrary( E_SCRIPTS, aLibName ); + rDocument.getOrCreateLibrary( E_DIALOGS, aLibName ); if( pLibBox ) { |