Kaydet (Commit) 44403d99 authored tarafından Miklos Vajna's avatar Miklos Vajna

Library_xsec_xmlsec: one dll implementation macro is enough

Change-Id: Ie6111c5e29d2fb6d2857c0c51d84b5b720713260
Reviewed-on: https://gerrit.libreoffice.org/65064
Tested-by: Jenkins
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.com>
üst 61dfcdda
......@@ -28,7 +28,6 @@ $(eval $(call gb_Library_use_sdk_api,xsec_xmlsec))
$(eval $(call gb_Library_add_defs,xsec_xmlsec,\
-DXMLSEC_NO_XSLT \
-DXSECXMLSEC_DLLIMPLEMENTATION \
-DXSECGPG_DLLIMPLEMENTATION \
))
$(eval $(call gb_Library_set_precompiled_header,xsec_xmlsec,$(SRCDIR)/xmlsecurity/inc/pch/precompiled_xsec_xmlsec))
......
......@@ -19,10 +19,10 @@
#include <com/sun/star/xml/crypto/XXMLSecurityContext.hpp>
#include <com/sun/star/xml/crypto/XSEInitializer.hpp>
#include <xsecgpgdllapi.h>
#include <xsecxmlsecdllapi.h>
#include <cppuhelper/implbase.hxx>
class XSECGPG_DLLPUBLIC SEInitializerGpg : public cppu::WeakImplHelper
class XSECXMLSEC_DLLPUBLIC SEInitializerGpg : public cppu::WeakImplHelper
<
css::xml::crypto::XSEInitializer,
css::lang::XServiceInfo
......
......@@ -22,7 +22,7 @@
#include <sal/config.h>
#include <rtl/ustring.hxx>
#include <xsecgpgdllapi.h>
#include <xsecxmlsecdllapi.h>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/implbase.hxx>
......@@ -36,7 +36,7 @@
#include <com/sun/star/xml/crypto/XXMLSignatureTemplate.hpp>
#include <com/sun/star/xml/crypto/XXMLSecurityContext.hpp>
class XSECGPG_DLLPUBLIC XMLSignature_GpgImpl : public ::cppu::WeakImplHelper<
class XSECXMLSEC_DLLPUBLIC XMLSignature_GpgImpl : public ::cppu::WeakImplHelper<
css::xml::crypto::XXMLSignature ,
css::lang::XServiceInfo >
{
......
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_XMLSECURITY_INC_XSECGPGDLLAPI_H
#define INCLUDED_XMLSECURITY_INC_XSECGPGDLLAPI_H
#include <sal/types.h>
#if defined(XSECGPG_DLLIMPLEMENTATION)
#define XSECGPG_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
#else
#define XSECGPG_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
#endif // INCLUDED_XMLSECURITY_INC_XSECGPGDLLAPI_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment