summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-02-23 13:42:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-02-27 22:18:22 +0100
commitcfe41185bc8514949d1938ee1d7cd56968682510 (patch)
tree8d990aae964cf0ed6ed49c06a86133057481ae7d /sw/source/uibase
parent3e1306c283c2aca372a8384801a1e206f208e1cb (diff)
weld LicenseDialogImpl
Change-Id: I4b2dbd2446779e7179d2b79bf81cc2ff879377bf Reviewed-on: https://gerrit.libreoffice.org/68389 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/dbui/mailmergehelper.cxx3
-rw-r--r--sw/source/uibase/inc/mailmergehelper.hxx2
2 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/uibase/dbui/mailmergehelper.cxx b/sw/source/uibase/dbui/mailmergehelper.cxx
index 88e10572ea38..7626a0c3972e 100644
--- a/sw/source/uibase/dbui/mailmergehelper.cxx
+++ b/sw/source/uibase/dbui/mailmergehelper.cxx
@@ -660,7 +660,7 @@ void AddressPreview::Paint(vcl::RenderContext& rRenderContext, const tools::Rect
rRenderContext.SetClipRegion();
}
-void AddressPreview::MouseButtonDown( const MouseEvent& rMEvt )
+bool AddressPreview::MouseButtonDown( const MouseEvent& rMEvt )
{
if (rMEvt.IsLeft() && pImpl->nRows && pImpl->nColumns)
{
@@ -683,6 +683,7 @@ void AddressPreview::MouseButtonDown( const MouseEvent& rMEvt )
}
Invalidate();
}
+ return true;
}
bool AddressPreview::KeyInput( const KeyEvent& rKEvt )
diff --git a/sw/source/uibase/inc/mailmergehelper.hxx b/sw/source/uibase/inc/mailmergehelper.hxx
index 57aad5174ab1..ebf05e0c700c 100644
--- a/sw/source/uibase/inc/mailmergehelper.hxx
+++ b/sw/source/uibase/inc/mailmergehelper.hxx
@@ -119,7 +119,7 @@ class SW_DLLPUBLIC AddressPreview : public weld::CustomWidgetController
const Point& rTopLeft, const Size& rSize, bool bIsSelected);
virtual void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&) override;
- virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
+ virtual bool MouseButtonDown( const MouseEvent& rMEvt ) override;
virtual bool KeyInput( const KeyEvent& rKEvt ) override;
void UpdateScrollBar();