diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/sdwindow.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sd/source/ui/view/sdwindow.cxx b/sd/source/ui/view/sdwindow.cxx index 5133f8f94a85..dde0d8cc55de 100644 --- a/sd/source/ui/view/sdwindow.cxx +++ b/sd/source/ui/view/sdwindow.cxx @@ -749,20 +749,6 @@ void Window::DataChanged( const DataChangedEvent& rDCEvt ) if ( (rDCEvt.GetType() == DataChangedEventType::SETTINGS) && (rDCEvt.GetFlags() & AllSettingsFlags::STYLE) ) { - // When the screen zoom factor has changed then reset the zoom - // factor of the frame to always display the whole page. - const AllSettings* pOldSettings = rDCEvt.GetOldSettings (); - const AllSettings& rNewSettings = GetSettings (); - if (pOldSettings && mpViewShell) - { - if (pOldSettings->GetStyleSettings().GetScreenZoom() - != rNewSettings.GetStyleSettings().GetScreenZoom()) - { - mpViewShell->GetViewFrame()->GetDispatcher()-> - Execute(SID_SIZE_PAGE, SfxCallMode::ASYNCHRON | SfxCallMode::RECORD); - } - } - /* Rearrange or initiate Resize for scroll bars since the size of the scroll bars my have changed. Within this, inside the resize- handler, the size of the scroll bars will be asked from the |