diff options
author | Christian Lippka ORACLE <christian.lippka@oracle.com> | 2011-12-06 03:28:41 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2011-12-06 09:39:13 +0100 |
commit | cbaadd31d3ff53f18a7b8d2b0af947328dc81d91 (patch) | |
tree | b3fbc66fc75819119e8976ad3591d92fc633d715 /svx | |
parent | b97726f4b66aa85db8cb2ab27b8413066930cf4f (diff) |
impress210: #i117319# disconnect and reconnect to table style on change model in SdrTableObjImpl
# HG changeset patch
# User Christian Lippka ORACLE <christian.lippka@oracle.com>
# Date 1299770834 -3600
# Node ID 8177bdbe49941e3c2a8b62c7c5cf166dcadb7a54
# Parent 6b1140cdac81a77836e5be80033f328a0956c94a
impress210: #i117319# disconnect and reconnect to table style on change model in SdrTableObjImpl
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/table/svdotable.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index d34772085522..f9b826974571 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -330,6 +330,7 @@ void SdrTableObjImpl::operator=( const SdrTableObjImpl& rSource ) void SdrTableObjImpl::SetModel(SdrModel* /*pOldModel*/, SdrModel* pNewModel) { // try to find new table style + disconnectTableStyle(); Reference< XIndexAccess > xNewTableStyle; if( mxTableStyle.is() ) try @@ -360,6 +361,7 @@ void SdrTableObjImpl::SetModel(SdrModel* /*pOldModel*/, SdrModel* pNewModel) mxTableStyle = xNewTableStyle; + connectTableStyle(); update(); } |