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

Stephan Bergmann sbergman at redhat.com
Thu Feb 4 15:05:08 UTC 2016


 framework/source/fwi/helper/mischelper.cxx                      |    2 +-
 framework/source/uiconfiguration/windowstateconfiguration.cxx   |    2 +-
 framework/source/uielement/langselectionstatusbarcontroller.cxx |    4 ++--
 framework/source/uielement/menubarmanager.cxx                   |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 879bf788bca29536232b0a2124b3c411b071ef63
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Feb 4 16:04:42 2016 +0100

    loplugin:sallogareas
    
    Change-Id: I27a0fa8318fa50ef6e3ccd3a736c5fcbc36bbaa0

diff --git a/framework/source/fwi/helper/mischelper.cxx b/framework/source/fwi/helper/mischelper.cxx
index 665b742..7eb5a40 100644
--- a/framework/source/fwi/helper/mischelper.cxx
+++ b/framework/source/fwi/helper/mischelper.cxx
@@ -53,7 +53,7 @@ uno::Reference< linguistic2::XLanguageGuessing > LanguageGuessingHelper::GetGues
         }
         catch (const uno::Exception &)
         {
-            SAL_WARN( "framework.fwi", "failed to get language guessing component" );
+            SAL_WARN( "fwk", "failed to get language guessing component" );
         }
     }
     return m_xLanguageGuesser;
diff --git a/framework/source/uiconfiguration/windowstateconfiguration.cxx b/framework/source/uiconfiguration/windowstateconfiguration.cxx
index 9412302..1fff2d3 100644
--- a/framework/source/uiconfiguration/windowstateconfiguration.cxx
+++ b/framework/source/uiconfiguration/windowstateconfiguration.cxx
@@ -844,7 +844,7 @@ ConfigurationAccess_WindowState::WindowStateInfo& ConfigurationAccess_WindowStat
                             case PROPERTY_CONTEXTACTIVE:
                                 aWindowStateInfo.bContextActive = bValue; break;
                             default:
-                                SAL_WARN( "framework.uiconfiguration", "Unknown boolean property in WindowState found!" );
+                                SAL_WARN( "fwk.uiconfiguration", "Unknown boolean property in WindowState found!" );
                         }
                     }
                 }
diff --git a/framework/source/uielement/langselectionstatusbarcontroller.cxx b/framework/source/uielement/langselectionstatusbarcontroller.cxx
index 5133e44..2aa6c61 100644
--- a/framework/source/uielement/langselectionstatusbarcontroller.cxx
+++ b/framework/source/uielement/langselectionstatusbarcontroller.cxx
@@ -159,7 +159,7 @@ throw (css::uno::RuntimeException, std::exception)
              !rStr.isEmpty()) // 'no language found' from language guessing
         {
             SAL_WARN_IF( MID_LANG_SEL_1 > nItemId || nItemId > MID_LANG_SEL_9,
-                    "framework.uielement", "nItemId outside of expected range!" );
+                    "fwk.uielement", "nItemId outside of expected range!" );
             xPopupMenu->insertItem( nItemId, rStr, 0, nItemId );
             if ( rStr == m_aCurLang )
             {
@@ -187,7 +187,7 @@ throw (css::uno::RuntimeException, std::exception)
             !rStr.isEmpty()) // 'no language found' from language guessing
         {
             SAL_WARN_IF( MID_LANG_PARA_1 > nItemId || nItemId > MID_LANG_PARA_9,
-                    "framework.uielement", "nItemId outside of expected range!" );
+                    "fwk.uielement", "nItemId outside of expected range!" );
             subPopupMenu->insertItem( nItemId, rStr, 0, nItemId );
             aLangMap[nItemId] = rStr;
             ++nItemId;
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx
index cd4492f..8718817 100644
--- a/framework/source/uielement/menubarmanager.cxx
+++ b/framework/source/uielement/menubarmanager.cxx
@@ -226,7 +226,7 @@ MenuBarManager::~MenuBarManager()
     m_xDeferedItemContainer.clear();
     m_aAsyncSettingsTimer.Stop();
 
-    SAL_WARN_IF( OWeakObject::m_refCount != 0, "framework.uielement", "Who wants to delete an object with refcount > 0!" );
+    SAL_WARN_IF( OWeakObject::m_refCount != 0, "fwk.uielement", "Who wants to delete an object with refcount > 0!" );
 }
 
 void MenuBarManager::Destroy()


More information about the Libreoffice-commits mailing list