summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorRohan Kumar <rohankanojia420@gmail.com>2016-03-14 11:13:18 +0530
committerBjörn Michaelsen <bjoern.michaelsen@canonical.com>2016-03-15 00:15:33 +0000
commitb69d253fe4192c7224b4205ca52109070d2df5ed (patch)
treec1a056ade775d73241b74ce05bf56be1396d1aad /fpicker
parentafbdde44b85e0d76bbc102188391b296113802dd (diff)
tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals
I replaced OSL_DEBUG_LEVEL > 1 with OSL_DEBUG_LEVEL > 0 and added SAL_INFO statements intead of OSL_TRACE Change-Id: Id3fda00e64eacc952e9317d854b179ac8f26d6ed Reviewed-on: https://gerrit.libreoffice.org/23229 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/aqua/FilterHelper.mm8
1 files changed, 4 insertions, 4 deletions
diff --git a/fpicker/source/aqua/FilterHelper.mm b/fpicker/source/aqua/FilterHelper.mm
index ca91f7a95293..c539fd64fae0 100644
--- a/fpicker/source/aqua/FilterHelper.mm
+++ b/fpicker/source/aqua/FilterHelper.mm
@@ -251,20 +251,20 @@ void FilterHelper::SetCurFilter( const rtl::OUString& rFilter )
}
//only for output purposes
-#if OSL_DEBUG_LEVEL > 1
+#if OSL_DEBUG_LEVEL > 0
FilterList::iterator aFilter = ::std::find_if(m_pFilterList->begin(), m_pFilterList->end(), FilterTitleMatch(m_aCurrentFilter));
if (aFilter != m_pFilterList->end()) {
OUStringList suffixes = aFilter->getFilterSuffixList();
if (!suffixes.empty()) {
- OSL_TRACE("Current active suffixes: ");
+ SAL_INFO("fpicker.aqua", "Current active suffixes: ");
OUStringList::iterator suffIter = suffixes.begin();
while(suffIter != suffixes.end()) {
- OSL_TRACE("%s", OUStringToOString((*suffIter), RTL_TEXTENCODING_UTF8).getStr());
+ SAL_INFO("fpicker.aqua", *suffIter);
suffIter++;
}
}
} else {
- OSL_TRACE("No filter entry was found for that name!");
+ SAL_INFO("fpicker.aqua", "No filter entry was found for that name!");
}
#endif
}