SlideSorterController.cxx (5b190011) SlideSorterController.cxx (b862c97c)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 651 unchanged lines hidden (view full) ---

660 cache::PageCacheManager::Instance()->InvalidateAllCaches();
661
662 // Update the draw mode.
663 sal_uLong nDrawMode (Application::GetSettings().GetStyleSettings().GetHighContrastMode()
664 ? ViewShell::OUTPUT_DRAWMODE_CONTRAST
665 : ViewShell::OUTPUT_DRAWMODE_COLOR);
666 if (mrSlideSorter.GetViewShell() != NULL)
667 mrSlideSorter.GetViewShell()->GetFrameView()->SetDrawMode(nDrawMode);
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 651 unchanged lines hidden (view full) ---

660 cache::PageCacheManager::Instance()->InvalidateAllCaches();
661
662 // Update the draw mode.
663 sal_uLong nDrawMode (Application::GetSettings().GetStyleSettings().GetHighContrastMode()
664 ? ViewShell::OUTPUT_DRAWMODE_CONTRAST
665 : ViewShell::OUTPUT_DRAWMODE_COLOR);
666 if (mrSlideSorter.GetViewShell() != NULL)
667 mrSlideSorter.GetViewShell()->GetFrameView()->SetDrawMode(nDrawMode);
668 if (pActiveWindow != NULL)
668 if( bool(pActiveWindow) )
669 pActiveWindow->SetDrawMode(nDrawMode);
670 mrView.HandleDrawModeChange();
671
672 // When the system font has changed a layout has to be done.
673 mrView.Resize();
674 FontProvider::Instance().Invalidate();
675
676 // Update theme colors.

--- 474 unchanged lines hidden ---
669 pActiveWindow->SetDrawMode(nDrawMode);
670 mrView.HandleDrawModeChange();
671
672 // When the system font has changed a layout has to be done.
673 mrView.Resize();
674 FontProvider::Instance().Invalidate();
675
676 // Update theme colors.

--- 474 unchanged lines hidden ---