diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-15 12:03:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-19 08:29:01 +0000 |
commit | f573de2a956d91f67c384dbb54c980c117219032 (patch) | |
tree | 05c58829e18e4099b56c3edaf2c6477b065a1a5b /editeng/source | |
parent | 6fd7c0c7714a90a6b99003b67a47b28b800cfdff (diff) |
no need to wrap calls to SAL_INFO in #ifdef DBG_UTIL
Change-Id: Ic373a8f145f3f78c3f109e36a9c1dd9156f0dd75
Reviewed-on: https://gerrit.libreoffice.org/32034
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/accessibility/AccessibleStaticTextBase.cxx | 10 | ||||
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 4 |
2 files changed, 0 insertions, 14 deletions
diff --git a/editeng/source/accessibility/AccessibleStaticTextBase.cxx b/editeng/source/accessibility/AccessibleStaticTextBase.cxx index 2e184f3e1a70..a3175c0be815 100644 --- a/editeng/source/accessibility/AccessibleStaticTextBase.cxx +++ b/editeng/source/accessibility/AccessibleStaticTextBase.cxx @@ -458,15 +458,10 @@ namespace accessibility void AccessibleStaticTextBase::SetEditSource( ::std::unique_ptr< SvxEditSource > && pEditSource ) { -#ifdef DBG_UTIL // precondition: solar mutex locked DBG_TESTSOLARMUTEX(); mpImpl->SetEditSource( std::move(pEditSource) ); - -#else - mpImpl->SetEditSource( std::move(pEditSource) ); -#endif } void AccessibleStaticTextBase::SetEventSource( const uno::Reference< XAccessible >& rInterface ) @@ -477,15 +472,10 @@ namespace accessibility void AccessibleStaticTextBase::SetOffset( const Point& rPoint ) { -#ifdef DBG_UTIL // precondition: solar mutex locked DBG_TESTSOLARMUTEX(); mpImpl->SetOffset( rPoint ); - -#else - mpImpl->SetOffset( rPoint ); -#endif } void AccessibleStaticTextBase::Dispose() diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index 03e90b37eb60..57186eb98f0a 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -1463,12 +1463,10 @@ void SvxAutoCorrect::SaveCplSttExceptList( LanguageType eLang ) auto const iter = m_pLangTable->find(LanguageTag(eLang)); if (iter != m_pLangTable->end() && iter->second) iter->second->SaveCplSttExceptList(); -#ifdef DBG_UTIL else { SAL_WARN("editeng", "Save an empty list? "); } -#endif } void SvxAutoCorrect::SaveWrdSttExceptList(LanguageType eLang) @@ -1476,12 +1474,10 @@ void SvxAutoCorrect::SaveWrdSttExceptList(LanguageType eLang) auto const iter = m_pLangTable->find(LanguageTag(eLang)); if (iter != m_pLangTable->end() && iter->second) iter->second->SaveWrdSttExceptList(); -#ifdef DBG_UTIL else { SAL_WARN("editeng", "Save an empty list? "); } -#endif } // Adds a single word. The list will immediately be written to the file! |