diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-03-06 18:57:51 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-03-06 18:57:51 +0000 |
commit | ba443cb08a579a8343f1fb1deca9cd7278c4de2f (patch) | |
tree | 10f6955717fbfd0f053bb5ffca21dc4df59f165d /sfx2 | |
parent | c05c6b99dbe8b2d139048a2011e5de9e7aef5143 (diff) |
INTEGRATION: CWS odbmacros2 (1.30.44); FILE MERGED
2007/12/18 21:16:02 fs 1.30.44.1: #i49133# SfxObjectShell's WorkingDocument changed to CurrentComponent
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/ipclient.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx index 4be1e960d789..b035dea9600e 100644 --- a/sfx2/source/view/ipclient.cxx +++ b/sfx2/source/view/ipclient.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ipclient.cxx,v $ * - * $Revision: 1.30 $ + * $Revision: 1.31 $ * - * last change: $Author: kz $ $Date: 2007-10-09 15:33:39 $ + * last change: $Author: kz $ $Date: 2008-03-06 19:57:51 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -237,7 +237,7 @@ throw (::com::sun::star::uno::RuntimeException) uno::Reference< frame::XModel > xDocument; if ( m_pClient->GetViewShell()->GetObjectShell() ) xDocument = m_pClient->GetViewShell()->GetObjectShell()->GetModel(); - SfxObjectShell::SetWorkingDocument( xDocument ); + SfxObjectShell::SetCurrentComponent( xDocument ); } else if ( m_pClient && nNewState == embed::EmbedStates::UI_ACTIVE ) { |