From 94c1f5cfb96a826220b64608cf0ada76d3bdde31 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 13 Jan 2020 09:14:39 +0000 Subject: rework SfxCharmapCtrl to be a PopupWindowController MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With MSVC, the changes to include/sfx2/charmappopup.hxx would cause spurious > isvt.lib(svtlo.dll) : error LNK2005: "public: virtual class com::sun::star::uno::Any __cdecl cppu::ImplInheritanceHelper::queryInterface(class com::sun::star::uno::Type const &)" (?queryInterface@?$ImplInheritanceHelper@VToolboxController@svt@@VXServiceInfo@lang@star@sun@com@@@cppu@@UAA?AVAny@uno@star@sun@com@@ABVType@4567@@Z) already defined in classificationcontroller.o > isvt.lib(svtlo.dll) : error LNK2005: "public: virtual void __cdecl cppu::ImplInheritanceHelper::acquire(void)" (?acquire@?$ImplInheritanceHelper@VToolboxController@svt@@VXServiceInfo@lang@star@sun@com@@@cppu@@UAAXXZ) already defined in classificationcontroller.o > isvt.lib(svtlo.dll) : error LNK2005: "public: virtual void __cdecl cppu::ImplInheritanceHelper::release(void)" (?release@?$ImplInheritanceHelper@VToolboxController@svt@@VXServiceInfo@lang@star@sun@com@@@cppu@@UAAXXZ) already defined in classificationcontroller.o when linking Library_sfx (and which appears to be unrelated to the (implicit) /INCREMENTAL since 9739c37d8ad7c6fca269709674a6975fa7ebd191 "enable incremental linking on windows"), which requires the HACK in include/svtools/popupwindowcontroller.hxx. Change-Id: I74c4318e6216001f18d0cf5ed63e78ba2ab13cd3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86664 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sfx2/util/sfx.component | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sfx2/util') diff --git a/sfx2/util/sfx.component b/sfx2/util/sfx.component index ed9a449baca1..0e1b2521c1f6 100644 --- a/sfx2/util/sfx.component +++ b/sfx2/util/sfx.component @@ -86,4 +86,8 @@ constructor="com_sun_star_sfx2_ClassificationCategoriesController_get_implementation"> + + + -- cgit