[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source

Julien Nabet serval2412 at yahoo.fr
Mon Dec 30 08:41:18 PST 2013


 sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx |    5 +++++
 sc/source/ui/inc/CovarianceDialog.hxx               |    1 +
 2 files changed, 6 insertions(+)

New commits:
commit 82704f66b723cf8e3aafdb92cb74e5ec9cf9c636
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Mon Dec 30 11:37:00 2013 +0100

    Resolves: fdo#73137 undo name for 'Covariance' is different
    
    Change-Id: I7e151ee99ef644090608fd861c9fae83c3206c1d
    Reviewed-on: https://gerrit.libreoffice.org/7232
    Reviewed-by: Winfried Donkers <winfrieddonkers at libreoffice.org>
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx b/sc/source/ui/StatisticsDialogs/CovarianceDialog.cxx
index 432ca46..1054d77 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 9325af2..8361cd1 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


More information about the Libreoffice-commits mailing list