From 9739c37d8ad7c6fca269709674a6975fa7ebd191 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 3 Jun 2018 13:07:55 +0200 Subject: enable incremental linking on windows requires a handful of workarounds Change-Id: I77c25580135eeec437716eceea1412607f8d14ca Reviewed-on: https://gerrit.libreoffice.org/55244 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/unotools/streamwrap.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/unotools') diff --git a/include/unotools/streamwrap.hxx b/include/unotools/streamwrap.hxx index b50b92434fd8..81f463ea6e2c 100644 --- a/include/unotools/streamwrap.hxx +++ b/include/unotools/streamwrap.hxx @@ -35,11 +35,11 @@ class SvStream; namespace utl { -//= OInputStreamWrapper +// workaround for incremental linking bugs in MSVC2015 +class SAL_DLLPUBLIC_TEMPLATE OInputStreamWrapper_Base : public cppu::WeakImplHelper< css::io::XInputStream > {}; /// helper class for wrapping an SvStream into an com.sun.star.io::XInputStream -class UNOTOOLS_DLLPUBLIC OInputStreamWrapper - : public cppu::WeakImplHelper +class UNOTOOLS_DLLPUBLIC OInputStreamWrapper : public OInputStreamWrapper_Base { protected: ::osl::Mutex m_aMutex; -- cgit