diff --git a/src/richtext/richtextbuffer.cpp b/src/richtext/richtextbuffer.cpp index daf5f9944d..d9d78dcb84 100644 --- a/src/richtext/richtextbuffer.cpp +++ b/src/richtext/richtextbuffer.cpp @@ -1759,8 +1759,6 @@ bool wxRichTextParagraphLayoutBox::DoGetStyle(long position, wxTextAttrEx& style #endif return true; } - else - return false; } else { @@ -1780,8 +1778,6 @@ bool wxRichTextParagraphLayoutBox::DoGetStyle(long position, wxTextAttrEx& style #endif return true; } - else - return false; } return false; }