summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2017-04-20 22:38:25 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2017-05-20 12:02:33 +0200
commit25d7103f99c51ccad0ccfc56a4457f0b7db6853e (patch)
tree64747e4fec8e7653a454abd1456973c715162e15
parent7bec7abd4c3d78e6a37f523f4fb599134ef51ca7 (diff)
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@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
-rw-r--r--sd/source/ui/dlg/copydlg.cxx25
1 files changed, 25 insertions, 0 deletions
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();