sw/source/core/doc/DocumentDeviceManager.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit b4c84dc73b7121f6c8fd0364fce9db227e0d2dd1
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Thu Oct 14 20:53:13 2021 +0200
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Fri Oct 15 08:35:34 2021 +0200

    sw: remove useless debug code in DocumentDeviceManager
    
    A gdb breakpoint can do the same.
    
    Change-Id: I2fb87c8e3ac7d576e9b3f3b29e500e3482a13910
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123596
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/sw/source/core/doc/DocumentDeviceManager.cxx 
b/sw/source/core/doc/DocumentDeviceManager.cxx
index a53a3ada86f2..33e76ab8ad36 100644
--- a/sw/source/core/doc/DocumentDeviceManager.cxx
+++ b/sw/source/core/doc/DocumentDeviceManager.cxx
@@ -282,10 +282,6 @@ SfxPrinter& DocumentDeviceManager::CreatePrinter_() const
 {
     OSL_ENSURE( ! mpPrt, "Do not call CreatePrinter_(), call getPrinter() 
instead" );
 
-#if OSL_DEBUG_LEVEL > 1
-    SAL_INFO("sw", "Printer will be created!" );
-#endif
-
     // We create a default SfxPrinter.
     // The ItemSet is deleted by Sfx!
     auto pSet = std::make_unique<SfxItemSetFixed<

Reply via email to