diff options
author | Christian Lippka ORACLE <christian.lippka@oracle.com> | 2011-12-06 03:28:41 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2012-01-02 18:21:33 +0100 |
commit | 395c05c288116683ffb3bceb658f61694c042b28 (patch) | |
tree | 294c6aed854d1ba887ddbc20b4f90ccb4fbad553 | |
parent | 2c8ee27c52ff15fe1af33cd16a4dff28251ad521 (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
Signed-off-by: Petr Mladek <pmladek@suse.cz>
-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 b2c39fcd0b..ef4b1a68a5 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -332,6 +332,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 @@ -362,6 +363,7 @@ void SdrTableObjImpl::SetModel(SdrModel* /*pOldModel*/, SdrModel* pNewModel) mxTableStyle = xNewTableStyle; + connectTableStyle(); update(); } |