diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-27 14:06:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-28 08:55:28 +0200 |
commit | d2d85921605415908c553e84db654628f9f0c0b1 (patch) | |
tree | 161816623c32febde1c62d524fa1ef0a20a1aeda /vcl/source/edit/textview.cxx | |
parent | 26c82e22bf4f077022ae88d0a7f8ad0fa6d2a5ba (diff) |
loplugin:oncevar in vcl
Change-Id: I37a6dacda12e1c2910737d74aa344c7e2e195aeb
Reviewed-on: https://gerrit.libreoffice.org/39328
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/edit/textview.cxx')
-rw-r--r-- | vcl/source/edit/textview.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/edit/textview.cxx b/vcl/source/edit/textview.cxx index 217ccfb1e321..12403b0d5180 100644 --- a/vcl/source/edit/textview.cxx +++ b/vcl/source/edit/textview.cxx @@ -1925,7 +1925,6 @@ void TextView::drop( const css::datatransfer::dnd::DropTargetDropEvent& rDTDE ) { SolarMutexGuard aVclGuard; - bool bChanges = false; if ( !mpImpl->mbReadOnly && mpImpl->mpDDInfo ) { ImpHideDDCursor(); @@ -2024,7 +2023,7 @@ void TextView::drop( const css::datatransfer::dnd::DropTargetDropEvent& rDTDE ) mpImpl->mpTextEngine->Broadcast( TextHint( SfxHintId::TextModified ) ); } - rDTDE.Context->dropComplete( bChanges ); + rDTDE.Context->dropComplete( false/*bChanges*/ ); } void TextView::dragEnter( const css::datatransfer::dnd::DropTargetDragEnterEvent& ) |