diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2017-05-02 10:20:11 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2017-05-16 13:41:09 +0200 |
commit | 8deb22a2cee0a931b98c359246535c9d52678f99 (patch) | |
tree | 977123db174de06ce5c13560d1812739a4c435b9 /sfx2 | |
parent | 7e38c6279a4f89521d0bb5b5f7fe19780bfb9418 (diff) |
lok: sc: make row/col header updating, on row/col operations, tab-aware
Now, on inserting/removing or resizing a row/col, the row/col header
invalidation callback is notified to another view only if it is
displaying the same tab of the view where the row/col operation is
occurring.
Change-Id: Ic65fd82b2e3009420c7b481e7e8c1ff8bb11bcce
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/lokhelper.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sfx2/source/view/lokhelper.cxx b/sfx2/source/view/lokhelper.cxx index 736952757ecb..bfcd000eba01 100644 --- a/sfx2/source/view/lokhelper.cxx +++ b/sfx2/source/view/lokhelper.cxx @@ -142,15 +142,4 @@ void SfxLokHelper::notifyInvalidation(SfxViewShell* pThisView, const OString& rP pThisView->libreOfficeKitViewCallback(LOK_CALLBACK_INVALIDATE_TILES, aPayload.getStr()); } -void SfxLokHelper::notifyAllViewsHeaderInvalidation(const OString& rPayload) -{ - SfxViewShell* pViewShell = SfxViewShell::GetFirst(); - while (pViewShell) - { - pViewShell->libreOfficeKitViewCallback(LOK_CALLBACK_INVALIDATE_HEADER, rPayload.getStr()); - - pViewShell = SfxViewShell::GetNext(*pViewShell); - } -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |