diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 17:03:35 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 17:03:35 +1000 |
commit | 97eb00c75e173d4c8d0b483a7941ad3d2f23783e (patch) | |
tree | 7974a8b9423c56982646366b0859dfb2a1a88d50 /vcl/osx | |
parent | d0a99cc2ed76be220f7e868e332ba19f6e48a440 (diff) |
revert OSL_ASSERT changes
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
Diffstat (limited to 'vcl/osx')
-rw-r--r-- | vcl/osx/HtmlFmtFlt.cxx | 2 | ||||
-rw-r--r-- | vcl/osx/a11ywrapper.mm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/HtmlFmtFlt.cxx b/vcl/osx/HtmlFmtFlt.cxx index dcb072ed83bf..e068a45b4142 100644 --- a/vcl/osx/HtmlFmtFlt.cxx +++ b/vcl/osx/HtmlFmtFlt.cxx @@ -80,7 +80,7 @@ const std::string TAG_END_BODY = std::string("</body"); Sequence<sal_Int8> SAL_CALL TextHtmlToHTMLFormat(Sequence<sal_Int8>& aTextHtml) { - assert(aTextHtml.getLength() > 0); + OSL_ASSERT(aTextHtml.getLength() > 0); if (!(aTextHtml.getLength() > 0)) return Sequence<sal_Int8>(); diff --git a/vcl/osx/a11ywrapper.mm b/vcl/osx/a11ywrapper.mm index bee877d9c8ba..15123c826854 100644 --- a/vcl/osx/a11ywrapper.mm +++ b/vcl/osx/a11ywrapper.mm @@ -302,7 +302,7 @@ static std::ostream &operator<<(std::ostream &s, NSObject *obj) { } catch (const Exception&) { } - assert( false ); + OSL_ASSERT( false ); return nil; } |