Resolves: rhbz#1135410

Change-Id: Iaa62d8438012e32167c9179da29c446850cf1deb
remove trailing space

Change-Id: I9fd2912af105b4363560b19ac18e1576ecc80a8c
coverity#1233487 Unchecked dynamic_cast

Change-Id: If6955ba90f2838cfe0b4954b31a760e067518dc6