diff options
author | Radu Ioan <ioan.radu.g@gmail.com> | 2013-06-29 17:38:04 +0300 |
---|---|---|
committer | Bosdonnat Cedric <cedric.bosdonnat@free.fr> | 2013-07-03 07:59:33 +0000 |
commit | 61db96daa87754af24355d7ac94ee0305f22ff87 (patch) | |
tree | 6c15e7b896c62f42a1dfb02695418f9770fc3b46 /editeng | |
parent | 54aac00e51652deec3d71524eec97f171c5cd40e (diff) |
fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO
- replaced RTL_CONTEXT_ with SAL_INFO
- replace OSL_* with SAL_*
Change-Id: I26761cf1d4c1cfe21dec7d8ede6df6f177bf2c3e
Reviewed-on: https://gerrit.libreoffice.org/4620
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 7 | ||||
-rw-r--r-- | editeng/source/misc/unolingu.cxx | 3 |
2 files changed, 4 insertions, 6 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index 883c1f13f9c7..b06e69ad85c4 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -60,7 +60,6 @@ #include <com/sun/star/ucb/NameClash.hpp> #include <xmloff/xmltoken.hxx> #include <vcl/help.hxx> -#include <rtl/logfile.hxx> #define CHAR_HARDBLANK ((sal_Unicode)0x00A0) @@ -1435,7 +1434,7 @@ void SvxAutoCorrect::SaveCplSttExceptList( LanguageType eLang ) #ifdef DBG_UTIL else { - OSL_FAIL("Save an empty list? "); + SAL_WARN("editeng", "Save an empty list? "); } #endif } @@ -1448,7 +1447,7 @@ void SvxAutoCorrect::SaveWrdSttExceptList(LanguageType eLang) #ifdef DBG_UTIL else { - OSL_FAIL("Save an empty list? "); + SAL_WARN("editeng", "Save an empty list? "); } #endif } @@ -2070,7 +2069,7 @@ SvxAutocorrWordList* SvxAutoCorrectLanguageLists::LoadAutocorrWordList() // get parser uno::Reference< xml::sax::XParser > xParser = xml::sax::Parser::create(xContext); - RTL_LOGFILE_PRODUCT_CONTEXT( aLog, "AutoCorrect Import" ); + SAL_INFO("editeng", "AutoCorrect Import" ); uno::Reference< xml::sax::XDocumentHandler > xFilter = new SvXMLAutoCorrectImport( xContext, pAutocorr_List, rAutoCorrect, xStg ); // connect parser and filter diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index d4a72d68609f..a8554d187273 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -23,7 +23,6 @@ #include <list> #include <memory> #include <editeng/unolingu.hxx> -#include <rtl/logfile.hxx> #include <unotools/pathoptions.hxx> #include <com/sun/star/frame/Desktop.hpp> #include <com/sun/star/frame/XModel.hpp> @@ -849,7 +848,7 @@ short SvxDicError( Window *pParent, sal_Int16 nError ) case DIC_ERR_READONLY : nRid = RID_SVXSTR_DIC_ERR_READONLY; break; default: nRid = RID_SVXSTR_DIC_ERR_UNKNOWN; - OSL_FAIL("unexpected case"); + SAL_WARN("editeng", "unexpected case"); } nRes = InfoBox( pParent, EE_RESSTR( nRid ) ).Execute(); } |