summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-07-28 16:47:47 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-07-30 17:28:49 +0200
commitefdc775d7dd464dcbd917623df94df87810d9bf3 (patch)
tree74429bd55327dce26e4c6b1cb7553827f0dd384e /sd/source/ui
parent05ae22e9f99ae6236a77a3fbfb5ac1e3f95df619 (diff)
Add missing sal/log.hxx headers
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it. This is a continuation of commit 6ff2d84ade299cb3d14d4110e4cf1a4b8070c030 to be able to remove those unneeded includes. This commit adds missing headers to every file found by: grep -FwL sal/log.hxx $(git grep -Elw 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF|SAL_DETAIL_LOG_STREAM|SAL_WHERE|SAL_STREAM|SAL_DEBUG') to directories scripting, sd, sdext Change-Id: I47889cd889cf1d68353184229bfd4712f1528fbf Reviewed-on: https://gerrit.libreoffice.org/58220 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx1
-rw-r--r--sd/source/ui/accessibility/AccessibleOutlineView.cxx1
-rw-r--r--sd/source/ui/accessibility/AccessiblePageShape.cxx1
-rw-r--r--sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx1
-rw-r--r--sd/source/ui/accessibility/AccessibleSlideSorterView.cxx1
-rw-r--r--sd/source/ui/animations/SlideTransitionPane.cxx1
-rw-r--r--sd/source/ui/dlg/PhotoAlbumDialog.cxx1
-rw-r--r--sd/source/ui/dlg/prltempl.cxx1
-rw-r--r--sd/source/ui/dlg/sdtreelb.cxx1
-rw-r--r--sd/source/ui/docshell/docshel4.cxx1
-rw-r--r--sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx1
-rw-r--r--sd/source/ui/framework/configuration/Configuration.cxx1
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationClassifier.cxx1
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationController.cxx1
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx1
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationUpdater.cxx1
-rw-r--r--sd/source/ui/framework/configuration/ResourceFactoryManager.cxx1
-rw-r--r--sd/source/ui/framework/factories/ChildWindowPane.cxx1
-rw-r--r--sd/source/ui/framework/factories/ViewShellWrapper.cxx1
-rw-r--r--sd/source/ui/framework/module/ModuleController.cxx1
-rw-r--r--sd/source/ui/func/fuexpand.cxx1
-rw-r--r--sd/source/ui/remotecontrol/BufferedStreamSocket.cxx1
-rw-r--r--sd/source/ui/remotecontrol/Communicator.cxx1
-rw-r--r--sd/source/ui/remotecontrol/DiscoveryService.cxx1
-rw-r--r--sd/source/ui/remotecontrol/ImagePreparer.cxx1
-rw-r--r--sd/source/ui/remotecontrol/Listener.cxx1
-rw-r--r--sd/source/ui/remotecontrol/Receiver.cxx1
-rw-r--r--sd/source/ui/remotecontrol/Transmitter.cxx1
-rw-r--r--sd/source/ui/sidebar/DocumentHelper.cxx1
-rw-r--r--sd/source/ui/sidebar/LayoutMenu.cxx1
-rw-r--r--sd/source/ui/sidebar/MasterPageContainerProviders.cxx1
-rw-r--r--sd/source/ui/sidebar/MasterPageDescriptor.cxx1
-rw-r--r--sd/source/ui/slideshow/showwin.cxx1
-rw-r--r--sd/source/ui/slideshow/slideshow.cxx1
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx1
-rw-r--r--sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx1
-rw-r--r--sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx1
-rw-r--r--sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx2
-rw-r--r--sd/source/ui/slidesorter/model/SlideSorterModel.cxx1
-rw-r--r--sd/source/ui/slidesorter/view/SlideSorterView.cxx1
-rw-r--r--sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx1
-rw-r--r--sd/source/ui/tools/ConfigurationAccess.cxx1
-rw-r--r--sd/source/ui/tools/EventMultiplexer.cxx1
-rw-r--r--sd/source/ui/tools/SdGlobalResourceContainer.cxx1
-rw-r--r--sd/source/ui/unoidl/DrawController.cxx1
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx1
-rw-r--r--sd/source/ui/view/ToolBarManager.cxx1
-rw-r--r--sd/source/ui/view/ViewShellBase.cxx1
-rw-r--r--sd/source/ui/view/ViewShellManager.cxx1
-rw-r--r--sd/source/ui/view/drawview.cxx1
-rw-r--r--sd/source/ui/view/drviews1.cxx1
-rw-r--r--sd/source/ui/view/drviews2.cxx1
-rw-r--r--sd/source/ui/view/drviews5.cxx1
-rw-r--r--sd/source/ui/view/drviews7.cxx1
-rw-r--r--sd/source/ui/view/drviewsh.cxx1
-rw-r--r--sd/source/ui/view/outlnvsh.cxx1
-rw-r--r--sd/source/ui/view/sdwindow.cxx1
-rw-r--r--sd/source/ui/view/viewshe3.cxx1
-rw-r--r--sd/source/ui/view/viewshel.cxx1
59 files changed, 60 insertions, 0 deletions
diff --git a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
index 66450360ca34..7724c75b9511 100644
--- a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
+++ b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
@@ -33,6 +33,7 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <comphelper/processfactory.hxx>
#include <rtl/ustring.h>
+#include <sal/log.hxx>
#include <sfx2/viewfrm.hxx>
#include <svx/AccessibleShape.hxx>
diff --git a/sd/source/ui/accessibility/AccessibleOutlineView.cxx b/sd/source/ui/accessibility/AccessibleOutlineView.cxx
index 96e35b4436e4..bdf47e2ff488 100644
--- a/sd/source/ui/accessibility/AccessibleOutlineView.cxx
+++ b/sd/source/ui/accessibility/AccessibleOutlineView.cxx
@@ -28,6 +28,7 @@
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <rtl/ustring.h>
+#include <sal/log.hxx>
#include <sfx2/viewfrm.hxx>
#include <svx/AccessibleShape.hxx>
diff --git a/sd/source/ui/accessibility/AccessiblePageShape.cxx b/sd/source/ui/accessibility/AccessiblePageShape.cxx
index e7ee451cd3e2..21cf52790532 100644
--- a/sd/source/ui/accessibility/AccessiblePageShape.cxx
+++ b/sd/source/ui/accessibility/AccessiblePageShape.cxx
@@ -21,6 +21,7 @@
#include <svx/AccessibleShapeInfo.hxx>
#include <svx/IAccessibleViewForwarder.hxx>
#include <tools/gen.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
diff --git a/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx b/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx
index ce14321d615f..760699f2f981 100644
--- a/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx
+++ b/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx
@@ -35,6 +35,7 @@
#include <comphelper/accessibleeventnotifier.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <unotools/accessiblestatesethelper.hxx>
+#include <sal/log.hxx>
#include <sdpage.hxx>
#include <sdresid.hxx>
diff --git a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx
index 3dc31e340bce..1448b6b9cc6e 100644
--- a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx
+++ b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx
@@ -44,6 +44,7 @@
#include <cppuhelper/supportsservice.hxx>
#include <unotools/accessiblestatesethelper.hxx>
#include <rtl/ref.hxx>
+#include <sal/log.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx
index 161141ddc5bf..b1b49d649000 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -35,6 +35,7 @@
#include <DrawController.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
+#include <sal/log.hxx>
#include <svtools/controldims.hxx>
#include <svx/gallery.hxx>
#include <unotools/pathoptions.hxx>
diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.cxx b/sd/source/ui/dlg/PhotoAlbumDialog.cxx
index 1f728df73aa8..d43a54006a2f 100644
--- a/sd/source/ui/dlg/PhotoAlbumDialog.cxx
+++ b/sd/source/ui/dlg/PhotoAlbumDialog.cxx
@@ -20,6 +20,7 @@
#include <sfx2/filedlghelper.hxx>
#include <tools/urlobj.hxx>
+#include <sal/log.hxx>
#include <unotools/pathoptions.hxx>
#include <unotools/useroptions.hxx>
#include <unotools/ucbstreamhelper.hxx>
diff --git a/sd/source/ui/dlg/prltempl.cxx b/sd/source/ui/dlg/prltempl.cxx
index 9f34a01029e8..44b0a1320a15 100644
--- a/sd/source/ui/dlg/prltempl.cxx
+++ b/sd/source/ui/dlg/prltempl.cxx
@@ -19,6 +19,7 @@
#include <editeng/outliner.hxx>
+#include <sal/log.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxdlg.hxx>
#include <editeng/flstitem.hxx>
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx
index 99f8d334081d..e98cde3faa1e 100644
--- a/sd/source/ui/dlg/sdtreelb.cxx
+++ b/sd/source/ui/dlg/sdtreelb.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/types.h>
+#include <sal/log.hxx>
#include <sot/formats.hxx>
#include <sot/storage.hxx>
#include <vcl/weld.hxx>
diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx
index 54efa8178a26..d6f7ec0127ec 100644
--- a/sd/source/ui/docshell/docshel4.cxx
+++ b/sd/source/ui/docshell/docshel4.cxx
@@ -18,6 +18,7 @@
*/
#include <sal/config.h>
+#include <sal/log.hxx>
#include <memory>
#include <utility>
diff --git a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx
index 06a164cb3666..e278b6817c0d 100644
--- a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx
+++ b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx
@@ -25,6 +25,7 @@
#include "ConfigurationUpdater.hxx"
#include <vcl/svapp.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/drawing/framework/XConfiguration.hpp>
#include <com/sun/star/drawing/framework/ConfigurationChangeEvent.hpp>
diff --git a/sd/source/ui/framework/configuration/Configuration.cxx b/sd/source/ui/framework/configuration/Configuration.cxx
index dec44f8ed01d..86729c8879b8 100644
--- a/sd/source/ui/framework/configuration/Configuration.cxx
+++ b/sd/source/ui/framework/configuration/Configuration.cxx
@@ -23,6 +23,7 @@
#include <comphelper/sequence.hxx>
#include <facreg.hxx>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sd/source/ui/framework/configuration/ConfigurationClassifier.cxx b/sd/source/ui/framework/configuration/ConfigurationClassifier.cxx
index ba618e0786d4..5ec81853e9ce 100644
--- a/sd/source/ui/framework/configuration/ConfigurationClassifier.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationClassifier.cxx
@@ -20,6 +20,7 @@
#include "ConfigurationClassifier.hxx"
#include <framework/FrameworkHelper.hxx>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sd/source/ui/framework/configuration/ConfigurationController.cxx b/sd/source/ui/framework/configuration/ConfigurationController.cxx
index 1f8bc4aec0fc..a27fd4e54f75 100644
--- a/sd/source/ui/framework/configuration/ConfigurationController.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationController.cxx
@@ -34,6 +34,7 @@
#include <com/sun/star/drawing/framework/XControllerManager.hpp>
#include <com/sun/star/util/XURLTransformer.hpp>
+#include <sal/log.hxx>
#include <osl/mutex.hxx>
#include <vcl/svapp.hxx>
#include <memory>
diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx
index 4137780bef13..51b648a959cf 100644
--- a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx
@@ -23,6 +23,7 @@
#include <framework/FrameworkHelper.hxx>
#include <com/sun/star/lang/DisposedException.hpp>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
#include <algorithm>
using namespace ::com::sun::star;
diff --git a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx
index 3689789a22d6..afc114b2ebfa 100644
--- a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx
@@ -26,6 +26,7 @@
#include <comphelper/scopeguard.hxx>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
diff --git a/sd/source/ui/framework/configuration/ResourceFactoryManager.cxx b/sd/source/ui/framework/configuration/ResourceFactoryManager.cxx
index c6264ddef099..80b140f0c418 100644
--- a/sd/source/ui/framework/configuration/ResourceFactoryManager.cxx
+++ b/sd/source/ui/framework/configuration/ResourceFactoryManager.cxx
@@ -24,6 +24,7 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/util/URLTransformer.hpp>
#include <comphelper/processfactory.hxx>
+#include <sal/log.hxx>
#include <algorithm>
diff --git a/sd/source/ui/framework/factories/ChildWindowPane.cxx b/sd/source/ui/framework/factories/ChildWindowPane.cxx
index 5b9aaba5b8f0..4f373fe33209 100644
--- a/sd/source/ui/framework/factories/ChildWindowPane.cxx
+++ b/sd/source/ui/framework/factories/ChildWindowPane.cxx
@@ -19,6 +19,7 @@
#include <memory>
#include <sal/config.h>
+#include <sal/log.hxx>
#include <utility>
diff --git a/sd/source/ui/framework/factories/ViewShellWrapper.cxx b/sd/source/ui/framework/factories/ViewShellWrapper.cxx
index 2d235e01c769..cd38dc210db8 100644
--- a/sd/source/ui/framework/factories/ViewShellWrapper.cxx
+++ b/sd/source/ui/framework/factories/ViewShellWrapper.cxx
@@ -41,6 +41,7 @@
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sd/source/ui/framework/module/ModuleController.cxx b/sd/source/ui/framework/module/ModuleController.cxx
index d1570a0fbb55..762a3fffb980 100644
--- a/sd/source/ui/framework/module/ModuleController.cxx
+++ b/sd/source/ui/framework/module/ModuleController.cxx
@@ -24,6 +24,7 @@
#include <unordered_map>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
#include <facreg.hxx>
diff --git a/sd/source/ui/func/fuexpand.cxx b/sd/source/ui/func/fuexpand.cxx
index 8406faf30000..1ee4ead17558 100644
--- a/sd/source/ui/func/fuexpand.cxx
+++ b/sd/source/ui/func/fuexpand.cxx
@@ -27,6 +27,7 @@
#include <editeng/outlobj.hxx>
#include <svx/svdetc.hxx>
#include <xmloff/autolayout.hxx>
+#include <sal/log.hxx>
#include <app.hrc>
#include <strings.hrc>
diff --git a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
index a79d5e390281..37d5e68c4d1a 100644
--- a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
+++ b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
@@ -9,6 +9,7 @@
#include "BufferedStreamSocket.hxx"
+#include <sal/log.hxx>
#include <algorithm>
#ifdef _WIN32
diff --git a/sd/source/ui/remotecontrol/Communicator.cxx b/sd/source/ui/remotecontrol/Communicator.cxx
index 4309edaff066..b5d595c221d2 100644
--- a/sd/source/ui/remotecontrol/Communicator.cxx
+++ b/sd/source/ui/remotecontrol/Communicator.cxx
@@ -17,6 +17,7 @@
#include <config_version.h>
#include <rtl/string.hxx>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include "Communicator.hxx"
#include "Listener.hxx"
diff --git a/sd/source/ui/remotecontrol/DiscoveryService.cxx b/sd/source/ui/remotecontrol/DiscoveryService.cxx
index d83fd5b4549e..0d999af5069a 100644
--- a/sd/source/ui/remotecontrol/DiscoveryService.cxx
+++ b/sd/source/ui/remotecontrol/DiscoveryService.cxx
@@ -16,6 +16,7 @@
#include <rtl/strbuf.hxx>
#include <config_features.h>
+#include <sal/log.hxx>
#include "DiscoveryService.hxx"
diff --git a/sd/source/ui/remotecontrol/ImagePreparer.cxx b/sd/source/ui/remotecontrol/ImagePreparer.cxx
index ee9614249bac..095a7d7d9265 100644
--- a/sd/source/ui/remotecontrol/ImagePreparer.cxx
+++ b/sd/source/ui/remotecontrol/ImagePreparer.cxx
@@ -25,6 +25,7 @@
#include <rtl/ustrbuf.hxx>
#include <sax/tools/converter.hxx>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <unotools/streamwrap.hxx>
#include <svl/itemset.hxx>
diff --git a/sd/source/ui/remotecontrol/Listener.cxx b/sd/source/ui/remotecontrol/Listener.cxx
index 414260460667..f6c026f87e18 100644
--- a/sd/source/ui/remotecontrol/Listener.cxx
+++ b/sd/source/ui/remotecontrol/Listener.cxx
@@ -8,6 +8,7 @@
*/
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <vcl/svapp.hxx>
#include "Listener.hxx"
diff --git a/sd/source/ui/remotecontrol/Receiver.cxx b/sd/source/ui/remotecontrol/Receiver.cxx
index b29e70252d44..4e810ab5bbd6 100644
--- a/sd/source/ui/remotecontrol/Receiver.cxx
+++ b/sd/source/ui/remotecontrol/Receiver.cxx
@@ -20,6 +20,7 @@
#include <osl/file.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/strbuf.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
using namespace sd;
diff --git a/sd/source/ui/remotecontrol/Transmitter.cxx b/sd/source/ui/remotecontrol/Transmitter.cxx
index d03ff5bdffd5..fdfe8b1477fa 100644
--- a/sd/source/ui/remotecontrol/Transmitter.cxx
+++ b/sd/source/ui/remotecontrol/Transmitter.cxx
@@ -7,6 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "Transmitter.hxx"
+#include <sal/log.hxx>
using namespace std;
using namespace osl; // Sockets etc.
diff --git a/sd/source/ui/sidebar/DocumentHelper.cxx b/sd/source/ui/sidebar/DocumentHelper.cxx
index 15930344209e..cf3f432da77d 100644
--- a/sd/source/ui/sidebar/DocumentHelper.cxx
+++ b/sd/source/ui/sidebar/DocumentHelper.cxx
@@ -37,6 +37,7 @@
#include <svx/svdundo.hxx>
#include <tools/diagnose_ex.h>
#include <xmloff/autolayout.hxx>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
diff --git a/sd/source/ui/sidebar/LayoutMenu.cxx b/sd/source/ui/sidebar/LayoutMenu.cxx
index 36dd97722232..8c9642c65435 100644
--- a/sd/source/ui/sidebar/LayoutMenu.cxx
+++ b/sd/source/ui/sidebar/LayoutMenu.cxx
@@ -38,6 +38,7 @@
#include <SlideSorterViewShell.hxx>
#include <ViewShellBase.hxx>
#include <sfx2/sidebar/Theme.hxx>
+#include <sal/log.hxx>
#include <comphelper/processfactory.hxx>
#include <sfx2/app.hxx>
diff --git a/sd/source/ui/sidebar/MasterPageContainerProviders.cxx b/sd/source/ui/sidebar/MasterPageContainerProviders.cxx
index a58edf36cae5..a87665fb5c41 100644
--- a/sd/source/ui/sidebar/MasterPageContainerProviders.cxx
+++ b/sd/source/ui/sidebar/MasterPageContainerProviders.cxx
@@ -30,6 +30,7 @@
#include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/embed/StorageFactory.hpp>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sd/source/ui/sidebar/MasterPageDescriptor.cxx b/sd/source/ui/sidebar/MasterPageDescriptor.cxx
index 87a27d597870..168288094687 100644
--- a/sd/source/ui/sidebar/MasterPageDescriptor.cxx
+++ b/sd/source/ui/sidebar/MasterPageDescriptor.cxx
@@ -23,6 +23,7 @@
#include "DocumentHelper.hxx"
#include <sdpage.hxx>
#include <tools/urlobj.hxx>
+#include <sal/log.hxx>
namespace sd { namespace sidebar {
diff --git a/sd/source/ui/slideshow/showwin.cxx b/sd/source/ui/slideshow/showwin.cxx
index 8553cbea1ba4..daee8a5d75bf 100644
--- a/sd/source/ui/slideshow/showwin.cxx
+++ b/sd/source/ui/slideshow/showwin.cxx
@@ -31,6 +31,7 @@
#include <helpids.h>
#include <strings.hrc>
+#include <sal/log.hxx>
#include <vcl/settings.hxx>
#include <vcl/virdev.hxx>
diff --git a/sd/source/ui/slideshow/slideshow.cxx b/sd/source/ui/slideshow/slideshow.cxx
index 3afc36b63bbc..9d41a60162be 100644
--- a/sd/source/ui/slideshow/slideshow.cxx
+++ b/sd/source/ui/slideshow/slideshow.cxx
@@ -25,6 +25,7 @@
#include <cppuhelper/bootstrap.hxx>
#include <cppuhelper/supportsservice.hxx>
+#include <sal/log.hxx>
#include <vcl/svapp.hxx>
#include <vcl/wrkwin.hxx>
#include <svx/svdpool.hxx>
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index d389f0da653f..5b26fe60ff80 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -67,6 +67,7 @@
#include <comphelper/anytostring.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <rtl/ref.hxx>
+#include <sal/log.hxx>
#include <canvas/elapsedtime.hxx>
#include <avmedia/mediawindow.hxx>
#include <svtools/colrdlg.hxx>
diff --git a/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx b/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx
index 78f714a3c810..c3c2535ab22e 100644
--- a/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx
@@ -25,6 +25,7 @@
#include <sdpage.hxx>
#include <drawdoc.hxx>
+#include <sal/log.hxx>
// Define the default value for the maximal cache size that is used for
// previews that are currently not visible. The visible previews are all
diff --git a/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx b/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx
index dc85f2a475f7..6af085d1c12c 100644
--- a/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx
@@ -25,6 +25,7 @@
#include "SlsCacheConfiguration.hxx"
#include <rtl/ustring.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/uno/Any.hxx>
#include <set>
diff --git a/sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx b/sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx
index 0f040a368313..6ca9a6443500 100644
--- a/sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx
@@ -20,6 +20,8 @@
#include "SlsRequestQueue.hxx"
#include <sdpage.hxx>
+#include <sal/log.hxx>
+
#include <set>
namespace sd { namespace slidesorter { namespace cache {
diff --git a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
index 062360bb52db..10a4a8cdd18f 100644
--- a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
+++ b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
@@ -20,6 +20,7 @@
#include <model/SlideSorterModel.hxx>
#include <SlideSorter.hxx>
+#include <sal/log.hxx>
#include <model/SlsPageDescriptor.hxx>
#include <model/SlsPageEnumerationProvider.hxx>
#include <controller/SlideSorterController.hxx>
diff --git a/sd/source/ui/slidesorter/view/SlideSorterView.cxx b/sd/source/ui/slidesorter/view/SlideSorterView.cxx
index 0688bfac45bc..4c0e7af496bd 100644
--- a/sd/source/ui/slidesorter/view/SlideSorterView.cxx
+++ b/sd/source/ui/slidesorter/view/SlideSorterView.cxx
@@ -46,6 +46,7 @@
#include <sdpage.hxx>
#include <Window.hxx>
+#include <sal/log.hxx>
#include <svl/itempool.hxx>
#include <svx/svdpagv.hxx>
#include <svx/svdopage.hxx>
diff --git a/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx b/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx
index ba82286969c0..c608c2cb5a9a 100644
--- a/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx
+++ b/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx
@@ -21,6 +21,7 @@
#include <vcl/window.hxx>
#include <vcl/virdev.hxx>
+#include <sal/log.hxx>
#include <tools/gen.hxx>
#include <tools/fract.hxx>
diff --git a/sd/source/ui/tools/ConfigurationAccess.cxx b/sd/source/ui/tools/ConfigurationAccess.cxx
index 1492db1a2de3..0857a1766f42 100644
--- a/sd/source/ui/tools/ConfigurationAccess.cxx
+++ b/sd/source/ui/tools/ConfigurationAccess.cxx
@@ -26,6 +26,7 @@
#include <comphelper/processfactory.hxx>
#include <comphelper/propertysequence.hxx>
#include <tools/diagnose_ex.h>
+#include <sal/log.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sd/source/ui/tools/EventMultiplexer.cxx b/sd/source/ui/tools/EventMultiplexer.cxx
index 94d89a6e77d6..c99ea434a22b 100644
--- a/sd/source/ui/tools/EventMultiplexer.cxx
+++ b/sd/source/ui/tools/EventMultiplexer.cxx
@@ -25,6 +25,7 @@
#include <DrawController.hxx>
#include <SlideSorterViewShell.hxx>
#include <framework/FrameworkHelper.hxx>
+#include <sal/log.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/frame/XFrame.hpp>
diff --git a/sd/source/ui/tools/SdGlobalResourceContainer.cxx b/sd/source/ui/tools/SdGlobalResourceContainer.cxx
index a8c07915b54c..b6408cdf04be 100644
--- a/sd/source/ui/tools/SdGlobalResourceContainer.cxx
+++ b/sd/source/ui/tools/SdGlobalResourceContainer.cxx
@@ -27,6 +27,7 @@
#include <com/sun/star/frame/Desktop.hpp>
#include <rtl/instance.hxx>
+#include <sal/log.hxx>
#include <algorithm>
#include <memory>
diff --git a/sd/source/ui/unoidl/DrawController.cxx b/sd/source/ui/unoidl/DrawController.cxx
index db12f9444158..b63d7f89dae5 100644
--- a/sd/source/ui/unoidl/DrawController.cxx
+++ b/sd/source/ui/unoidl/DrawController.cxx
@@ -42,6 +42,7 @@
#include <slideshow.hxx>
+#include <sal/log.hxx>
#include <svx/fmshell.hxx>
#include <vcl/svapp.hxx>
#include <vcl/EnumContext.hxx>
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index 97b3a1109bc2..c1930c454166 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -39,6 +39,7 @@
#include <comphelper/processfactory.hxx>
#include <comphelper/profilezone.hxx>
+#include <sal/log.hxx>
#include <editeng/unofield.hxx>
#include <notifydocumentevent.hxx>
#include <unomodel.hxx>
diff --git a/sd/source/ui/view/ToolBarManager.cxx b/sd/source/ui/view/ToolBarManager.cxx
index 6b0c77231b15..0ebb36dfa481 100644
--- a/sd/source/ui/view/ToolBarManager.cxx
+++ b/sd/source/ui/view/ToolBarManager.cxx
@@ -27,6 +27,7 @@
#include <com/sun/star/frame/XLayoutManager.hpp>
#include <com/sun/star/ui/UIElementType.hpp>
+#include <sal/log.hxx>
#include <osl/mutex.hxx>
#include <o3tl/deleter.hxx>
#include <o3tl/enumrange.hxx>
diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx
index 1a7be406ffee..2f86b677ae67 100644
--- a/sd/source/ui/view/ViewShellBase.cxx
+++ b/sd/source/ui/view/ViewShellBase.cxx
@@ -63,6 +63,7 @@
#include <com/sun/star/drawing/framework/ResourceId.hpp>
#include <framework/FrameworkHelper.hxx>
+#include <sal/log.hxx>
#include <rtl/ref.hxx>
#include <sfx2/msg.hxx>
#include <sfx2/objface.hxx>
diff --git a/sd/source/ui/view/ViewShellManager.cxx b/sd/source/ui/view/ViewShellManager.cxx
index e54b5d505bd0..dc9292201715 100644
--- a/sd/source/ui/view/ViewShellManager.cxx
+++ b/sd/source/ui/view/ViewShellManager.cxx
@@ -24,6 +24,7 @@
#include <DrawDocShell.hxx>
#include <FormShellManager.hxx>
+#include <sal/log.hxx>
#include <sfx2/dispatch.hxx>
#include <svx/svxids.hrc>
#include <svx/fmshell.hxx>
diff --git a/sd/source/ui/view/drawview.cxx b/sd/source/ui/view/drawview.cxx
index 9c0491ae4cdd..49618a222d7a 100644
--- a/sd/source/ui/view/drawview.cxx
+++ b/sd/source/ui/view/drawview.cxx
@@ -35,6 +35,7 @@
#include <svl/itempool.hxx>
#include <editeng/numitem.hxx>
#include <svl/whiter.hxx>
+#include <sal/log.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/objface.hxx>
diff --git a/sd/source/ui/view/drviews1.cxx b/sd/source/ui/view/drviews1.cxx
index 2c5ca8dcd194..aee53381ebc9 100644
--- a/sd/source/ui/view/drviews1.cxx
+++ b/sd/source/ui/view/drviews1.cxx
@@ -27,6 +27,7 @@
#include <comphelper/scopeguard.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <rtl/ref.hxx>
+#include <sal/log.hxx>
#include <svx/svxids.hrc>
#include <svx/svdpagv.hxx>
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index 3891ecb24486..349958309385 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -46,6 +46,7 @@
#include <editeng/CustomPropertyField.hxx>
#include <o3tl/make_unique.hxx>
+#include <sal/log.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/dispatch.hxx>
diff --git a/sd/source/ui/view/drviews5.cxx b/sd/source/ui/view/drviews5.cxx
index 35c235082f95..685985733727 100644
--- a/sd/source/ui/view/drviews5.cxx
+++ b/sd/source/ui/view/drviews5.cxx
@@ -27,6 +27,7 @@
#include <vcl/scrbar.hxx>
#include <vcl/settings.hxx>
#include <sdcommands.h>
+#include <sal/log.hxx>
#include <tools/poly.hxx>
#include <svx/fmshell.hxx>
diff --git a/sd/source/ui/view/drviews7.cxx b/sd/source/ui/view/drviews7.cxx
index a6634821ad7c..ce0d879415c8 100644
--- a/sd/source/ui/view/drviews7.cxx
+++ b/sd/source/ui/view/drviews7.cxx
@@ -20,6 +20,7 @@
#include <memory>
#include <sal/config.h>
+#include <sal/log.hxx>
#include <utility>
diff --git a/sd/source/ui/view/drviewsh.cxx b/sd/source/ui/view/drviewsh.cxx
index bbdcc47c66da..2a921d25bf6b 100644
--- a/sd/source/ui/view/drviewsh.cxx
+++ b/sd/source/ui/view/drviewsh.cxx
@@ -23,6 +23,7 @@
#include <sfx2/request.hxx>
#include <svx/svxids.hrc>
+#include <sal/log.hxx>
#include <svx/fmshell.hxx>
#include <sfx2/dispatch.hxx>
#include <comphelper/lok.hxx>
diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx
index 53572f9c57d0..e828dc3d51fa 100644
--- a/sd/source/ui/view/outlnvsh.cxx
+++ b/sd/source/ui/view/outlnvsh.cxx
@@ -44,6 +44,7 @@
#include <vcl/scrbar.hxx>
#include <vcl/settings.hxx>
+#include <sal/log.hxx>
#include <svl/whiter.hxx>
#include <editeng/editstat.hxx>
#include <svl/itempool.hxx>
diff --git a/sd/source/ui/view/sdwindow.cxx b/sd/source/ui/view/sdwindow.cxx
index a82f8fff1a28..4656dfc7f96f 100644
--- a/sd/source/ui/view/sdwindow.cxx
+++ b/sd/source/ui/view/sdwindow.cxx
@@ -41,6 +41,7 @@
#include <ViewShellBase.hxx>
#include <uiobject.hxx>
+#include <sal/log.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
diff --git a/sd/source/ui/view/viewshe3.cxx b/sd/source/ui/view/viewshe3.cxx
index 4a45f8912a8e..9da2781e63b4 100644
--- a/sd/source/ui/view/viewshe3.cxx
+++ b/sd/source/ui/view/viewshe3.cxx
@@ -35,6 +35,7 @@
#include <sdabstdlg.hxx>
+#include <sal/log.hxx>
#include <fupoor.hxx>
#include <sfx2/dispatch.hxx>
#include <svx/svdopage.hxx>
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index 1ec9cdec1a21..7537c3e8ab31 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -28,6 +28,7 @@
#include <DrawController.hxx>
#include <LayerTabBar.hxx>
+#include <sal/log.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/dispatch.hxx>