[Libreoffice-commits] .: src/lib
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Feb 6 02:09:30 PST 2013
src/lib/MSPUBParser.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0a50554fd3a155ac498f2217edfa016bbe3929bd
Author: Brennan Vincent <brennan.vincent at gmail.com>
Date: Fri Feb 1 07:22:56 2013 -0700
Fix a mistake causing non-cropped images not to appear
diff --git a/src/lib/MSPUBParser.cpp b/src/lib/MSPUBParser.cpp
index 4beead4..414a946 100644
--- a/src/lib/MSPUBParser.cpp
+++ b/src/lib/MSPUBParser.cpp
@@ -791,7 +791,7 @@ bool libmspub::MSPUBParser::parseShape(WPXInputStream *input,
m_collector->setShapeVerticalTextAlign(chunk.seqNum,
static_cast<VerticalAlign>(info.data));
}
- else if (info.id == SHAPE_CROP)
+ else if (info.id == SHAPE_CROP && info.data != 0)
{
m_collector->setShapeCropType(chunk.seqNum,
static_cast<ShapeType>(info.data));
More information about the Libreoffice-commits
mailing list