diff options
author | David Tardon <dtardon@redhat.com> | 2013-06-03 14:22:07 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-06-03 14:34:56 +0200 |
commit | 22ec6b5a369d2a1a8a334f405f304facfbb0e4b9 (patch) | |
tree | b5cc2b823e47b3c59e02c6ea54e1c527f5d9e8f5 /svx | |
parent | 352c89983e108f687c8eed79bdac00c36c641e22 (diff) |
copy values from the original item set
... because SfxAbstractDialog::GetOutputItemSet() only contains the
items that have been _changed_ in the dialog.
Change-Id: Iaf20bb42b65e420fe4e7aff979378eff7b5e5df2
(cherry picked from commit 9cd71f996e3625e8174c46bf85e336c1ee90df7f)
Signed-off-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/table/tablecontroller.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx index 79f5acad0376..b91ea92f5c16 100644 --- a/svx/source/table/tablecontroller.cxx +++ b/svx/source/table/tablecontroller.cxx @@ -745,7 +745,8 @@ void SvxTableController::onFormatTable( SfxRequest& rReq ) // Even Cancel Button is returning positive(101) value, if( pDlg.get() && ( pDlg->Execute() == RET_OK ) ) { - SfxItemSet aNewSet( *(pDlg->GetOutputItemSet ()) ); + SfxItemSet aNewSet( aNewAttr ); + aNewSet.Put( *(pDlg->GetOutputItemSet ()) ); SvxBoxItem aNewBoxItem( static_cast< const SvxBoxItem& >( aNewSet.Get( SDRATTR_TABLE_BORDER ) ) ); |