summaryrefslogtreecommitdiff
path: root/vcl/ios/source
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/ios/source')
-rw-r--r--vcl/ios/source/dtrans/ios_clipboard.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/ios/source/dtrans/ios_clipboard.cxx b/vcl/ios/source/dtrans/ios_clipboard.cxx
index b82e67fd4eb2..90c0990e8412 100644
--- a/vcl/ios/source/dtrans/ios_clipboard.cxx
+++ b/vcl/ios/source/dtrans/ios_clipboard.cxx
@@ -30,9 +30,8 @@
#include "iOSTransferable.hxx"
-#include "vcl/unohelp.hxx"
-
#include "comphelper/makesequence.hxx"
+#include "comphelper/processfactory.hxx"
#include <boost/assert.hpp>
@@ -94,7 +93,7 @@ IosClipboard::IosClipboard(UIPasteboard* 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);