[Libreoffice-commits] core.git: fpicker/source
Rohan Kumar
rohankanojia420 at gmail.com
Tue Mar 15 00:16:01 UTC 2016
fpicker/source/aqua/FilterHelper.mm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit b69d253fe4192c7224b4205ca52109070d2df5ed
Author: Rohan Kumar <rohankanojia420 at gmail.com>
Date: Mon Mar 14 11:13:18 2016 +0530
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 at libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen at canonical.com>
diff --git a/fpicker/source/aqua/FilterHelper.mm b/fpicker/source/aqua/FilterHelper.mm
index ca91f7a..c539fd6 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
}
More information about the Libreoffice-commits
mailing list