summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-12 16:31:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-13 06:12:00 +0000
commitc3586b684c58e06cd80dea87d7681354acfec80b (patch)
tree09e1b3caab55f1c9ecd4c2559250b42892fd5ee7 /desktop
parenta005fbeddc4e615cfff56a9bd84355f8d42c1c8c (diff)
OSL_TRACE->SAL in chart2..oox
Change-Id: I133a6441824bfbefcfcda130119b5c5d706f86b2 Reviewed-on: https://gerrit.libreoffice.org/31907 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/misc/dp_misc.cxx1
-rw-r--r--desktop/source/deployment/registry/component/dp_component.cxx9
2 files changed, 2 insertions, 8 deletions
diff --git a/desktop/source/deployment/misc/dp_misc.cxx b/desktop/source/deployment/misc/dp_misc.cxx
index 01f1ab95dca1..55aa7bd0908b 100644
--- a/desktop/source/deployment/misc/dp_misc.cxx
+++ b/desktop/source/deployment/misc/dp_misc.cxx
@@ -560,7 +560,6 @@ void syncRepositories(
Reference<task::XRestartManager> restarter(task::OfficeRestartManager::get(comphelper::getProcessComponentContext()));
if (restarter.is())
{
- OSL_TRACE( "Request restart for modified extensions manager" );
restarter->requestRestart(xCmdEnv.is() ? xCmdEnv->getInteractionHandler() :
Reference<task::XInteractionHandler>());
}
diff --git a/desktop/source/deployment/registry/component/dp_component.cxx b/desktop/source/deployment/registry/component/dp_component.cxx
index 243f48a72f02..7a02fb191b69 100644
--- a/desktop/source/deployment/registry/component/dp_component.cxx
+++ b/desktop/source/deployment/registry/component/dp_component.cxx
@@ -1202,9 +1202,7 @@ void BackendImpl::ComponentPackageImpl::componentLiveInsertion(
try {
set->insert(css::uno::Any(*factory++));
} catch (const container::ElementExistException &) {
- OSL_TRACE(
- "implementation %s already registered",
- OUStringToOString(*i, RTL_TEXTENCODING_UTF8).getStr());
+ SAL_WARN("desktop", "implementation already registered " << *i);
}
}
if (!data.singletons.empty()) {
@@ -1226,10 +1224,7 @@ void BackendImpl::ComponentPackageImpl::componentLiveInsertion(
try {
cont->insertByName(name, css::uno::Any());
} catch (const container::ElementExistException &) {
- OSL_TRACE(
- "singleton %s already registered",
- OUStringToOString(
- i->first, RTL_TEXTENCODING_UTF8).getStr());
+ SAL_WARN("desktop", "singleton already registered " << i->first);
cont->replaceByName(name, css::uno::Any());
}
}