coverity#1078575 Unchecked dynamic_cast

Change-Id: Ie25c91ce0035c78629ebd8466baa717d62948503
writerfilter: fix indentation in rtfdocumentfactory

Change-Id: I9cf6abaf091d358670bbe71de9abe832fa139f42