diff options
Diffstat (limited to 'sc/source')
-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 |