svx/source/table/svdotable.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 395c05c288116683ffb3bceb658f61694c042b28 Author: Christian Lippka ORACLE <christian.lip...@oracle.com> Date: Tue Dec 6 03:28:41 2011 +0100
impress210: #i117319# disconnect and reconnect to table style on change model in SdrTableObjImpl # HG changeset patch # User Christian Lippka ORACLE <christian.lip...@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 <pmla...@suse.cz> diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index b2c39fc..ef4b1a6 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(); } _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits