diff options
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r-- | sc/source/ui/view/cellsh.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/cellsh2.cxx | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx index e1ed032bcadd..943379f2d0af 100644 --- a/sc/source/ui/view/cellsh.cxx +++ b/sc/source/ui/view/cellsh.cxx @@ -55,6 +55,7 @@ #include "postit.hxx" #include "cliputil.hxx" #include "clipparam.hxx" +#include "datastreams.hxx" #include "markdata.hxx" //------------------------------------------------------------------ @@ -98,6 +99,7 @@ ScCellShell::~ScCellShell() } delete pImpl->m_pLinkedDlg; + delete pImpl->m_pDataStreams; delete pImpl->m_pRequest; delete pImpl; } diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index 12a46a8c3e87..b5d4bf7a84c8 100644 --- a/sc/source/ui/view/cellsh2.cxx +++ b/sc/source/ui/view/cellsh2.cxx @@ -56,6 +56,7 @@ #include "scabstdlg.hxx" #include "impex.hxx" #include "asciiopt.hxx" +#include "datastreams.hxx" #include "queryentry.hxx" #include "markdata.hxx" @@ -733,6 +734,9 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq ) } break; case SID_DATA_STREAMS: + if (!pImpl->m_pDataStreams) + pImpl->m_pDataStreams = new DataStreams(GetViewData()->GetDocShell()); + pImpl->m_pDataStreams->ShowDialog( pTabViewShell->GetDialogParent() ); break; case SID_MANAGE_XML_SOURCE: ExecuteXMLSourceDialog(); |