[Libreoffice-commits] core.git: sfx2/source

Stephan Bergmann sbergman at redhat.com
Mon Jun 13 07:03:51 UTC 2016


 sfx2/source/appl/app.cxx         |    2 +-
 sfx2/source/appl/appdde.cxx      |    6 +++---
 sfx2/source/bastyp/bitset.cxx    |    2 +-
 sfx2/source/control/minfitem.cxx |    2 +-
 sfx2/source/dialog/dinfdlg.cxx   |    2 +-
 sfx2/source/dialog/tabdlg.cxx    |    2 +-
 sfx2/source/doc/doctempl.cxx     |    4 ++--
 sfx2/source/doc/guisaveas.cxx    |    4 ++--
 sfx2/source/doc/objxtor.cxx      |   10 +++++-----
 sfx2/source/view/frame.cxx       |    2 +-
 10 files changed, 18 insertions(+), 18 deletions(-)

New commits:
commit e9c14873ecdc3728135aa26f21d6df468ea0b623
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jun 13 09:00:27 2016 +0200

    loplugin:sallogareas
    
    Change-Id: If054c98f887b62adaf6c73ee35e664507a69b6df

diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx
index 3657c45..55b2fc5 100644
--- a/sfx2/source/appl/app.cxx
+++ b/sfx2/source/appl/app.cxx
@@ -185,7 +185,7 @@ SfxApplication::SfxApplication()
             aStr.append(static_cast<sal_Int32>(GetDdeService()->GetError()));
         else
             aStr.append('?');
-        SAL_WARN( "sfx2.appl", aStr.getStr() );
+        SAL_WARN( "sfx.appl", aStr.getStr() );
     }
 #else
     (void)bOk;
diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx
index 4e59af8..ffa7930 100644
--- a/sfx2/source/appl/appdde.cxx
+++ b/sfx2/source/appl/appdde.cxx
@@ -92,15 +92,15 @@ namespace
         }
         catch( const ucb::CommandAbortedException& )
         {
-            SAL_INFO( "sfx2.appl", "CommandAbortedException" );
+            SAL_INFO( "sfx.appl", "CommandAbortedException" );
         }
         catch( const ucb::IllegalIdentifierException& )
         {
-            SAL_INFO( "sfx2.appl", "IllegalIdentifierException" );
+            SAL_INFO( "sfx.appl", "IllegalIdentifierException" );
         }
         catch( const ucb::ContentCreationException& )
         {
-            SAL_INFO( "sfx2.appl", "IllegalIdentifierException" );
+            SAL_INFO( "sfx.appl", "IllegalIdentifierException" );
         }
         catch( const uno::Exception& )
         {
diff --git a/sfx2/source/bastyp/bitset.cxx b/sfx2/source/bastyp/bitset.cxx
index 5f1c3bd..d03a7d2 100644
--- a/sfx2/source/bastyp/bitset.cxx
+++ b/sfx2/source/bastyp/bitset.cxx
@@ -107,7 +107,7 @@ sal_uInt16 IndexBitSet::GetFreeIndex()
         *this|=i;
         return i;
       }
-  SAL_WARN( "sfx2", "IndexBitSet enthaelt mehr als USHRT_MAX Eintraege");
+  SAL_WARN( "sfx", "IndexBitSet enthaelt mehr als USHRT_MAX Eintraege");
   return 0;
 }
 
diff --git a/sfx2/source/control/minfitem.cxx b/sfx2/source/control/minfitem.cxx
index ffc352b..d7eeb62 100644
--- a/sfx2/source/control/minfitem.cxx
+++ b/sfx2/source/control/minfitem.cxx
@@ -19,7 +19,7 @@
 
 #include <sfx2/minfitem.hxx>
 
-SfxPoolItem* SfxMacroInfoItem::CreateDefault() { SAL_WARN( "sfx2", "No SfxMacroInfItem factory available"); return nullptr; }
+SfxPoolItem* SfxMacroInfoItem::CreateDefault() { SAL_WARN( "sfx", "No SfxMacroInfItem factory available"); return nullptr; }
 
 
 SfxMacroInfoItem::SfxMacroInfoItem(
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index 2c5bad6..bad1333 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -245,7 +245,7 @@ SfxDocumentInfoItem::SfxDocumentInfoItem( const OUString& rFile,
                 // "fix" property? => not a custom property => ignore it!
                 if (!(pProps[i].Attributes & css::beans::PropertyAttribute::REMOVABLE))
                 {
-                    SAL_WARN( "sfx2", "non-removable user-defined property?");
+                    SAL_WARN( "sfx", "non-removable user-defined property?");
                     continue;
                 }
 
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index 9159ee2..c5be378 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -285,7 +285,7 @@ const SfxPoolItem* SfxTabPage::GetOldItem( const SfxItemSet& rSet,
 
 void SfxTabPage::PageCreated( const SfxAllItemSet& /*aSet*/ )
 {
-    SAL_WARN( "sfx2", "SfxTabPage::PageCreated should not be called");
+    SAL_WARN( "sfx", "SfxTabPage::PageCreated should not be called");
 }
 
 void SfxTabPage::ChangesApplied()
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index 458b4ec..b39f109 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -867,12 +867,12 @@ bool SfxDocumentTemplates::CopyFrom
             }
             else
             {
-                SAL_WARN( "sfx2", "CopyFrom(): The content should contain target URL!" );
+                SAL_WARN( "sfx", "CopyFrom(): The content should contain target URL!" );
             }
         }
         else
         {
-            SAL_WARN( "sfx2", "CopyFrom(): The content just was created!" );
+            SAL_WARN( "sfx", "CopyFrom(): The content just was created!" );
         }
     }
 
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx
index 4a8e6d0..6a40102 100644
--- a/sfx2/source/doc/guisaveas.cxx
+++ b/sfx2/source/doc/guisaveas.cxx
@@ -140,7 +140,7 @@ sal_uInt16 getSlotIDFromMode( sal_Int8 nStoreMode )
     else if ( nStoreMode == SAVEASREMOTE_REQUESTED )
         nResult = SID_SAVEASREMOTE;
     else {
-        SAL_WARN( "sfx2", "Unacceptable slot name is provided!\n" );
+        SAL_WARN( "sfx", "Unacceptable slot name is provided!\n" );
     }
 
     return nResult;
@@ -1597,7 +1597,7 @@ bool SfxStoringHelper::GUIStoreModel( const uno::Reference< frame::XModel >& xMo
     }
     else
     {
-        SAL_WARN( "sfx2", "This code must be unreachable!\n" );
+        SAL_WARN( "sfx", "This code must be unreachable!\n" );
         throw task::ErrorCodeIOException(
             "SfxStoringHelper::GUIStoreModel: ERRCODE_IO_INVALIDPARAMETER",
             uno::Reference< uno::XInterface >(), ERRCODE_IO_INVALIDPARAMETER);
diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx
index 02aff11..8c59eec 100644
--- a/sfx2/source/doc/objxtor.cxx
+++ b/sfx2/source/doc/objxtor.cxx
@@ -1124,7 +1124,7 @@ void SfxObjectShell::SetInitialized_Impl( const bool i_fromInitNew )
 bool SfxObjectShell::IsChangeRecording() const
 {
     // currently this function needs to be overwritten by Writer and Calc only
-    SAL_WARN( "sfx2", "function not implemented" );
+    SAL_WARN( "sfx", "function not implemented" );
     return false;
 }
 
@@ -1132,7 +1132,7 @@ bool SfxObjectShell::IsChangeRecording() const
 bool SfxObjectShell::HasChangeRecordProtection() const
 {
     // currently this function needs to be overwritten by Writer and Calc only
-    SAL_WARN( "sfx2", "function not implemented" );
+    SAL_WARN( "sfx", "function not implemented" );
     return false;
 }
 
@@ -1140,21 +1140,21 @@ bool SfxObjectShell::HasChangeRecordProtection() const
 void SfxObjectShell::SetChangeRecording( bool /*bActivate*/ )
 {
     // currently this function needs to be overwritten by Writer and Calc only
-    SAL_WARN( "sfx2", "function not implemented" );
+    SAL_WARN( "sfx", "function not implemented" );
 }
 
 
 void SfxObjectShell::SetProtectionPassword( const OUString & /*rPassword*/ )
 {
     // currently this function needs to be overwritten by Writer and Calc only
-    SAL_WARN( "sfx2", "function not implemented" );
+    SAL_WARN( "sfx", "function not implemented" );
 }
 
 
 bool SfxObjectShell::GetProtectionHash( /*out*/ css::uno::Sequence< sal_Int8 > & /*rPasswordHash*/ )
 {
     // currently this function needs to be overwritten by Writer and Calc only
-    SAL_WARN( "sfx2", "function not implemented" );
+    SAL_WARN( "sfx", "function not implemented" );
     return false;
 }
 
diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx
index d8cb2bf..009a29a 100644
--- a/sfx2/source/view/frame.cxx
+++ b/sfx2/source/view/frame.cxx
@@ -76,7 +76,7 @@ using namespace ::com::sun::star::util;
 using namespace ::com::sun::star::frame;
 using namespace ::com::sun::star::container;
 
-SfxPoolItem* SfxUsrAnyItem::CreateDefault() { SAL_WARN( "sfx2", "No SfxUsrAnyItem factory available"); return nullptr; }
+SfxPoolItem* SfxUsrAnyItem::CreateDefault() { SAL_WARN( "sfx", "No SfxUsrAnyItem factory available"); return nullptr; }
 
 SfxPoolItem* SfxUnoFrameItem::CreateDefault()
 {


More information about the Libreoffice-commits mailing list