summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-07-19 22:47:17 +0200
committerKohei Yoshida <libreoffice@kohei.us>2014-07-20 02:33:33 +0000
commita82ff18269e5b37348d402b7c21c3f200068265c (patch)
tree1d3bb81bf33af662edc29524a82a497f30bd4d82
parentbe36bc3fe125c8df1bb2e64c27bd0762b4581e4a (diff)
Resolves fdo#81549: Crash pivot table
Regression from http://cgit.freedesktop.org/libreoffice/core/commit/?id=345d6dd9d938a88722fb6d1f1963047a9761412d ? Change-Id: Ie2ebef88bd8369065b8a4ab176099c71674d5090 Reviewed-on: https://gerrit.libreoffice.org/10410 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
-rw-r--r--sc/source/ui/inc/PivotLayoutDialog.hxx2
-rw-r--r--sc/uiconfig/scalc/ui/pivottablelayoutdialog.ui3
2 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/ui/inc/PivotLayoutDialog.hxx b/sc/source/ui/inc/PivotLayoutDialog.hxx
index e3e8e747fca7..3635d831808e 100644
--- a/sc/source/ui/inc/PivotLayoutDialog.hxx
+++ b/sc/source/ui/inc/PivotLayoutDialog.hxx
@@ -82,7 +82,7 @@ private:
formula::RefButton* mpDestinationButton;
PushButton* mpBtnOK;
- CloseButton* mpBtnCancel;
+ CancelButton* mpBtnCancel;
formula::RefEdit* mpActiveEdit;
ScAddress::Details maAddressDetails;
diff --git a/sc/uiconfig/scalc/ui/pivottablelayoutdialog.ui b/sc/uiconfig/scalc/ui/pivottablelayoutdialog.ui
index ebc016c7c272..fd6593627bd4 100644
--- a/sc/uiconfig/scalc/ui/pivottablelayoutdialog.ui
+++ b/sc/uiconfig/scalc/ui/pivottablelayoutdialog.ui
@@ -797,8 +797,7 @@
</child>
<action-widgets>
<action-widget response="0">ok</action-widget>
- <action-widget response="0">apply</action-widget>
- <action-widget response="0">close</action-widget>
+ <action-widget response="0">cancel</action-widget>
</action-widgets>
</object>
</interface>