[Libreoffice-commits] .: desktop/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Fri Jul 20 02:10:23 PDT 2012


 desktop/source/deployment/registry/dp_backend.cxx |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

New commits:
commit 06f20d73da21342046a480a6b22af69901351328
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jul 20 11:10:05 2012 +0200

    Fix SAL_LOG area usage
    
    Change-Id: If8acc5e9fee2730796637dfb505e0c514f96f1a3

diff --git a/desktop/source/deployment/registry/dp_backend.cxx b/desktop/source/deployment/registry/dp_backend.cxx
index 16bc5d1..13231ec 100644
--- a/desktop/source/deployment/registry/dp_backend.cxx
+++ b/desktop/source/deployment/registry/dp_backend.cxx
@@ -73,7 +73,7 @@ void PackageRegistryBackend::disposing( lang::EventObject const & event )
     ::osl::MutexGuard guard( getMutex() );
     if ( m_bound.erase( url ) != 1 )
     {
-        SAL_WARN("basic", "erase(" << url << ") != 1");
+        SAL_WARN("desktop.deployment", "erase(" << url << ") != 1");
     }
 }
 
@@ -209,7 +209,7 @@ Reference<deployment::XPackage> PackageRegistryBackend::bindPackage(
     { // first insertion
         SAL_WARN_IF(
             Reference<XInterface>(insertion.first->second) != xNewPackage,
-            "desktop", "mismatch");
+            "desktop.deployment", "mismatch");
     }
     else
     { // found existing entry
@@ -339,7 +339,8 @@ Package::Package( ::rtl::Reference<PackageRegistryBackend> const & myBackend,
     if (m_bRemoved)
     {
         //We use the last segment of the URL
-        SAL_WARN_IF(!m_name.isEmpty(), "basic", "non-empty m_name");
+        SAL_WARN_IF(
+            !m_name.isEmpty(), "desktop.deployment", "non-empty m_name");
         OUString name = m_url;
         rtl::Bootstrap::expandMacros(name);
         sal_Int32 index = name.lastIndexOf('/');
@@ -679,7 +680,8 @@ void Package::processPackage_impl(
         }
         catch (const RuntimeException &e) {
             SAL_WARN(
-                "basic", "unexpected RuntimeException \"" << e.Message << '"');
+                "desktop.deployment",
+                "unexpected RuntimeException \"" << e.Message << '"');
             throw;
         }
         catch (const CommandFailedException &) {


More information about the Libreoffice-commits mailing list