summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sal/rtl/strbuf.cxx1
-rw-r--r--sal/rtl/ustrbuf.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/sal/rtl/strbuf.cxx b/sal/rtl/strbuf.cxx
index bb42dee4a0d4..b88b0d9585c1 100644
--- a/sal/rtl/strbuf.cxx
+++ b/sal/rtl/strbuf.cxx
@@ -105,7 +105,6 @@ void SAL_CALL rtl_stringbuffer_insert( rtl_String ** This,
assert(This);
assert(capacity && *capacity >= 0);
assert(offset >= 0 && offset <= (**This).length);
- assert(len == 0 || str != nullptr);
assert(len >= 0);
sal_Int32 nOldLen;
sal_Char * pBuf;
diff --git a/sal/rtl/ustrbuf.cxx b/sal/rtl/ustrbuf.cxx
index 2755ca6f2899..7f5d698c76ec 100644
--- a/sal/rtl/ustrbuf.cxx
+++ b/sal/rtl/ustrbuf.cxx
@@ -129,7 +129,6 @@ void SAL_CALL rtl_uStringbuffer_insert( rtl_uString ** This,
assert(This);
assert(capacity && *capacity >= 0);
assert(offset >= 0 && offset <= (**This).length);
- assert(len == 0 || str != nullptr);
assert(len >= 0);
sal_Int32 nOldLen;
sal_Unicode * pBuf;