summaryrefslogtreecommitdiff
path: root/include/sfx2/shell.hxx
diff options
context:
space:
mode:
authorSarper Akdemir <sarper.akdemir@allotropia.de>2024-06-07 21:14:44 +0200
committerSarper Akdemir <sarper.akdemir@allotropia.de>2024-06-28 14:25:36 +0200
commit5e143492320dac8cdf8b2956799ca366f3d8e72c (patch)
tree8a1493fa0126fa483da7770102d0386f3e382fdf /include/sfx2/shell.hxx
parenta7d1a6f313b1ee73b8bd360a7dfb3f0fc56e64bf (diff)
tdf#33603: fix notespane (side/tool)bar interactions
Introduces OverridingShells that when set, makes the view act like the MainViewShell. The main use case is having more then one ViewShell in a single window, where context (toolbars, sidebars etc.) can jump in between different ViewShells. Uses OverridingShells to enable NotesPane to react ToolBarShells. Accessing the functionality of ToolBarShells without the previous hacks with slot forwarding. Change-Id: Icc9721d7f54097025bc9dc7ef7069aed856e6d96 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169658 Tested-by: Jenkins Reviewed-by: Sarper Akdemir <sarper.akdemir@allotropia.de>
Diffstat (limited to 'include/sfx2/shell.hxx')
-rw-r--r--include/sfx2/shell.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/shell.hxx b/include/sfx2/shell.hxx
index 420c8d578b95..566241c6db7e 100644
--- a/include/sfx2/shell.hxx
+++ b/include/sfx2/shell.hxx
@@ -455,7 +455,7 @@ public:
defined with an earlier call to SetContextName().
When <FALSE/> then broadcast the 'default' context.
*/
- void BroadcastContextForActivation (const bool bIsActivated);
+ virtual void BroadcastContextForActivation (const bool bIsActivated);
/** Enabled or disable the context broadcaster. Returns the old state.
*/