Allow CppunitTest_extensions_test_update direct access to UpdateCheck class

Change-Id: Ifa1dafe838e0e9c5bfa4525eaa744d4851551fc8
This commit is contained in:
Stephan Bergmann
2014-06-30 14:16:50 +02:00
parent 982265ed2f
commit fd6d9b9dc3
2 changed files with 6 additions and 3 deletions

View File

@@ -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 \

View File

@@ -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;