summaryrefslogtreecommitdiff
path: root/sal/textenc/textenc.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-09-14 16:44:46 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-09-14 16:48:46 +0200
commit42990cc2041635c60f904d78e4adefcfd65cfeab (patch)
treed40a6ac4fb8c74473d0ac0dd1697cabfbb4a6859 /sal/textenc/textenc.cxx
parentfb42827f323cec964cbbed3a86f9514ea62b1060 (diff)
better debug message when textenc module loading fails
This is at least the second time there's a race condition during build, and OSL_TRACE is just SAL_INFO, i.e. not printed by default. Change-Id: I1c683cf463665c6e36097025756c3aeab3a2c330
Diffstat (limited to 'sal/textenc/textenc.cxx')
-rw-r--r--sal/textenc/textenc.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sal/textenc/textenc.cxx b/sal/textenc/textenc.cxx
index 8aeb67a7b243..97288e45fb1b 100644
--- a/sal/textenc/textenc.cxx
+++ b/sal/textenc/textenc.cxx
@@ -390,14 +390,13 @@ class FullTextEncodingData: private boost::noncopyable {
public:
FullTextEncodingData() {
if (!module_.loadRelative(&thisModule, SAL_MODULENAME("sal_textenc"))) {
- OSL_TRACE("Loading sal_textenc library failed");
+ SAL_WARN( "sal.textenc", "Loading sal_textenc library failed" );
std::abort();
}
function_ = reinterpret_cast< TextEncodingFunction * >(
module_.getFunctionSymbol("sal_getFullTextEncodingData"));
if (function_ == 0) {
- OSL_TRACE(
- "Obtaining sal_getFullTextEncodingData fuction from sal_textenc"
+ SAL_WARN( "sal.textenc", "Obtaining sal_getFullTextEncodingData fuction from sal_textenc"
" library failed");
std::abort();
}