summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewfun3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/viewfun3.cxx')
-rw-r--r--sc/source/ui/view/viewfun3.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/sc/source/ui/view/viewfun3.cxx b/sc/source/ui/view/viewfun3.cxx
index 7eb9aa62af12..af8dbeca931e 100644
--- a/sc/source/ui/view/viewfun3.cxx
+++ b/sc/source/ui/view/viewfun3.cxx
@@ -682,8 +682,7 @@ void ScViewFunc::PasteFromTransferable( const uno::Reference<datatransfer::XTran
return;
PasteDataFormat( nFormatId, aDataHelper.GetTransferable(),
- GetViewData().GetCurX(), GetViewData().GetCurY(),
- NULL );
+ GetViewData().GetCurX(), GetViewData().GetCurY() );
}
}
}
@@ -911,7 +910,7 @@ bool ScViewFunc::PasteFromClip( InsertDeleteFlags nFlags, ScDocument* pClipDoc,
if ( bPasteDraw )
{
aTransShellRef = new ScDocShell; // DocShell needs a Ref immediately
- aTransShellRef->DoInitNew(NULL);
+ aTransShellRef->DoInitNew();
}
ScDrawLayer::SetGlobalDrawPersist(aTransShellRef);
@@ -1691,7 +1690,7 @@ bool ScViewFunc::PasteFromClipToMultiRanges(
{
pDoc->CopyFromClip(
*aRanges[i], aMark, (nFlags & ~IDF_OBJECTS), NULL, pClipDoc,
- false, false, true, bSkipEmpty, NULL);
+ false, false, true, bSkipEmpty);
}
if (pMixDoc.get())
@@ -1709,7 +1708,7 @@ bool ScViewFunc::PasteFromClipToMultiRanges(
{
pDoc->CopyFromClip(
*aRanges[i], aMark, IDF_OBJECTS, NULL, pClipDoc,
- false, false, true, bSkipEmpty, NULL);
+ false, false, true, bSkipEmpty);
}
}