diff options
Diffstat (limited to 'sw/source/core/draw')
-rw-r--r-- | sw/source/core/draw/dflyobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx index 86e316af53f9..964fde20a56d 100644 --- a/sw/source/core/draw/dflyobj.cxx +++ b/sw/source/core/draw/dflyobj.cxx @@ -817,7 +817,7 @@ void SwVirtFlyDrawObj::NbcCrop(const basegfx::B2DPoint& rRef, double fxFact, dou aGraphicSize = OutputDevice::LogicToLogic( aGraphicSize, pGraphicObject->GetPrefMapMode(), aMapMode100thmm); } - if( aGraphicSize.Width() == 0 || aGraphicSize.Height() == 0 ) + if( aGraphicSize.IsEmpty() ) { return ; } |