[Libreoffice-commits] core.git: dtrans/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sun May 19 19:52:56 UTC 2019


 dtrans/source/win32/dnd/target.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit c3245cfd54f391111afb424867ab483096d9de5e
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Tue May 14 21:25:47 2019 +0000
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun May 19 21:52:11 2019 +0200

    Fix typo
    
    Change-Id: I6addc8273cbf46d047e2df4aa27dff11a8666bce
    Reviewed-on: https://gerrit.libreoffice.org/72569
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/dtrans/source/win32/dnd/target.cxx b/dtrans/source/win32/dnd/target.cxx
index 552e3700d3d3..eed51da71ed4 100644
--- a/dtrans/source/win32/dnd/target.cxx
+++ b/dtrans/source/win32/dnd/target.cxx
@@ -343,7 +343,7 @@ HRESULT DropTarget::DragEnter( IDataObject *pDataObj,
 
             fire_dragEnter( e);
             // Check if the action derived from grfKeyState (m_nCurrentDropAction) or the action set
-            // by the listener (m_nCurrentDropAction) is allowed by the source. Only a allowed action is set
+            // by the listener (m_nCurrentDropAction) is allowed by the source. Only an allowed action is set
             // in pdwEffect. The listener notification is asynchron, that is we cannot expect that the listener
             // has already reacted to the notification.
             // If there is more than one valid action which is the case when ALT or RIGHT MOUSE BUTTON is pressed
@@ -391,7 +391,7 @@ HRESULT DropTarget::DragOver( DWORD grfKeyState,
             // The Event contains a XDropTargetDragContext implementation.
             fire_dragOver( e);
             // Check if the action derived from grfKeyState (m_nCurrentDropAction) or the action set
-            // by the listener (m_nCurrentDropAction) is allowed by the source. Only a allowed action is set
+            // by the listener (m_nCurrentDropAction) is allowed by the source. Only an allowed action is set
             // in pdwEffect. The listener notification is asynchron, that is we cannot expect that the listener
             // has already reacted to the notification.
             // If there is more than one valid action which is the case when ALT or RIGHT MOUSE BUTTON is pressed
@@ -565,7 +565,7 @@ void DropTarget::fire_dropActionChanged( const DropTargetDragEvent& dtde )
 // XDropTargetDropContext
 // Returning sal_False would cause the XDropTargetDropContext or ..DragContext implementation
 // to throw an InvalidDNDOperationException, meaning that a Drag is not currently performed.
-// return sal_False results in throwing a InvalidDNDOperationException in the caller.
+// return sal_False results in throwing an InvalidDNDOperationException in the caller.
 
 void DropTarget::_acceptDrop(sal_Int8 dropOperation, const Reference<XDropTargetDropContext>& context)
 {


More information about the Libreoffice-commits mailing list