diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2019-04-10 15:13:53 +0200 |
---|---|---|
committer | Marco Cecchetti <mrcekets@gmail.com> | 2019-05-20 10:34:16 +0200 |
commit | c2e30949e0fb7c6a73742450f646e0d8d59d5e4f (patch) | |
tree | 593af47a02e181f6ac53be1a3e8668ea08f72a05 /sw/source/core/draw | |
parent | 62605b16b0fd6a4a9429b8b185242f91eae67581 (diff) |
lok: writer: svg export transformed images
Change-Id: I908a6e01573c35c0641519f4995730af0b033c33
Reviewed-on: https://gerrit.libreoffice.org/70565
Tested-by: Jenkins
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Diffstat (limited to 'sw/source/core/draw')
-rw-r--r-- | sw/source/core/draw/dflyobj.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx index dd73a1d13df2..0b510dd767c9 100644 --- a/sw/source/core/draw/dflyobj.cxx +++ b/sw/source/core/draw/dflyobj.cxx @@ -1171,6 +1171,19 @@ sal_uInt16 SwVirtFlyDrawObj::getPossibleRotationFromFraphicFrame(Size& rSize) co return nRetval; } +long SwVirtFlyDrawObj::GetRotateAngle() const +{ + if(ContainsSwGrfNode()) + { + Size aSize; + return getPossibleRotationFromFraphicFrame(aSize); + } + else + { + return SdrVirtObj::GetRotateAngle(); + } +} + SdrObject* SwVirtFlyDrawObj::getFullDragClone() const { // call parent |