summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 17:03:35 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 17:03:35 +1000
commit97eb00c75e173d4c8d0b483a7941ad3d2f23783e (patch)
tree7974a8b9423c56982646366b0859dfb2a1a88d50 /vcl/osx
parentd0a99cc2ed76be220f7e868e332ba19f6e48a440 (diff)
revert OSL_ASSERT changes
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/HtmlFmtFlt.cxx2
-rw-r--r--vcl/osx/a11ywrapper.mm2
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;
}