diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-25 15:55:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-27 08:25:34 +0100 |
commit | b4494f276795d1bb419d258ed0b2ec33c92c7290 (patch) | |
tree | f0ede371c13b73a7dc547717507db083b9cf0846 /sw/source/core/inc/frame.hxx | |
parent | b521f14f7c253113061798cb58fc3e565e92cb7d (diff) |
tdf#108642 remove dynamic_cast
use virtual method instead.
Takes the opening time from 10.5s to 9.2s for me.
Change-Id: I015c05b112dd7e8b7ea3ef722e082d25a3062cce
Reviewed-on: https://gerrit.libreoffice.org/83847
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/inc/frame.hxx')
-rw-r--r-- | sw/source/core/inc/frame.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx index 38d1026706bc..a16deaf02094 100644 --- a/sw/source/core/inc/frame.hxx +++ b/sw/source/core/inc/frame.hxx @@ -891,8 +891,8 @@ public: // NEW TABLES // Some functions for covered/covering table cells. This way unnecessary // includes can be avoided - bool IsLeaveUpperAllowed() const; - bool IsCoveredCell() const; + virtual bool IsLeaveUpperAllowed() const; + virtual bool IsCoveredCell() const; bool IsInCoveredCell() const; // #i81146# new loop control |