[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Fri Feb 24 08:55:55 UTC 2017
sw/source/uibase/inc/olmenu.hxx | 2 ++
sw/source/uibase/lingu/olmenu.cxx | 2 ++
2 files changed, 4 insertions(+)
New commits:
commit a4d091485c1cc59a35fb3df17b23a9e10cf9c311
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Feb 24 09:54:28 2017 +0100
Blind fix for MSVC 2015 error C2664
after f28672a077375a360879ad34edfbd06b611ea6d8 "don't inherit SwSpellPopup from
PopupMenu"
Change-Id: Ifb40410d33ac0d782bee6e00e287694a0aded152
diff --git a/sw/source/uibase/inc/olmenu.hxx b/sw/source/uibase/inc/olmenu.hxx
index e6343bf..af1156b 100644
--- a/sw/source/uibase/inc/olmenu.hxx
+++ b/sw/source/uibase/inc/olmenu.hxx
@@ -74,6 +74,8 @@ public:
const css::uno::Sequence< OUString > &rSuggestions,
const OUString & rParaText );
+ ~SwSpellPopup();
+
Menu& GetMenu()
{
return *m_xPopupMenu.get();
diff --git a/sw/source/uibase/lingu/olmenu.cxx b/sw/source/uibase/lingu/olmenu.cxx
index 34ea329..2932585 100644
--- a/sw/source/uibase/lingu/olmenu.cxx
+++ b/sw/source/uibase/lingu/olmenu.cxx
@@ -594,6 +594,8 @@ SwSpellPopup::SwSpellPopup(
m_xPopupMenu->RemoveDisabledEntries(true, true);
}
+SwSpellPopup::~SwSpellPopup() {}
+
void SwSpellPopup::checkRedline()
{
// Let SwView::GetState() already has the logic on when to disable the
More information about the Libreoffice-commits
mailing list