Commit 596fc5e5 authored by Laurent Montel's avatar Laurent Montel 😁

We can return true all the time

parent 6d2f03f5
...@@ -2939,7 +2939,7 @@ protected: ...@@ -2939,7 +2939,7 @@ protected:
bool visit(const FreeBusy::Ptr &) override bool visit(const FreeBusy::Ptr &) override
{ {
mResult = i18n("This is a Free Busy Object"); mResult = i18n("This is a Free Busy Object");
return !mResult.isEmpty(); return true;
} }
protected: protected:
...@@ -3046,7 +3046,7 @@ bool IncidenceFormatter::MailBodyVisitor::visit(const Journal::Ptr &journal) ...@@ -3046,7 +3046,7 @@ bool IncidenceFormatter::MailBodyVisitor::visit(const Journal::Ptr &journal)
if (!journal->description().isEmpty()) { if (!journal->description().isEmpty()) {
mResult += i18n("Text of the journal:\n%1\n", journal->richDescription()); mResult += i18n("Text of the journal:\n%1\n", journal->richDescription());
} }
return !mResult.isEmpty(); return true;
} }
//@endcond //@endcond
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment