Use the right properties when checking the frame's margins
authorAndy Shaw <andy.shaw@digia.com>
Thu, 18 Oct 2012 13:34:26 +0000 (15:34 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 18 Oct 2012 18:56:05 +0000 (20:56 +0200)
commitd060620e6cd3c94e7e0ff809b21593b9c0da0be2
tree08b0de22d0ecfbe49ba96373117f807b7d882b63
parent6226fcdc3e4ace4636c58778ef53fbf69f46c36e
Use the right properties when checking the frame's margins

Changed it to check the Frame*Margin property instead of the
Block*Margin property as this was incorrect for a QTextFrameFormat.

Task-number: QTBUG-22173
Change-Id: I2c3066165fb592ed034874b1180593822859f933
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/gui/text/qtextodfwriter.cpp
tests/auto/gui/text/qtextodfwriter/tst_qtextodfwriter.cpp