summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-09-27 06:23:22 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-09-27 07:38:47 +0200
commit3bcc1762216c2b9dff8bf5414b4930b271f038ae (patch)
tree5c51e7433290a7ebf14630348aa4917d882d3f1f
parentb4972afaa5170fe6712e81fb8d27a21313fdcea2 (diff)
simplify code
Change-Id: I5150299c68576e2442f1ef4c8722a3f5ccb3a070
-rw-r--r--sc/source/filter/ftools/fapihelper.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/filter/ftools/fapihelper.cxx b/sc/source/filter/ftools/fapihelper.cxx
index 1384c7ddbd31..b69fa64fc5cf 100644
--- a/sc/source/filter/ftools/fapihelper.cxx
+++ b/sc/source/filter/ftools/fapihelper.cxx
@@ -246,10 +246,7 @@ void ScfPropertySet::SetAnyProperty( const OUString& rPropName, const Any& rValu
}
catch (const Exception&)
{
- OSL_FAIL(OStringBuffer("ScfPropertySet::SetAnyProperty - cannot set property \"")
- .append(OUStringToOString(rPropName,
- RTL_TEXTENCODING_ASCII_US))
- .append('"').getStr());
+ SAL_WARN("sc", "ScfPropertySet::SetAnyProperty - cannot set property \"" + rPropName + "\"");
}
}