summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/CppunitTest_extensions_test_update.mk5
-rw-r--r--extensions/source/update/check/updatecheck.hxx4
2 files changed, 6 insertions, 3 deletions
diff --git a/extensions/CppunitTest_extensions_test_update.mk b/extensions/CppunitTest_extensions_test_update.mk
index 80309ecf47ae..9ea086592efa 100644
--- a/extensions/CppunitTest_extensions_test_update.mk
+++ b/extensions/CppunitTest_extensions_test_update.mk
@@ -18,7 +18,6 @@ $(eval $(call gb_CppunitTest_add_exception_objects,extensions_test_update, \
$(eval $(call gb_CppunitTest_use_external,extensions_test_update,boost_headers))
$(eval $(call gb_CppunitTest_use_libraries,extensions_test_update, \
- updchk \
cppu \
cppuhelper \
sal \
@@ -27,6 +26,10 @@ $(eval $(call gb_CppunitTest_use_libraries,extensions_test_update, \
$(gb_UWINAPI) \
))
+$(eval $(call gb_CppunitTest_use_library_objects,extensions_test_update, \
+ updchk \
+))
+
ifeq ($(OS),WNT)
$(eval $(call gb_CppunitTest_use_system_win32_libs,extensions_test_update,\
shell32 \
diff --git a/extensions/source/update/check/updatecheck.hxx b/extensions/source/update/check/updatecheck.hxx
index ddf617940eea..ac971db52356 100644
--- a/extensions/source/update/check/updatecheck.hxx
+++ b/extensions/source/update/check/updatecheck.hxx
@@ -58,7 +58,7 @@ class UpdateCheck :
public salhelper::ReferenceObject,
public rtl::StaticWithInit< rtl::Reference< UpdateCheck >, UpdateCheckInitData >
{
- SAL_DLLPUBLIC_EXPORT UpdateCheck();
+ UpdateCheck();
virtual ~UpdateCheck();
@@ -106,7 +106,7 @@ public:
void cancelDownload();
// Returns the XInteractionHandler of the UpdateHandler instance if present (and visible)
- SAL_DLLPUBLIC_EXPORT com::sun::star::uno::Reference< com::sun::star::task::XInteractionHandler > getInteractionHandler() const;
+ com::sun::star::uno::Reference< com::sun::star::task::XInteractionHandler > getInteractionHandler() const;
// UpdateCheckConfigListener
virtual void autoCheckStatusChanged(bool enabled) SAL_OVERRIDE;