buildbot success in ASF Buildbot on openoffice-linux64-nightly

2015-06-24 Thread buildbot
The Buildbot has detected a passing build on builder openoffice-linux64-nightly 
while building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/openoffice-linux64-nightly/builds/411

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: tethys_ubuntu

Build Reason: The Nightly scheduler named 'openoffice-linux64-nightly' 
triggered this build
Build Source Stamp: [branch openoffice/trunk] HEAD
Blamelist: 

Build succeeded!

Sincerely,
 -The Buildbot





buildbot success in ASF Buildbot on aoo-win7

2015-06-24 Thread buildbot
The Buildbot has detected a passing build on builder aoo-win7 while building 
ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/aoo-win7/builds/408

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-win7

Build Reason: The Nightly scheduler named 'aoo-win7-nightly' triggered this 
build
Build Source Stamp: [branch openoffice/trunk] HEAD
Blamelist: 

Build succeeded!

Sincerely,
 -The Buildbot





svn commit: r1687177 - in /openoffice/trunk/main/vcl/aqua/source/dtrans: DropTarget.cxx DropTarget.hxx

2015-06-24 Thread hdu
Author: hdu
Date: Wed Jun 24 07:08:31 2015
New Revision: 1687177

URL: http://svn.apache.org/r1687177
Log:
#i105098# fix dragdrop insertion of files/images on Mac

Fixed-by: Manik mm...@yahoo.com
Reviewed-by: Herbert Duerr h...@apache.org

Modified:
openoffice/trunk/main/vcl/aqua/source/dtrans/DropTarget.cxx
openoffice/trunk/main/vcl/aqua/source/dtrans/DropTarget.hxx

Modified: openoffice/trunk/main/vcl/aqua/source/dtrans/DropTarget.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/aqua/source/dtrans/DropTarget.cxx?rev=1687177r1=1687176r2=1687177view=diff
==
--- openoffice/trunk/main/vcl/aqua/source/dtrans/DropTarget.cxx (original)
+++ openoffice/trunk/main/vcl/aqua/source/dtrans/DropTarget.cxx Wed Jun 24 
07:08:31 2015
@@ -133,7 +133,8 @@ namespace /* private */
 
 -(BOOL)performDragOperation:(id NSDraggingInfo)sender
 {
-  return mDropTarget-performDragOperation(sender);
+  (void) sender;
+  return mDropTarget-performDragOperation();
 }
 
 
@@ -235,10 +236,13 @@ NSDragOperation DropTarget::draggingEnte
  sal_Int8 currentAction = 
determineDropAction(mDragSourceSupportedActions, sender);  
 
  NSRect bounds = [mView bounds];
- NSPoint dragLocation = [sender draggedImageLocation];
-  
+ NSPoint mouseLoc = [NSEvent mouseLocation];
+
+ id wnd = [mView window];
+ NSPoint dragLocation = [mView convertPoint:[wnd 
convertScreenToBase:mouseLoc] fromView:nil];
+
  CocoaToVCL(dragLocation, bounds);
- 
+
  sal_Int32 posX = static_castsal_Int32(dragLocation.x);
  sal_Int32 posY = static_castsal_Int32(dragLocation.y);
 
@@ -274,7 +278,10 @@ NSDragOperation DropTarget::draggingUpda
{
  sal_Int8 currentAction = 
determineDropAction(currentDragSourceActions, sender); 
  NSRect bounds = [mView bounds];
- NSPoint dragLocation = [sender draggedImageLocation];
+ NSPoint mouseLoc = [NSEvent mouseLocation];
+
+ id wnd = [mView window];
+ NSPoint dragLocation = [mView convertPoint:[wnd 
convertScreenToBase:mouseLoc] fromView:nil];
 
  CocoaToVCL(dragLocation, bounds);
 
@@ -326,7 +333,7 @@ BOOL DropTarget::prepareForDragOperation
 }
 
 
-BOOL DropTarget::performDragOperation(id sender)
+BOOL DropTarget::performDragOperation()
 {
   bool bSuccess = false;
 
@@ -340,7 +347,10 @@ BOOL DropTarget::performDragOperation(id
}
  
  NSRect bounds = [mView bounds];
- NSPoint dragLocation = [sender draggedImageLocation];
+ NSPoint mouseLoc = [NSEvent mouseLocation];
+
+ id wnd = [mView window];
+ NSPoint dragLocation = [mView convertPoint:[wnd 
convertScreenToBase:mouseLoc] fromView:nil];
 
  CocoaToVCL(dragLocation, bounds);
 

Modified: openoffice/trunk/main/vcl/aqua/source/dtrans/DropTarget.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/aqua/source/dtrans/DropTarget.hxx?rev=1687177r1=1687176r2=1687177view=diff
==
--- openoffice/trunk/main/vcl/aqua/source/dtrans/DropTarget.hxx (original)
+++ openoffice/trunk/main/vcl/aqua/source/dtrans/DropTarget.hxx Wed Jun 24 
07:08:31 2015
@@ -133,7 +133,7 @@ public:
   virtual NSDragOperation draggingUpdated(id sender);
   virtual void draggingExited(id sender);
   virtual BOOL prepareForDragOperation(id sender);
-  virtual BOOL performDragOperation(id sender);
+  virtual BOOL performDragOperation();
   virtual void concludeDragOperation(id sender);
 
   /* If multiple actions are supported by the drag source and




buildbot success in ASF Buildbot on openoffice-linux32-nightly

2015-06-24 Thread buildbot
The Buildbot has detected a passing build on builder openoffice-linux32-nightly 
while building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/openoffice-linux32-nightly/builds/432

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-vm2_ubuntu_32bit

Build Reason: The Nightly scheduler named 'openoffice-linux32-nightly' 
triggered this build
Build Source Stamp: [branch openoffice/trunk] HEAD
Blamelist: 

Build succeeded!

Sincerely,
 -The Buildbot





buildbot failure in ASF Buildbot on openoffice-fbsd-nightly

2015-06-24 Thread buildbot
The Buildbot has detected a failed build on builder openoffice-fbsd-nightly 
while building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/openoffice-fbsd-nightly/builds/382

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-fbsd2_64bit

Build Reason: The Nightly scheduler named 'openoffice-fbsd-nightly' triggered 
this build
Build Source Stamp: [branch openoffice/trunk] HEAD
Blamelist: 

BUILD FAILED: failed build --all

Sincerely,
 -The Buildbot





buildbot failure in ASF Buildbot on openoffice-linux64-nightly

2015-06-24 Thread buildbot
The Buildbot has detected a failed build on builder openoffice-linux64-nightly 
while building ASF Buildbot. Full details are available at:
http://ci.apache.org/builders/openoffice-linux64-nightly/builds/412

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: tethys_ubuntu

Build Reason: The Nightly scheduler named 'openoffice-linux64-nightly' 
triggered this build
Build Source Stamp: [branch openoffice/trunk] HEAD
Blamelist: 

BUILD FAILED: failed build --all

Sincerely,
 -The Buildbot