summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/drawview.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 08:45:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 08:35:32 +0000
commit6581152f036e94f27fc2b37b4c836a1733a1a471 (patch)
tree2a17a5fc41956e4226a11831093381e9119f1376 /sc/source/ui/view/drawview.cxx
parent94b6b4678b4736b6f4974ec8ee73df5c11ff06d1 (diff)
loplugin:expandablemethodds in sc
Change-Id: Idda64b23ea91ec457b60279d851b7f01d8c02881 Reviewed-on: https://gerrit.libreoffice.org/30033 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/view/drawview.cxx')
-rw-r--r--sc/source/ui/view/drawview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/drawview.cxx b/sc/source/ui/view/drawview.cxx
index 9bf969152c6b..03e5746995d9 100644
--- a/sc/source/ui/view/drawview.cxx
+++ b/sc/source/ui/view/drawview.cxx
@@ -777,7 +777,7 @@ bool ScDrawView::SelectObject( const OUString& rName )
!pDoc->IsTabProtected( nTab ) &&
!pViewData->GetSfxDocShell()->IsReadOnly() )
{
- UnlockBackgroundLayer();
+ LockBackgroundLayer(false);
}
SdrPageView* pPV = GetSdrPageView();