Re-arrange the conditions to avoid the dynamic_cast
commitf9fef3b54a474f756aa06f156f5c61fea609c07e
authorXisco Fauli <xiscofauli@libreoffice.org>
Thu, 25 Apr 2019 09:38:52 +0000 (25 11:38 +0200)
committerXisco Faulí <xiscofauli@libreoffice.org>
Thu, 25 Apr 2019 16:21:51 +0000 (25 18:21 +0200)
treeaf9a8ace0d94eec2139215c5f8e9889cf38749b3
parenta0edb53e63b9fa7ed5983d6500aece1e5eff380b
Re-arrange the conditions to avoid the dynamic_cast

Similar to 88be8aa14d52ad102dc6b01c1c962d4e6cac4941

Change-Id: Ia6f725fd6c6cee3135191a998ea43c1e6f90fc23
Reviewed-on: https://gerrit.libreoffice.org/71287
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
sc/source/ui/view/drawvie3.cxx
sc/source/ui/view/prevwsh2.cxx