summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-06-30 15:33:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-06-30 20:29:05 +0200
commit396f7dfc17ceb24de8cfa0a9480943f7b397f8f4 (patch)
tree34396f325c9b34e17093c640629b4a072d5f4816 /sw/source/uibase
parentf7f96175d37d87b266e85726ae01877a39251f16 (diff)
mbFrameView is dead since
commit 407731c9f403c35357a0d1428c9b99835f79a5f7 Author: Noel Grandin <noel@peralex.com> Date: Tue Jul 21 10:44:17 2015 +0200 loplugin:unusedmethods sw removed the SetFrameView() method, which in turn was dead since commit 1c6da69ba2bc437d826573c7909a220290a67311 Author: Frank Schoenheit [fs] <frank.schoenheit@sun.com> Date: Mon Nov 30 12:56:05 2009 +0100 [CWS autorecovery] removed some dead/unused stuff Change-Id: I6e74dd7609ecd6ce459b6397a852caa6bde7fac8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153812 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/uiview/viewport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/viewport.cxx b/sw/source/uibase/uiview/viewport.cxx
index 5446c708a5e9..415771aae940 100644
--- a/sw/source/uibase/uiview/viewport.cxx
+++ b/sw/source/uibase/uiview/viewport.cxx
@@ -294,7 +294,7 @@ void SwView::SetVisArea( const Point &rPt, bool bUpdateScrollbar )
// Let's see how far we get with half BrushSize.
Point aPt = GetEditWin().LogicToPixel( rPt );
#if HAVE_FEATURE_DESKTOP
- const tools::Long nTmp = GetWrtShell().IsFrameView() ? 4 : 8;
+ const tools::Long nTmp = 8;
aPt.AdjustX( -(aPt.X() % nTmp) );
aPt.AdjustY( -(aPt.Y() % nTmp) );
#endif