summaryrefslogtreecommitdiff
path: root/vcl/source/edit
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-23 14:10:31 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-27 05:16:59 +0000
commit1ac18c60bb280855cfcc8d92886709cd6db35118 (patch)
tree0f81560261212c485a7f4ab6b5844a6e1f5c7aaa /vcl/source/edit
parent3f22898c157995eecf5dbd610591d378820cf992 (diff)
loplugin:singlevalfields in vcl(part2)
Change-Id: I4782c6f6d3d090ba0f9e29af8afdd7d88aa2d382 Reviewed-on: https://gerrit.libreoffice.org/26598 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source/edit')
-rw-r--r--vcl/source/edit/vclmedit.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx
index f13147901357..a1b3a216e61f 100644
--- a/vcl/source/edit/vclmedit.cxx
+++ b/vcl/source/edit/vclmedit.cxx
@@ -43,7 +43,6 @@ private:
bool mbIgnoreTab;
bool mbActivePopup;
bool mbSelectOnTab;
- bool mbTextSelectable;
public:
explicit TextWindow( vcl::Window* pParent );
@@ -709,7 +708,6 @@ TextWindow::TextWindow( vcl::Window* pParent ) : Window( pParent )
mbIgnoreTab = false;
mbActivePopup = false;
mbSelectOnTab = true;
- mbTextSelectable = true;
SetPointer( Pointer( PointerStyle::Text ) );
@@ -750,9 +748,6 @@ void TextWindow::MouseMove( const MouseEvent& rMEvt )
void TextWindow::MouseButtonDown( const MouseEvent& rMEvt )
{
- if ( !mbTextSelectable )
- return;
-
mbInMBDown = true; // so that GetFocus does not select everything
mpExtTextView->MouseButtonDown( rMEvt );
GrabFocus();