[Libreoffice-commits] core.git: chart2/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Tue Feb 4 14:32:20 UTC 2020


 chart2/source/controller/dialogs/DialogModel.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 93670d6cb7669b41d20feb91309eeb9930c67a27
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Mon Feb 3 21:46:24 2020 +0100
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Tue Feb 4 15:31:38 2020 +0100

    tdf#130389: Data ranges dialog, data series tab, move up/down reversed
    
    Change-Id: I6a12acacec9bad33cab9fd86b0ffa7193ee74b75
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87921
    Tested-by: Jenkins
    Reviewed-by: Eike Rathke <erack at redhat.com>

diff --git a/chart2/source/controller/dialogs/DialogModel.cxx b/chart2/source/controller/dialogs/DialogModel.cxx
index 6dc9201bc61f..29e0f92ab756 100644
--- a/chart2/source/controller/dialogs/DialogModel.cxx
+++ b/chart2/source/controller/dialogs/DialogModel.cxx
@@ -547,7 +547,7 @@ void DialogModel::moveSeries(
     ControllerLockGuardUNO aLockedControllers( m_xChartDocument );
 
     Reference< XDiagram > xDiagram( m_xChartDocument->getFirstDiagram());
-    DiagramHelper::moveSeries( xDiagram, xSeries, eDirection==MoveDirection::Up );
+    DiagramHelper::moveSeries( xDiagram, xSeries, eDirection==MoveDirection::Down );
 }
 
 Reference< chart2::XDataSeries > DialogModel::insertSeriesAfter(


More information about the Libreoffice-commits mailing list