diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-12 16:31:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-13 06:12:00 +0000 |
commit | c3586b684c58e06cd80dea87d7681354acfec80b (patch) | |
tree | 09e1b3caab55f1c9ecd4c2559250b42892fd5ee7 /fpicker/source | |
parent | a005fbeddc4e615cfff56a9bd84355f8d42c1c8c (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 'fpicker/source')
-rw-r--r-- | fpicker/source/aqua/FilterHelper.mm | 24 | ||||
-rw-r--r-- | fpicker/source/win32/filepicker/FPentry.cxx | 2 |
2 files changed, 2 insertions, 24 deletions
diff --git a/fpicker/source/aqua/FilterHelper.mm b/fpicker/source/aqua/FilterHelper.mm index 3d04fd5c4ebe..2e06025bc6ce 100644 --- a/fpicker/source/aqua/FilterHelper.mm +++ b/fpicker/source/aqua/FilterHelper.mm @@ -237,7 +237,6 @@ void FilterHelper::ensureFilterList( const ::rtl::OUString& _rInitialCurrentFilt // set the first filter to the current filter m_aCurrentFilter = _rInitialCurrentFilter; - OSL_TRACE("ensureFilterList filter:%s", OUStringToOString(m_aCurrentFilter, RTL_TEXTENCODING_UTF8).getStr()); } } @@ -250,23 +249,6 @@ void FilterHelper::SetCurFilter( const rtl::OUString& rFilter ) m_aCurrentFilter = rFilter; } - //only for output purposes -#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()) { - SAL_INFO("fpicker.aqua", "Current active suffixes: "); - OUStringList::iterator suffIter = suffixes.begin(); - while(suffIter != suffixes.end()) { - SAL_INFO("fpicker.aqua", *suffIter); - suffIter++; - } - } - } else { - SAL_INFO("fpicker.aqua", "No filter entry was found for that name!"); - } -#endif } void FilterHelper::SetFilters() @@ -274,8 +256,6 @@ void FilterHelper::SetFilters() // set the default filter if( m_aCurrentFilter.getLength() > 0 ) { - OSL_TRACE( "Setting current filter to %s", OUStringToOString(m_aCurrentFilter, RTL_TEXTENCODING_UTF8).getStr()); - SetCurFilter( m_aCurrentFilter ); } } @@ -343,7 +323,7 @@ throw (css::lang::IllegalArgumentException, css::uno::RuntimeException) bool FilterHelper::filenameMatchesFilter(NSString* sFilename) { if (m_aCurrentFilter.isEmpty()) { - OSL_TRACE("filter name is empty"); + SAL_WARN("fpicker", "filter name is empty"); return true; } @@ -363,7 +343,7 @@ bool FilterHelper::filenameMatchesFilter(NSString* sFilename) FilterList::iterator filter = ::std::find_if(m_pFilterList->begin(), m_pFilterList->end(), FilterTitleMatch(m_aCurrentFilter)); if (filter == m_pFilterList->end()) { - OSL_TRACE("filter not found in list"); + SAL_WARN("fpicker", "filter not found in list"); return true; } diff --git a/fpicker/source/win32/filepicker/FPentry.cxx b/fpicker/source/win32/filepicker/FPentry.cxx index c21317207003..e543ab8e5fb4 100644 --- a/fpicker/source/win32/filepicker/FPentry.cxx +++ b/fpicker/source/win32/filepicker/FPentry.cxx @@ -51,7 +51,6 @@ static Reference< XInterface > SAL_CALL createInstance( if (bVistaOrNewer) { - OSL_TRACE("use special (vista) system file picker ..."); xDlg.set( static_cast< XFilePicker2* >( new ::fpicker::win32::vista::VistaFilePicker( rServiceManager ) ) ); @@ -59,7 +58,6 @@ static Reference< XInterface > SAL_CALL createInstance( else #endif { - OSL_TRACE("use normal system file picker ..."); xDlg.set( static_cast< XFilePicker2* >( new CFilePicker( rServiceManager ) ) ); |