diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-25 16:00:41 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-27 05:21:09 +0000 |
commit | 19bacff27bd2201fb136963e11e865b8a31d849e (patch) | |
tree | ee185c64024bcce0b71de51734581e5ddc4f67dc /sd/source/ui/view/viewshel.cxx | |
parent | db39c653e5de92bc371040a3f81cc5c4ea6dedf3 (diff) |
loplugin:singlevalfields in sd
Change-Id: Idde7bdbd57080518fc416ce97a062ab979393d8e
Reviewed-on: https://gerrit.libreoffice.org/26656
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/source/ui/view/viewshel.cxx')
-rw-r--r-- | sd/source/ui/view/viewshel.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx index 84d5d19053e3..32eb612f3aef 100644 --- a/sd/source/ui/view/viewshel.cxx +++ b/sd/source/ui/view/viewshel.cxx @@ -143,7 +143,6 @@ SfxViewFrame* ViewShell::GetViewFrame() const ViewShell::ViewShell( SfxViewFrame*, vcl::Window* pParentWindow, ViewShellBase& rViewShellBase) : SfxShell(&rViewShellBase) -, mbCenterAllowed(true) , mpParentWindow(pParentWindow) { construct(); @@ -209,7 +208,7 @@ void ViewShell::construct() GetParentWindow()->SetBackground (Wallpaper()); mpContentWindow->SetBackground (Wallpaper()); - mpContentWindow->SetCenterAllowed(mbCenterAllowed); + mpContentWindow->SetCenterAllowed(true); mpContentWindow->SetViewShell(this); mpContentWindow->SetPosSizePixel( GetParentWindow()->GetPosPixel(),GetParentWindow()->GetSizePixel()); |