summaryrefslogtreecommitdiff
path: root/sd/source/ui/docshell
diff options
context:
space:
mode:
authorChristina Rossmanith <ChrRossmanith@web.de>2011-05-31 13:56:08 +0200
committerChristina Rossmanith <ChrRossmanith@web.de>2011-06-03 17:47:08 +0200
commit0e112e64f73df89dc5d2d6d504e2839c8b500c14 (patch)
tree4bad67c987ef4fda8b7e54112fd465ca60b38fb8 /sd/source/ui/docshell
parent92e87955954bdbd07fe103611077e6409f3f4a0d (diff)
Duplicate code: join ImportFrom and InsertFrom
Diffstat (limited to 'sd/source/ui/docshell')
-rw-r--r--sd/source/ui/docshell/docshel4.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx
index ec5988eb28e8..abf69e0493c5 100644
--- a/sd/source/ui/docshell/docshel4.cxx
+++ b/sd/source/ui/docshell/docshel4.cxx
@@ -406,9 +406,9 @@ sal_Bool DrawDocShell::LoadFrom( SfxMedium& rMedium )
|*
\************************************************************************/
-sal_Bool DrawDocShell::ImportFrom( SfxMedium &rMedium )
+sal_Bool DrawDocShell::ImportFrom( SfxMedium &rMedium, bool bInsert )
{
- const sal_Bool bRet=SfxObjectShell::ImportFrom(rMedium);
+ const sal_Bool bRet=SfxObjectShell::ImportFrom(rMedium, bInsert);
SfxItemSet* pSet = rMedium.GetItemSet();
if( pSet )