diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-29 10:22:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-11-29 10:22:33 +0100 |
commit | 361c6eb18c9ba4043652ba91036094379aeaf05f (patch) | |
tree | d1e610a5cb59c0d7a2f467b4d7b9675cc7b658e9 /svx | |
parent | 603bca03c1b546d627fa7c6fe33021690ce374c5 (diff) |
Use Size::Width/Height instead of inherited Pair::A/B
Change-Id: Ie0346d5ec054fbe7eff1d4b73814a5e2b9f654c2
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svddrgmt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svddrgmt.cxx b/svx/source/svdraw/svddrgmt.cxx index bc40e1de5812..34b3a8b7a1a4 100644 --- a/svx/source/svdraw/svddrgmt.cxx +++ b/svx/source/svdraw/svddrgmt.cxx @@ -3778,7 +3778,7 @@ bool SdrDragCrop::EndSdrDrag(bool /*bCopy*/) else aGraphicSize = OutputDevice::LogicToLogic( aGraphicSize, rGraphicObject.GetPrefMapMode(), aMapMode100thmm); - if( aGraphicSize.A() == 0 || aGraphicSize.B() == 0 ) + if( aGraphicSize.Width() == 0 || aGraphicSize.Height() == 0 ) return false; const SdrGrafCropItem& rOldCrop = static_cast<const SdrGrafCropItem&>(pObj->GetMergedItem(SDRATTR_GRAFCROP)); |