summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/tool/rangelst.cxx2
-rw-r--r--sc/source/ui/docshell/docsh.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/rangelst.cxx b/sc/source/core/tool/rangelst.cxx
index b20efcf1952b..0b3c832ee492 100644
--- a/sc/source/core/tool/rangelst.cxx
+++ b/sc/source/core/tool/rangelst.cxx
@@ -1001,7 +1001,7 @@ ScRange* ScRangeList::Find( const ScAddress& rAdr )
ScRangeList::ScRangeList() : mnMaxRowUsed(-1) {}
ScRangeList::ScRangeList( const ScRangeList& rList ) :
- SvRefBase(),
+ SvRefBase(rList),
maRanges(rList.maRanges),
mnMaxRowUsed(rList.mnMaxRowUsed)
{
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 5d2c650d062c..1b86afbc8496 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -2805,7 +2805,7 @@ ScDocument* ScDocShell::GetClipDoc()
}
ScDocShell::ScDocShell( const ScDocShell& rShell ) :
- SvRefBase(),
+ SvRefBase(rShell),
SotObject(),
SfxObjectShell( rShell.GetCreateMode() ),
SfxListener(),