summaryrefslogtreecommitdiff
path: root/svx/source/table
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-06-03 14:22:07 +0200
committerDavid Tardon <dtardon@redhat.com>2013-06-03 14:31:56 +0200
commit9cd71f996e3625e8174c46bf85e336c1ee90df7f (patch)
tree0d7f380bb207cb7e6033f3f2042919f1a8c2e3dd /svx/source/table
parent67e87f8b88a5a6a741717cc4a8e64f65f9c9cd52 (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
Diffstat (limited to 'svx/source/table')
-rw-r--r--svx/source/table/tablecontroller.cxx3
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 ) ) );