diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-21 09:31:29 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-21 18:23:46 +0100 |
commit | 33a477004c89a166f4f684ebce0df5b3f44aef83 (patch) | |
tree | 83a3e85d9d92691681bdb8abd6de3ab35d2026b3 /sc | |
parent | 756eed8c9dc6b5d533c48bd961984b3741851886 (diff) |
coverity warnings
Change-Id: I456210188ab96e6be03e65c94eedb348cc93a8e1
Reviewed-on: https://gerrit.libreoffice.org/45023
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 'sc')
-rw-r--r-- | sc/source/ui/inc/gridwin.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx index 90307b453147..f0cd3c4ce7d3 100644 --- a/sc/source/ui/inc/gridwin.hxx +++ b/sc/source/ui/inc/gridwin.hxx @@ -24,6 +24,7 @@ #include "viewutil.hxx" #include "viewdata.hxx" #include "cbutton.hxx" +#include <o3tl/deleter.hxx> #include <svx/sdr/overlay/overlayobject.hxx> #include <com/sun/star/sheet/DataPilotFieldOrientation.hpp> #include <basegfx/matrix/b2dhommatrix.hxx> @@ -137,7 +138,7 @@ class ScGridWindow : public vcl::Window, public DropTargetHelper, public DragSou ScHSplitPos eHWhich; ScVSplitPos eVWhich; - std::unique_ptr<ScNoteMarker> mpNoteMarker; + std::unique_ptr<ScNoteMarker, o3tl::default_delete<ScNoteMarker>> mpNoteMarker; VclPtr<ScFilterListBox> mpFilterBox; VclPtr<FloatingWindow> mpFilterFloat; |