summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/inc/docsh.hxx6
-rw-r--r--sc/source/ui/inc/viewdata.hxx2
2 files changed, 3 insertions, 5 deletions
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx
index 623a507ad432..60c2657b1ce4 100644
--- a/sc/source/ui/inc/docsh.hxx
+++ b/sc/source/ui/inc/docsh.hxx
@@ -439,10 +439,8 @@ public:
void UpdateAcceptChangesDialog();
-
-SV_DECL_REF(ScDocShell)
-SV_IMPL_REF(ScDocShell)
-
+class ScDocShell;
+typedef tools::SvRef<ScDocShell> ScDocShellRef;
/** Create before modifications of the document and destroy thereafter.
Call SetDocumentModified() at an instance of this class instead of at
diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx
index 0ec932d6b602..bc091add0f44 100644
--- a/sc/source/ui/inc/viewdata.hxx
+++ b/sc/source/ui/inc/viewdata.hxx
@@ -20,6 +20,7 @@
#define SC_VIEWDATA_HXX
#include <sfx2/zoomitem.hxx>
+#include "rangelst.hxx"
#include "scdllapi.h"
#include "viewopti.hxx"
@@ -97,7 +98,6 @@ class SfxObjectShell;
class SfxBindings;
class SfxDispatcher;
class ScPatternAttr;
-class ScRangeListRef;
class ScExtDocOptions;
class ScViewData;
class ScMarkData;