diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-21 15:59:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-24 07:43:21 +0000 |
commit | 9ad0e56be46df46b021109acfd6ece9d17ce84f8 (patch) | |
tree | 4e6967bfbaa9eab94f399f5d5356f87e84fb2694 /xmloff | |
parent | 6f428c38c533026c9749f71ed3144db2d4575ab6 (diff) |
fixes for >>= with rhs Any
this changes behaviour because >>= always returned true
Change-Id: Ia7bbce1696e5c23f6e1e6f1a7e60b3c462cf0086
Reviewed-on: https://gerrit.libreoffice.org/30141
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/shapeexport.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index 0fd26d7927ef..09d6adf65c78 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -2583,7 +2583,8 @@ void XMLShapeExport::ImpExportConnectorShape( } } - if( xProps->getPropertyValue("PolyPolygonBezier") >>= aAny ) + aAny = xProps->getPropertyValue("PolyPolygonBezier"); + if( aAny.hasValue() ) { // get PolygonBezier auto pSourcePolyPolygon = o3tl::tryAccess<drawing::PolyPolygonBezierCoords>(aAny); |