summaryrefslogtreecommitdiff
path: root/include/vcl/weld.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/weld.hxx')
-rw-r--r--include/vcl/weld.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 54a72e80c32d..b7d86c9c7df9 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -734,8 +734,9 @@ protected:
OUString signal_query_tooltip(const TreeIter& rIter) { return m_aQueryTooltipHdl.Call(rIter); }
public:
- void connect_query_tooltip(const Link<const TreeIter&, OUString>& rLink)
+ virtual void connect_query_tooltip(const Link<const TreeIter&, OUString>& rLink)
{
+ assert(!m_aQueryTooltipHdl.IsSet() || !rLink.IsSet());
m_aQueryTooltipHdl = rLink;
}