window.cxx (86e1cf34) window.cxx (cc13e73e)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 8597 unchanged lines hidden (view full) ---

8606 if ( xFactory.is() )
8607 {
8608 const SystemEnvData * pEnvData = GetSystemData();
8609
8610 if( pEnvData )
8611 {
8612 Sequence< Any > aDragSourceAL( 2 ), aDropTargetAL( 2 );
8613 OUString aDragSourceSN, aDropTargetSN;
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 8597 unchanged lines hidden (view full) ---

8606 if ( xFactory.is() )
8607 {
8608 const SystemEnvData * pEnvData = GetSystemData();
8609
8610 if( pEnvData )
8611 {
8612 Sequence< Any > aDragSourceAL( 2 ), aDropTargetAL( 2 );
8613 OUString aDragSourceSN, aDropTargetSN;
8614#if defined WNT
8614#if defined WNT || defined OS2
8615 aDragSourceSN = OUString::createFromAscii( "com.sun.star.datatransfer.dnd.OleDragSource" );
8616 aDropTargetSN = OUString::createFromAscii( "com.sun.star.datatransfer.dnd.OleDropTarget" );
8617 aDragSourceAL[ 1 ] = makeAny( (sal_uInt32) pEnvData->hWnd );
8618 aDropTargetAL[ 0 ] = makeAny( (sal_uInt32) pEnvData->hWnd );
8619#elif defined QUARTZ
8620 /* FIXME: Mac OS X specific dnd interface does not exist! *
8621 * Using Windows based dnd as a temporary solution */
8622 aDragSourceSN = OUString::createFromAscii( "com.sun.star.datatransfer.dnd.OleDragSource" );

--- 1461 unchanged lines hidden ---
8615 aDragSourceSN = OUString::createFromAscii( "com.sun.star.datatransfer.dnd.OleDragSource" );
8616 aDropTargetSN = OUString::createFromAscii( "com.sun.star.datatransfer.dnd.OleDropTarget" );
8617 aDragSourceAL[ 1 ] = makeAny( (sal_uInt32) pEnvData->hWnd );
8618 aDropTargetAL[ 0 ] = makeAny( (sal_uInt32) pEnvData->hWnd );
8619#elif defined QUARTZ
8620 /* FIXME: Mac OS X specific dnd interface does not exist! *
8621 * Using Windows based dnd as a temporary solution */
8622 aDragSourceSN = OUString::createFromAscii( "com.sun.star.datatransfer.dnd.OleDragSource" );

--- 1461 unchanged lines hidden ---