diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-23 11:47:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-23 14:38:14 +0200 |
commit | 5e028ad5dccc6ff1a9250baf2196f7a2f235e314 (patch) | |
tree | 6c6992e6fccf43b60141fb6ae32a6ad8e37cb84d /extensions/source/ole | |
parent | sw: fix UBSAN error in CppunitTest_sw_odfimport (diff) | |
download | core-5e028ad5dccc6ff1a9250baf2196f7a2f235e314.tar.gz core-5e028ad5dccc6ff1a9250baf2196f7a2f235e314.zip |
simplify some string handling in tracing calls
Change-Id: I0fb76562429e691400a02216019c7f96791cf9b3
Reviewed-on: https://gerrit.libreoffice.org/39159
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions/source/ole')
-rw-r--r-- | extensions/source/ole/oleobjw.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/extensions/source/ole/oleobjw.cxx b/extensions/source/ole/oleobjw.cxx index e074a238756c..25c940611b50 100644 --- a/extensions/source/ole/oleobjw.cxx +++ b/extensions/source/ole/oleobjw.cxx @@ -291,10 +291,7 @@ void SAL_CALL IUnknownWrapper_Impl::setValue( const OUString& aPropertyName, || (aVarDesc && aVarDesc->wVarFlags == VARFLAG_FREADONLY) ) { //read-only - OUString msg("[automation bridge] Property " + aPropertyName + - " is read-only"); - OString sMsg = OUStringToOString(msg, osl_getThreadTextEncoding()); - OSL_FAIL(sMsg.getStr()); + SAL_WARN( "extensions.ole", "[automation bridge] Property " << aPropertyName << " is read-only"); // ignore silently return; } |