diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-01-21 14:36:42 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-01-22 13:58:09 +0100 |
commit | d7032371cfc1335073b68b00c0ccab63e244f353 (patch) | |
tree | 62feaa033950a9f39cf539c2dda57aab83688015 | |
parent | 343917ab8bbdeba271cc87d2212d3364f9d74c9e (diff) |
writerperfect: convert assert on invalid input to SAL_WARN
lp502369-3.doc contains several StgEntry that are invalid and have type
0 (STG_EMPTY). Not sure if sot Storage::FillInfoList() should filter
these out.
Change-Id: I493cbb346723a3be4f8bc93de1030e68c1216b50
-rw-r--r-- | writerperfect/source/common/WPXSvInputStream.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx index 7bc436fa069e..b1a2a5d74c4f 100644 --- a/writerperfect/source/common/WPXSvInputStream.cxx +++ b/writerperfect/source/common/WPXSvInputStream.cxx @@ -236,7 +236,7 @@ void OLEStorageImpl::traverse(const SotStorageRef &rStorage, const rtl::OUString } else { - assert(false); + SAL_WARN("writerperfect", "OLEStorageImpl::traverse: invalid storage entry, neither stream nor file"); } } } |