summaryrefslogtreecommitdiff
path: root/dtrans/source
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-05-14 21:25:47 +0000
committerJulien Nabet <serval2412@yahoo.fr>2019-05-19 21:52:11 +0200
commitc3245cfd54f391111afb424867ab483096d9de5e (patch)
treee27558216293ea66253bec6f7f89d7edf301418e /dtrans/source
parent63dc8fe91d1e47d718b3fc4cfd3a0edd56f07892 (diff)
Fix typo
Change-Id: I6addc8273cbf46d047e2df4aa27dff11a8666bce Reviewed-on: https://gerrit.libreoffice.org/72569 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'dtrans/source')
-rw-r--r--dtrans/source/win32/dnd/target.cxx6
1 files changed, 3 insertions, 3 deletions
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)
{