diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2013-04-08 13:02:18 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-04-08 13:04:15 +0200 |
commit | 3c88993aeb262620b8e3bb3151e57f16260b51f3 (patch) | |
tree | 2c5b8da37ca7d091ee4d378a9237868400362f7b /filter | |
parent | fbb1f9776b18104886c18d01b85331742a5e9764 (diff) |
fdo#62682 bandaid fix for hyperlink export crash
Fixes the crash, but the deeper problem is that client code gets
confused about portion count, does not expect field to span more
than one line.
Change-Id: I237f3bbd16265597ee0639e77dd561d6c7f2cec8
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/svg/svgwriter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx index c79b6ccd096c..cbb33e358307 100644 --- a/filter/source/svg/svgwriter.cxx +++ b/filter/source/svg/svgwriter.cxx @@ -1650,7 +1650,7 @@ void SVGTextWriter::writeTextPortion( const Point& rPos, sal_Int32 nStartPos; while( bNotSync ) { - if( mnLeftTextPortionLength <= 0 ) + if( mnLeftTextPortionLength <= 0 || !mrCurrentTextPortion.is() ) { if( !nextTextPortion() ) break; |