summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-11-22 20:46:42 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-11-23 21:28:47 +0100
commit462866cfdc57e6901ae2c28a2b73e59e6f920fde (patch)
treebc8dfdcd1ae8c5d8445393b70925770c240daa74 /basic
parent6f394daa4828743a165121d9e8e1e2c7a63a1200 (diff)
various coverity warnings
Change-Id: I27f20c51f86aeaed8e932f7ca45cce8770bc34ec Reviewed-on: https://gerrit.libreoffice.org/45140 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/inc/runtime.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/basic/source/inc/runtime.hxx b/basic/source/inc/runtime.hxx
index 647fe364274e..dc92fb87f3d9 100644
--- a/basic/source/inc/runtime.hxx
+++ b/basic/source/inc/runtime.hxx
@@ -35,6 +35,7 @@
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/container/XEnumeration.hpp>
#include <unotools/localedatawrapper.hxx>
+#include <o3tl/deleter.hxx>
#include <o3tl/typed_flags_set.hxx>
class SbiInstance; // active StarBASIC process
@@ -127,7 +128,7 @@ class SbiInstance
SbiRTLData aRTLData;
// file system
- std::unique_ptr<SbiIoSystem> pIosys;
+ std::unique_ptr<SbiIoSystem, o3tl::default_delete<SbiIoSystem>> pIosys;
// DDE
std::unique_ptr<SbiDdeControl> pDdeCtrl;
// DLL-Calls (DECLARE)