From e418967124f31abb39f1e8b1cc389d4ddddbf1c7 Mon Sep 17 00:00:00 2001 From: Nicolas Dufour Date: Fri, 6 Feb 2015 07:35:44 +0100 Subject: Fix for Bug #1417752 (Find & Replace ignores Flowed text objects). Fixed bugs: - https://launchpad.net/bugs/1417752 (bzr r13903) --- src/ui/dialog/find.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/ui/dialog/find.cpp') diff --git a/src/ui/dialog/find.cpp b/src/ui/dialog/find.cpp index 6d8d64607..951cb01ea 100644 --- a/src/ui/dialog/find.cpp +++ b/src/ui/dialog/find.cpp @@ -37,6 +37,7 @@ #include "preferences.h" #include "sp-text.h" #include "sp-flowtext.h" +#include "sp-flowdiv.h" #include "text-editing.h" #include "sp-tspan.h" #include "sp-tref.h" @@ -693,7 +694,10 @@ bool Find::item_type_match (SPItem *item) } else if (dynamic_cast(item) || dynamic_cast(item) || dynamic_cast(item)) { return (all || check_paths.get_active()); - } else if (dynamic_cast(item) || dynamic_cast(item) || dynamic_cast(item) || dynamic_cast(item)) { + } else if (dynamic_cast(item) || dynamic_cast(item) || + dynamic_cast(item) || dynamic_cast(item) || + dynamic_cast(item) || dynamic_cast(item) || + dynamic_cast(item) || dynamic_cast(item)) { return (all || check_texts.get_active()); } else if (dynamic_cast(item) && !desktop->isLayer(item) ) { // never select layers! -- cgit v1.2.3