summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/source/update/check/updatecheck.hxx1
-rw-r--r--extensions/source/update/check/updatecheckjob.cxx1
-rw-r--r--sw/Library_swui.mk1
-rw-r--r--sw/source/uibase/dbui/maildispatcher.cxx2
-rw-r--r--sw/source/uibase/inc/imaildsplistener.hxx4
-rw-r--r--sw/source/uibase/inc/maildispatcher.hxx4
-rw-r--r--vcl/osx/a11yfocuslistener.cxx2
7 files changed, 8 insertions, 7 deletions
diff --git a/extensions/source/update/check/updatecheck.hxx b/extensions/source/update/check/updatecheck.hxx
index bf27bb4e0df2..64eefb259af8 100644
--- a/extensions/source/update/check/updatecheck.hxx
+++ b/extensions/source/update/check/updatecheck.hxx
@@ -28,7 +28,6 @@
#include <osl/conditn.hxx>
#include <osl/thread.hxx>
#include <rtl/instance.hxx>
-#include <salhelper/refobj.hxx>
#include "updateinfo.hxx"
#include "updatecheckconfiglistener.hxx"
diff --git a/extensions/source/update/check/updatecheckjob.cxx b/extensions/source/update/check/updatecheckjob.cxx
index db3ac9a7c1c6..1be1d20da1bd 100644
--- a/extensions/source/update/check/updatecheckjob.cxx
+++ b/extensions/source/update/check/updatecheckjob.cxx
@@ -28,6 +28,7 @@
#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/implementationentry.hxx>
#include <cppuhelper/supportsservice.hxx>
+#include <osl/diagnose.h>
#include "com/sun/star/frame/Desktop.hpp"
#include "com/sun/star/frame/XTerminateListener.hpp"
diff --git a/sw/Library_swui.mk b/sw/Library_swui.mk
index f32e182a9c76..d9fb3f756a65 100644
--- a/sw/Library_swui.mk
+++ b/sw/Library_swui.mk
@@ -55,6 +55,7 @@ $(eval $(call gb_Library_use_libraries,swui,\
i18nutil \
msfilter \
sal \
+ salhelper \
sfx \
sot \
svl \
diff --git a/sw/source/uibase/dbui/maildispatcher.cxx b/sw/source/uibase/dbui/maildispatcher.cxx
index 4bd4f174d410..6fd88f64923b 100644
--- a/sw/source/uibase/dbui/maildispatcher.cxx
+++ b/sw/source/uibase/dbui/maildispatcher.cxx
@@ -22,6 +22,8 @@
#include <algorithm>
+#include <osl/diagnose.h>
+
using namespace ::com::sun::star;
typedef std::list< ::rtl::Reference<IMailDispatcherListener> > MailDispatcherListenerContainer_t;
diff --git a/sw/source/uibase/inc/imaildsplistener.hxx b/sw/source/uibase/inc/imaildsplistener.hxx
index b8e51ddb6d19..8c7f04c7c219 100644
--- a/sw/source/uibase/inc/imaildsplistener.hxx
+++ b/sw/source/uibase/inc/imaildsplistener.hxx
@@ -21,7 +21,7 @@
#define INCLUDED_SW_SOURCE_UIBASE_INC_IMAILDSPLISTENER_HXX
#include <com/sun/star/mail/XMailMessage.hpp>
-#include <salhelper/refobj.hxx>
+#include <salhelper/simplereferenceobject.hxx>
class MailDispatcher;
@@ -33,7 +33,7 @@ class MailDispatcher;
@see MailDispatcher
*/
-class IMailDispatcherListener : public ::salhelper::ReferenceObject
+class IMailDispatcherListener : public salhelper::SimpleReferenceObject
{
public:
/**
diff --git a/sw/source/uibase/inc/maildispatcher.hxx b/sw/source/uibase/inc/maildispatcher.hxx
index 7ebb1ec1f8f9..597273496683 100644
--- a/sw/source/uibase/inc/maildispatcher.hxx
+++ b/sw/source/uibase/inc/maildispatcher.hxx
@@ -25,7 +25,7 @@
#include <osl/thread.hxx>
#include <osl/conditn.hxx>
#include <rtl/ref.hxx>
-#include <salhelper/refobj.hxx>
+#include <salhelper/simplereferenceobject.hxx>
#include <list>
@@ -41,7 +41,7 @@ class IMailDispatcherListener;
thread should create an own instance of this class.
*/
class SW_DLLPUBLIC MailDispatcher
- : public ::salhelper::ReferenceObject
+ : public salhelper::SimpleReferenceObject
, private ::osl::Thread
{
public:
diff --git a/vcl/osx/a11yfocuslistener.cxx b/vcl/osx/a11yfocuslistener.cxx
index 398a5a24098b..ea593f21c15d 100644
--- a/vcl/osx/a11yfocuslistener.cxx
+++ b/vcl/osx/a11yfocuslistener.cxx
@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <salhelper/refobj.hxx>
-
#include "osx/a11yfocustracker.hxx"
#include "osx/a11yfactory.h"