diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-09-15 20:22:08 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-09-15 20:30:20 +0200 |
commit | 12e3b51abe883202af09769873f87b27d7de118b (patch) | |
tree | 16bf550ae38297ffdd14b6b12a3bf7914a47d416 /sw/inc | |
parent | fb59df3a5504ab857923149d53cd222b9b4d6388 (diff) |
tdf#94237 tiled rendering: Use the entire document as the visual area.
Many places were already adapted for the tiled rendering, and the conditions
checking for the VisArea() were changed so that the checks are ignored when
tiled rendering is active.
Unfortunately there are still some places left, and they are causing that
various areas are invalidated only partially. Let's sort it out for good, and
report the entire document as the VisArea() when the tiled rendering is
active, and if there are performance problems, let's profile that & act
accordingly.
Change-Id: I53f18915ed0aec898704dd1350a9534cfc3f001b
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/viewsh.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx index ff8c36c3dc6e..2ae2a2b19a94 100644 --- a/sw/inc/viewsh.hxx +++ b/sw/inc/viewsh.hxx @@ -31,6 +31,7 @@ #include <vcl/mapmod.hxx> #include <vcl/print.hxx> #include <vcl/vclptr.hxx> + #define LOK_USE_UNSTABLE_API #include <LibreOfficeKit/LibreOfficeKitTypes.h> @@ -262,7 +263,7 @@ public: bool SmoothScroll( long lXDiff, long lYDiff, const Rectangle* );//Browser void EnableSmooth( bool b ) { mbEnableSmooth = b; } - const SwRect& VisArea() const { return maVisArea; } + const SwRect& VisArea() const; // If necessary scroll until passed Rect is situated in visible sector. void MakeVisible( const SwRect & ); |