From 5d11a5a6e78890682852e2b2f492853cb514c196 Mon Sep 17 00:00:00 2001 From: Stephen Silver Date: Tue, 8 Jul 2008 13:00:20 +0000 Subject: Patch from codedread. Prevents rendering of title/desc/metadata elements in text (fixes bug 238093). (bzr r6226) --- src/sp-flowtext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp-flowtext.cpp') diff --git a/src/sp-flowtext.cpp b/src/sp-flowtext.cpp index 596d47ba4..8621a27b5 100644 --- a/src/sp-flowtext.cpp +++ b/src/sp-flowtext.cpp @@ -463,7 +463,7 @@ void SPFlowtext::_buildLayoutInput(SPObject *root, Shape const *exclusion_shape, layout.appendWrapShape(&shapes->back()); } } - else if (!SP_IS_FLOWREGIONEXCLUDE(child)) + else if (!SP_IS_FLOWREGIONEXCLUDE(child) && !sp_repr_is_meta_element(child->repr)) _buildLayoutInput(child, exclusion_shape, shapes, pending_line_break_object); } -- cgit v1.2.3