From 271ce90753d7004cfb2f1d1aeddd2ee4f36e16c4 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 12 Oct 2013 21:54:27 +0300 Subject: It's whether X11 is used that is meant here Change-Id: Ie03696eccde6b1a02a839321f84c6a23b73419ca --- vcl/source/window/window.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/source/window') 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( reinterpret_cast(pEnvData->pView) ) ); aDropTargetAL[ 0 ] = makeAny( static_cast( reinterpret_cast(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 args(1); -- cgit