summaryrefslogtreecommitdiff
path: root/vcl/aqua/source/dtrans/aqua_clipboard.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/aqua/source/dtrans/aqua_clipboard.cxx')
-rw-r--r--vcl/aqua/source/dtrans/aqua_clipboard.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/aqua/source/dtrans/aqua_clipboard.cxx b/vcl/aqua/source/dtrans/aqua_clipboard.cxx
index a33e1564d51c..2fa1ddfd3eda 100644
--- a/vcl/aqua/source/dtrans/aqua_clipboard.cxx
+++ b/vcl/aqua/source/dtrans/aqua_clipboard.cxx
@@ -31,9 +31,8 @@
#include "DataFlavorMapping.hxx"
#include "OSXTransferable.hxx"
-#include "vcl/unohelp.hxx"
-
#include "comphelper/makesequence.hxx"
+#include "comphelper/processfactory.hxx"
#include <boost/assert.hpp>
@@ -95,7 +94,7 @@ AquaClipboard::AquaClipboard(NSPasteboard* pasteboard, bool bUseSystemPasteboard
WeakComponentImplHelper4<XClipboardEx, XClipboardNotifier, XFlushableClipboard, XServiceInfo>(m_aMutex),
mIsSystemPasteboard(bUseSystemPasteboard)
{
- Reference<XMultiServiceFactory> mrServiceMgr = vcl::unohelper::GetMultiServiceFactory();
+ Reference<XMultiServiceFactory> mrServiceMgr = comphelper::getProcessServiceFactory();
mrXMimeCntFactory = Reference<XMimeContentTypeFactory>(mrServiceMgr->createInstance(
OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.datatransfer.MimeContentTypeFactory"))), UNO_QUERY);