diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-21 21:16:08 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-22 20:14:40 +0000 |
commit | 0f02bc189b6e89ca2e62d4bd6a2f407a9fd4ec3b (patch) | |
tree | e33175c301413ad98d2dff96659a054a03191b17 /svx/source/engine3d | |
parent | 8a05b74eeb8d5e0955fbe3cefd945cdc9bffa3f5 (diff) |
crashtesting: CreateShellID returns the mediums base url...
when it works the way we want it to work, so presumably we can cut out the
middle man and use getDocumentBaseURL directly which does the same thing.
This has the advantage of being in the IEmbeddedHelper api so assignFrom can be
tweaked to pull the src and dest ids arguments to CopyAndGetEmbeddedObject from
the src and dest IEmbeddedHelpers always available there. So we ensure we
have some ids to present to CopyAndGetEmbeddedObject, avoiding the assert
on converting documents such as ooo89433-1.ppt to pdf
So the explicit args can apparently be dropped, bubbling up then means we don't
need a CloneWithShellIDs (introduced with tdf#71076 and tdf#71767) as normal
Clone should now do the right thing.
And various other arguments in various callers of these, which are typically
filled in with an unhelpful empty OUString placeholder, can go
Change-Id: I9c0be0340e72f98b10ee87ada7d2a021fcc39e23
Diffstat (limited to 'svx/source/engine3d')
-rw-r--r-- | svx/source/engine3d/view3d.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/source/engine3d/view3d.cxx b/svx/source/engine3d/view3d.cxx index d7fd886b169a..eadcd53b83db 100644 --- a/svx/source/engine3d/view3d.cxx +++ b/svx/source/engine3d/view3d.cxx @@ -444,8 +444,7 @@ SdrModel* E3dView::GetMarkedObjModel() const // not the scene itself bool E3dView::Paste( - const SdrModel& rMod, const Point& rPos, SdrObjList* pLst, SdrInsertFlags nOptions, - const OUString& rSrcShellID, const OUString& rDestShellID ) + const SdrModel& rMod, const Point& rPos, SdrObjList* pLst, SdrInsertFlags nOptions) { bool bRetval = false; @@ -490,7 +489,7 @@ bool E3dView::Paste( else { // call parent - bRetval = SdrView::Paste(rMod, rPos, pLst, nOptions, rSrcShellID, rDestShellID); + bRetval = SdrView::Paste(rMod, rPos, pLst, nOptions); } return bRetval; |