summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh4.cxx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>2021-01-13 13:50:39 +0100
committerThorsten Behrens <thorsten.behrens@allotropia.de>2021-01-18 03:53:50 +0100
commit0da5e6f38aedb1fb873d1a90c506f6ab03ab1656 (patch)
tree7e217c423e6f60beafe822a9dc0bbe82f793e620 /sc/source/ui/docshell/docsh4.cxx
parent6c76f1a90f926bf056d41e60a3375611baf72e2a (diff)
Bring uno:RefreshView to Calc
Allow refreshing the document layout via UNO slot Change-Id: I956bb884b1fb4231b1f617c4aa5a80ff9a45ec92 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109230 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'sc/source/ui/docshell/docsh4.cxx')
-rw-r--r--sc/source/ui/docshell/docsh4.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index 055db3ac7a11..19ba7680a1fe 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -1329,6 +1329,11 @@ void ScDocShell::Execute( SfxRequest& rReq )
}
}
break;
+ case SID_REFRESH_VIEW:
+ {
+ PostPaintGridAll();
+ }
+ break;
default:
{
// small (?) hack -> forwarding of the slots to TabViewShell