summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/browser/genericcontroller.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-11-22 12:17:07 +0000
committerOcke Janssen <oj@openoffice.org>2001-11-22 12:17:07 +0000
commita33bfbe3c3f5f1db2162d6d563479cf38e29bf99 (patch)
tree126af11f194518e6c6d62084fc94a816c0d5aa07 /dbaccess/source/ui/browser/genericcontroller.cxx
parent0904c2076432c766bd4553eda2f897bfd3994d09 (diff)
#89611# do changes for clearing beamer
Diffstat (limited to 'dbaccess/source/ui/browser/genericcontroller.cxx')
-rw-r--r--dbaccess/source/ui/browser/genericcontroller.cxx20
1 files changed, 13 insertions, 7 deletions
diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx
index 90d4ad6f6242..5f74c2f79789 100644
--- a/dbaccess/source/ui/browser/genericcontroller.cxx
+++ b/dbaccess/source/ui/browser/genericcontroller.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: genericcontroller.cxx,v $
*
- * $Revision: 1.29 $
+ * $Revision: 1.30 $
*
- * last change: $Author: hr $ $Date: 2001-10-26 13:10:16 $
+ * last change: $Author: oj $ $Date: 2001-11-22 13:17:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -776,13 +776,19 @@ void OGenericUnoController::frameAction(const ::com::sun::star::frame::FrameActi
void OGenericUnoController::EmptyWindow()
{
// dispatch en empty ::com::sun::star::util::URL so we will be cleaned up
- Reference< ::com::sun::star::frame::XDispatchProvider > xProvider(m_xCurrentFrame, UNO_QUERY);
- if (xProvider.is())
+// Reference< ::com::sun::star::frame::XDispatchProvider > xProvider(m_xCurrentFrame, UNO_QUERY);
+// if (xProvider.is())
+// {
+// Reference< ::com::sun::star::frame::XDispatch > xDispatcher = xProvider->queryDispatch(::com::sun::star::util::URL(), m_xCurrentFrame->getName(), 0);
+// if (xDispatcher.is())
+// xDispatcher->dispatch(::com::sun::star::util::URL(), Sequence< PropertyValue >());
+// }
+ if(m_xCurrentFrame.is())
{
- Reference< ::com::sun::star::frame::XDispatch > xDispatcher = xProvider->queryDispatch(::com::sun::star::util::URL(), m_xCurrentFrame->getName(), 0);
- if (xDispatcher.is())
- xDispatcher->dispatch(::com::sun::star::util::URL(), Sequence< PropertyValue >());
+ m_xCurrentFrame->setComponent(NULL,NULL);
+ ::comphelper::disposeComponent(m_xCurrentFrame);
}
+
}
//------------------------------------------------------------------------------