summaryrefslogtreecommitdiff
path: root/include/com/sun/star/uno/Reference.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-05 17:18:25 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-05 17:25:50 +0100
commitc662bf350f5a8f43daa38f0fbee11464604d1285 (patch)
tree348dc04a87cb05c097d0dc5c4e7f12ade8d1f499 /include/com/sun/star/uno/Reference.hxx
parent0e12845a6460c6669e295b7ae638d10a76353558 (diff)
Mark function declarations as CPPU_DLLPUBLIC, not only definitions
<http://msdn.microsoft.com/en-us/library/8fskxacy.aspx> "Importing into an Application Using __declspec(dllimport)": "Using __declspec(dllimport) is optional on function declarations, but the compiler produces more efficient code if you use this keyword." Change-Id: I149306049987b2406622d7a0dc5dde92d283a5b3
Diffstat (limited to 'include/com/sun/star/uno/Reference.hxx')
-rw-r--r--include/com/sun/star/uno/Reference.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/com/sun/star/uno/Reference.hxx b/include/com/sun/star/uno/Reference.hxx
index db489e593dd8..456c35fb69ea 100644
--- a/include/com/sun/star/uno/Reference.hxx
+++ b/include/com/sun/star/uno/Reference.hxx
@@ -23,6 +23,7 @@
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/uno/Any.hxx>
+#include <cppu/cppudllapi.h>
namespace com
{
@@ -56,10 +57,10 @@ inline XInterface * Reference< interface_type >::iquery(
{
return BaseReference::iquery(pInterface, interface_type::static_type());
}
-extern "C" rtl_uString * SAL_CALL cppu_unsatisfied_iquery_msg(
+extern "C" CPPU_DLLPUBLIC rtl_uString * SAL_CALL cppu_unsatisfied_iquery_msg(
typelib_TypeDescriptionReference * pType )
SAL_THROW_EXTERN_C();
-extern "C" rtl_uString * SAL_CALL cppu_unsatisfied_iset_msg(
+extern "C" CPPU_DLLPUBLIC rtl_uString * SAL_CALL cppu_unsatisfied_iset_msg(
typelib_TypeDescriptionReference * pType )
SAL_THROW_EXTERN_C();