summaryrefslogtreecommitdiff
path: root/svx/source/sdr
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-11 08:42:40 +0200
committerNoel Grandin <noel@peralex.com>2015-08-11 09:48:18 +0200
commit3553a5d3a899954c4db09e264d8faf07e817e564 (patch)
tree15f5d78ebe53ed498536c2d518a4cc2ad195c072 /svx/source/sdr
parente624c13cf1732f42d2da212b1b96aa9de7dd66cf (diff)
loplugin: defaultparams
Change-Id: I513643385dc0a04b68c5cf4a5f43aa0804e572e6
Diffstat (limited to 'svx/source/sdr')
-rw-r--r--svx/source/sdr/contact/viewcontactofgraphic.cxx6
-rw-r--r--svx/source/sdr/overlay/overlaymanagerbuffered.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/sdr/contact/viewcontactofgraphic.cxx b/svx/source/sdr/contact/viewcontactofgraphic.cxx
index d59308a9b3c3..0319a0553375 100644
--- a/svx/source/sdr/contact/viewcontactofgraphic.cxx
+++ b/svx/source/sdr/contact/viewcontactofgraphic.cxx
@@ -131,7 +131,7 @@ namespace sdr
aSmallerMatrix = basegfx::tools::createShearXRotateTranslateB2DHomMatrix(fShearX, fRotate, aTranslate)
* aSmallerMatrix;
- const GraphicObject& rGraphicObject = GetGrafObject().GetGraphicObject(false);
+ const GraphicObject& rGraphicObject = GetGrafObject().GetGraphicObject();
const GraphicAttr aLocalGrafInfo;
const drawinglayer::primitive2d::Primitive2DReference xReferenceB(new drawinglayer::primitive2d::SdrGrafPrimitive2D(
aSmallerMatrix,
@@ -367,7 +367,7 @@ namespace sdr
aObjectRange.getMinX(), aObjectRange.getMinY()));
// get the current, unchanged graphic object from SdrGrafObj
- const GraphicObject& rGraphicObject = GetGrafObject().GetGraphicObject(false);
+ const GraphicObject& rGraphicObject = GetGrafObject().GetGraphicObject();
if(visualisationUsesPresObj())
{
@@ -420,7 +420,7 @@ namespace sdr
return false;
// draft when swapped out
- const GraphicObject& rGraphicObject = GetGrafObject().GetGraphicObject(false);
+ const GraphicObject& rGraphicObject = GetGrafObject().GetGraphicObject();
static bool bAllowReplacements(true);
if(rGraphicObject.IsSwappedOut() && bAllowReplacements)
diff --git a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx
index a1dc695d8395..25109df16e89 100644
--- a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx
+++ b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx
@@ -303,7 +303,7 @@ namespace sdr
// paint overlay content for remembered region, use
// method from base class directly
- mpOutputBufferDevice->EnableMapMode(true);
+ mpOutputBufferDevice->EnableMapMode();
OverlayManager::ImpDrawMembers(aBufferRememberedRangeLogic, *mpOutputBufferDevice.get());
mpOutputBufferDevice->EnableMapMode(false);