diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2017-08-06 00:26:35 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@cib.de> | 2017-08-10 15:17:58 +0200 |
commit | 4d3f92aa18d3419f861986a610e618c8f09b6ae2 (patch) | |
tree | 1e6b5ba5f6ea164968a7e3f78d2631a3ba2549a9 /svx | |
parent | f06b48a5dddab20fd1bbf9b5f3e8543593f5e590 (diff) |
editviewoverlay: EditViewSelection reorganized
The Selection visualization in EditVierw is organized
to use XOR for visualization, thus DrawSelection is
used e.g. before and after changes to the Selection.
Ensured athat all changers of selection have to use
SetEditSelection by making return of GetEditSelection
const. This allows to use a central and safe
SelectionChanged which is needed for alternatives of
Selection visualization.
Change-Id: I994553f3be6b58fd595aa500922d8d1d8ddd36d4
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdedxv.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index 8348988b2ca1..7337e5eba75f 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -1152,9 +1152,6 @@ bool SdrObjEditView::SdrBeginTextEdit( rtl::Reference< sdr::overlay::OverlayManager > xManager = rPageWindow.GetOverlayManager(); if (xManager.is()) { - const basegfx::B2DRange aMinTEArea( - aMinTextEditArea.Left(), aMinTextEditArea.Top(), - aMinTextEditArea.Right(), aMinTextEditArea.Bottom()); const std::vector< basegfx::B2DRange > aEmptySelection; sdr::overlay::OverlaySelection* pNewOverlaySelection = new sdr::overlay::OverlaySelection( |