diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-18 08:57:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-19 07:49:33 +0100 |
commit | be359b156b2be7624121a2f2ec5bc6c2d6a195a8 (patch) | |
tree | cd34dff8c2c29abe499f4bffb1b454a70d12dd67 /editeng | |
parent | dbb50f3fe9692dc0ccd7225158fad353e7eab0b5 (diff) |
loplugin:unusedenumconstants
Change-Id: I9dc4b369872a7c6c076ae9be1dcdf2f8385af8a7
Reviewed-on: https://gerrit.libreoffice.org/46684
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit.cxx | 2 | ||||
-rw-r--r-- | editeng/source/outliner/outlvw.cxx | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx index 6a89f6f360f0..2faa22c69e3b 100644 --- a/editeng/source/editeng/impedit.cxx +++ b/editeng/source/editeng/impedit.cxx @@ -81,7 +81,7 @@ ImpEditView::ImpEditView( EditView* pView, EditEngine* pEng, vcl::Window* pWindo pCursor = nullptr; bReadOnly = false; bClickedInSelection = false; - eSelectionMode = EESelectionMode::TxtOnly; + eSelectionMode = EESelectionMode::Std; eAnchorMode = EEAnchorMode::TopLeft; mpEditViewCallbacks = nullptr; nInvMore = 1; diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx index d10a0c6db0ee..1e2740734e3b 100644 --- a/editeng/source/outliner/outlvw.cxx +++ b/editeng/source/outliner/outlvw.cxx @@ -52,9 +52,7 @@ using namespace ::com::sun::star; OutlinerView::OutlinerView( Outliner* pOut, vcl::Window* pWin ) { pOwner = pOut; - pEditView.reset( new EditView( pOut->pEditEngine, pWin ) ); - pEditView->SetSelectionMode( EESelectionMode::TxtOnly ); } OutlinerView::~OutlinerView() |