diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-08-15 10:35:33 +0000 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-08-23 23:15:25 +0200 |
commit | 51c663b49deea46145eef185bf4e551f2c213428 (patch) | |
tree | e12910beb02d828c65c74fb4d5618e9dbcb92798 /vcl/qt5/Qt5Tools.cxx | |
parent | 04991eaf9f6767d94ad7c4e47708f47615beccf6 (diff) |
Qt5 some minor code cleanups
Change-Id: I1ee81de7ef03447991e12dcf01aef7858408dc40
Reviewed-on: https://gerrit.libreoffice.org/77975
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/qt5/Qt5Tools.cxx')
-rw-r--r-- | vcl/qt5/Qt5Tools.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/qt5/Qt5Tools.cxx b/vcl/qt5/Qt5Tools.cxx index 24e60b9e1375..667a5af6b8ef 100644 --- a/vcl/qt5/Qt5Tools.cxx +++ b/vcl/qt5/Qt5Tools.cxx @@ -95,14 +95,12 @@ sal_Int8 toVclDropAction(Qt::DropAction dragOperation) Qt::DropAction getPreferredDropAction(sal_Int8 dragOperation) { Qt::DropAction eAct = Qt::IgnoreAction; - if (dragOperation & css::datatransfer::dnd::DNDConstants::ACTION_MOVE) eAct = Qt::MoveAction; else if (dragOperation & css::datatransfer::dnd::DNDConstants::ACTION_COPY) eAct = Qt::CopyAction; else if (dragOperation & css::datatransfer::dnd::DNDConstants::ACTION_LINK) eAct = Qt::LinkAction; - return eAct; } |