diff options
author | Ocke Janssen <oj@openoffice.org> | 2002-05-21 07:01:33 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2002-05-21 07:01:33 +0000 |
commit | 92669be2b8122c156b668fa92bd76165cef73d5d (patch) | |
tree | e136ac78e95827e3ba0810788d607013fd50cec8 /svx/source/form/fmshimp.cxx | |
parent | 1ef2f652f16c9046ff87373b9ad2c4613e09fcb9 (diff) |
#99387# when in design mode set controller to null like FS says
Diffstat (limited to 'svx/source/form/fmshimp.cxx')
-rw-r--r-- | svx/source/form/fmshimp.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index 38fde7679cfc..90778117375f 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: fmshimp.cxx,v $ * - * $Revision: 1.31 $ + * $Revision: 1.32 $ * - * last change: $Author: fs $ $Date: 2002-05-02 16:37:00 $ + * last change: $Author: oj $ $Date: 2002-05-21 08:01:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -960,6 +960,8 @@ void FmXFormShell::disposing() { FmXFormShell_BASE::disposing(); + if ( m_pShell && !m_pShell->IsDesignMode() ) + setActiveController( NULL ); // dispose our interceptor helpers if (m_pMainFrameInterceptor) { |