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

Laurent Balland-Poirier laurent.balland-poirier at laposte.net
Sat May 20 10:02:55 UTC 2017


 sd/source/ui/dlg/copydlg.cxx |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

New commits:
commit 25d7103f99c51ccad0ccfc56a4457f0b7db6853e
Author: Laurent Balland-Poirier <laurent.balland-poirier at laposte.net>
Date:   Thu Apr 20 22:38:25 2017 +0200

    tdf#104423 Restore saving of Duplicate dlg parameters
    
    Saving of parameters in Duplicate dlg was removed by
    ce82146a6be87b239a0bde0b59fddf8865290b99
    
    Change-Id: Id7aaf0734132e3d2a5bd4f11f3a5a7abeaf64911
    Reviewed-on: https://gerrit.libreoffice.org/36755
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>

diff --git a/sd/source/ui/dlg/copydlg.cxx b/sd/source/ui/dlg/copydlg.cxx
index 6c679cd834bc..23f8b92d51cd 100644
--- a/sd/source/ui/dlg/copydlg.cxx
+++ b/sd/source/ui/dlg/copydlg.cxx
@@ -80,6 +80,31 @@ CopyDlg::~CopyDlg()
 
 void CopyDlg::dispose()
 {
+    OUString& rStr = GetExtraData();
+
+    rStr = OUString::number(m_pNumFldCopies->GetValue());
+    rStr += OUString(TOKEN);
+
+    rStr += OUString::number(m_pMtrFldMoveX->GetValue());
+    rStr += OUString( TOKEN );
+
+    rStr += OUString::number(m_pMtrFldMoveY->GetValue());
+    rStr += OUString( TOKEN );
+
+    rStr += OUString::number(m_pMtrFldAngle->GetValue());
+    rStr += OUString( TOKEN );
+
+    rStr += OUString::number(m_pMtrFldWidth->GetValue());
+    rStr += OUString( TOKEN );
+
+    rStr += OUString::number(m_pMtrFldHeight->GetValue());
+    rStr += OUString( TOKEN );
+
+    rStr += OUString::number( m_pLbStartColor->GetSelectEntryColor().GetColor() );
+    rStr += OUString( TOKEN );
+
+    rStr += OUString::number( m_pLbEndColor->GetSelectEntryColor().GetColor() );
+
     m_pNumFldCopies.clear();
     m_pBtnSetViewData.clear();
     m_pMtrFldMoveX.clear();


More information about the Libreoffice-commits mailing list