diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-10-12 21:54:27 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-10-12 21:54:27 +0300 |
commit | 271ce90753d7004cfb2f1d1aeddd2ee4f36e16c4 (patch) | |
tree | 765304f37ceb77a54b0bbf15bcd8a233fd0928e3 /vcl/source | |
parent | e9c0819e60631efbb5057c60c64431e8a1946efd (diff) |
It's whether X11 is used that is meant here
Change-Id: Ie03696eccde6b1a02a839321f84c6a23b73419ca
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/window.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 9aa62897ef76..27df84f358c3 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -8418,7 +8418,7 @@ uno::Reference< XDragSource > Window::GetDragSource() aDropTargetSN = OUString("com.sun.star.datatransfer.dnd.OleDropTarget"); aDragSourceAL[ 1 ] = makeAny( static_cast<sal_uInt64>( reinterpret_cast<sal_IntPtr>(pEnvData->pView) ) ); aDropTargetAL[ 0 ] = makeAny( static_cast<sal_uInt64>( reinterpret_cast<sal_IntPtr>(pEnvData->pView) ) ); -#elif defined UNX +#elif HAVE_FEATURE_X11 aDragSourceSN = OUString("com.sun.star.datatransfer.dnd.X11DragSource"); aDropTargetSN = OUString("com.sun.star.datatransfer.dnd.X11DropTarget"); @@ -8504,7 +8504,7 @@ uno::Reference< XClipboard > Window::GetPrimarySelection() { uno::Reference< XComponentContext > xContext( comphelper::getProcessComponentContext() ); -#if defined(UNX) && !defined(MACOSX) && !defined(IOS) && !defined(ANDROID) +#if HAVE_FEATURE_X11 // A hack, making the primary selection available as an instance // of the SystemClipboard service on X11: css::uno::Sequence<css::uno::Any> args(1); |