summaryrefslogtreecommitdiffstats
path: root/sc/inc/xmlwrap.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-05-20 21:01:46 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-05-21 13:25:29 -0400
commit84db495da003ce9c4a93decd22ff220543586023 (patch)
treeb0913daa9f404d760ddfc0f6fdcbc453b8901fc0 /sc/inc/xmlwrap.hxx
parentTurn the mouse cursor to the "wait hand" during the external link update. (diff)
downloadcore-84db495da003ce9c4a93decd22ff220543586023.tar.gz
core-84db495da003ce9c4a93decd22ff220543586023.zip
Let's not use ScDocument as a convenient "anything goes" storage place.
Change-Id: I0ae2f44b89b0db915e78a9b07835000e843d016f
Diffstat (limited to 'sc/inc/xmlwrap.hxx')
-rw-r--r--sc/inc/xmlwrap.hxx14
1 files changed, 9 insertions, 5 deletions
diff --git a/sc/inc/xmlwrap.hxx b/sc/inc/xmlwrap.hxx
index 8bb78af88f8c..e74c01af8ee0 100644
--- a/sc/inc/xmlwrap.hxx
+++ b/sc/inc/xmlwrap.hxx
@@ -26,10 +26,6 @@
#include "importfilterdata.hxx"
#include <sal/types.h>
-class ScDocument;
-class SfxMedium;
-class ScMySharedData;
-
#include <tools/errcode.hxx>
namespace com { namespace sun { namespace star {
@@ -43,10 +39,16 @@ namespace com { namespace sun { namespace star {
namespace sax { struct InputSource; class XParser; class XWriter; } }
} } }
+class ScDocument;
+class SfxMedium;
+class ScMySharedData;
+class ScDocShell;
+
class ScXMLImportWrapper
{
sc::ImportPostProcessData maPostProcessData;
+ ScDocShell& mrDocShell;
ScDocument& rDoc;
SfxMedium* pMedium;
::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > xStorage;
@@ -70,7 +72,9 @@ class ScXMLImportWrapper
ScMySharedData*& pSharedData);
public:
- ScXMLImportWrapper(ScDocument& rD, SfxMedium* pM, const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >&);
+ ScXMLImportWrapper(
+ ScDocShell& rDocSh, SfxMedium* pM, const css::uno::Reference<css::embed::XStorage>& xStor );
+
bool Import(bool bStylesOnly, ErrCode& );
bool Export(bool bStylesOnly);