summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/window.cxx4
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);