summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-12-20 15:16:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-12-21 11:27:06 +0100
commit9a1a1ba6f5c989f40c966895fa968b35a84fe02e (patch)
tree06c978fdece7dc23cd7c5069b5356670d440ec5c
parent750033e66585ddd4b4a8e5fe29b5a6739351403f (diff)
fix some runtime warnings
Change-Id: Ifffd65c6301fc7599927c095de07a34c0a5246c8 Reviewed-on: https://gerrit.libreoffice.org/85615 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--chart2/source/controller/sidebar/ChartTypePanel.cxx4
-rw-r--r--sc/uiconfig/scalc/ui/functionpanel.ui1
2 files changed, 4 insertions, 1 deletions
diff --git a/chart2/source/controller/sidebar/ChartTypePanel.cxx b/chart2/source/controller/sidebar/ChartTypePanel.cxx
index 88fd04440e58..5042fd184b34 100644
--- a/chart2/source/controller/sidebar/ChartTypePanel.cxx
+++ b/chart2/source/controller/sidebar/ChartTypePanel.cxx
@@ -144,6 +144,10 @@ void ChartTypePanel::dispose()
m_xSubTypeListWin.reset();
m_xSubTypeList.reset();
+ m_xSubTypeListWin.reset();
+ m_xSubTypeList.reset();
+ m_xMainTypeList.reset();
+
PanelLayout::dispose();
}
diff --git a/sc/uiconfig/scalc/ui/functionpanel.ui b/sc/uiconfig/scalc/ui/functionpanel.ui
index ef3935a51ed7..67cc3265988d 100644
--- a/sc/uiconfig/scalc/ui/functionpanel.ui
+++ b/sc/uiconfig/scalc/ui/functionpanel.ui
@@ -55,7 +55,6 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
- <property name="has_default">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes" context="functionpanel|insert|tooltip_text">Insert Function into calculation sheet</property>
<property name="image">image1</property>