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-03 11:16:54 +0100 |
commit | 47fad446a73a27e3335b98745cf77ec9e8065f5f (patch) | |
tree | 624b4a20944546f72ced2e022ce6cb56c8c8f7c9 | |
parent | 63ecdc34d14e7c543dd2a435e54d084f8c2325d8 (diff) |
impress210: #i117319# disconnect and reconnect to table style on change model in SdrTableObjImpl
impress210: #i117319# disconnect and reconnect to table style on change model in SdrTableObjImpl
Signed-off-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Lubos Lunak <l.lunak@suse.cz>
Signed-off-by: Radek DoulĂk <rodo@novell.com>
-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(); } |