diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-12-30 11:37:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-30 16:40:55 +0000 |
commit | 82704f66b723cf8e3aafdb92cb74e5ec9cf9c636 (patch) | |
tree | 6d6861e08ace35302a30f3e8abafb01eac4494a9 | |
parent | 3bd52d8db21ca6a6e2b9d3edf533eebde55e7325 (diff) |
Resolves: fdo#73137 undo name for 'Covariance' is different
Change-Id: I7e151ee99ef644090608fd861c9fae83c3206c1d
Reviewed-on: https://gerrit.libreoffice.org/7232
Reviewed-by: Winfried Donkers <winfrieddonkers@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx | 5 | ||||
-rw-r--r-- | sc/source/ui/inc/CovarianceDialog.hxx | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx b/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx index 432ca4673576..1054d77447e1 100644 --- a/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx +++ b/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx @@ -28,6 +28,11 @@ ScCovarianceDialog::ScCovarianceDialog( "CovarianceDialog", "modules/scalc/ui/covariancedialog.ui" ) {} +sal_Int16 ScCovarianceDialog::GetUndoNameId() +{ + return STR_COVARIANCE_UNDO_NAME; +} + sal_Bool ScCovarianceDialog::Close() { return DoClose( ScCovarianceDialogWrapper::GetChildWindowId() ); diff --git a/sc/source/ui/inc/CovarianceDialog.hxx b/sc/source/ui/inc/CovarianceDialog.hxx index 9325af2585ff..8361cd1a12f1 100644 --- a/sc/source/ui/inc/CovarianceDialog.hxx +++ b/sc/source/ui/inc/CovarianceDialog.hxx @@ -25,6 +25,7 @@ public: protected: virtual const OUString getLabel(); virtual const OUString getTemplate(); + virtual sal_Int16 GetUndoNameId(); }; #endif |