summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 09:05:32 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 09:05:32 +1000
commit768f65105b4f45793bd59331732626f072db9639 (patch)
treecf31d61a9ed1406bf46578124841b902f18be1ed /vcl/osx
parent34ca5a2fb5085bb38a9ab050f60ac0a2283acd03 (diff)
tdf#43157: convert most of vcl codebase away from OSL_ASSERT to assert
Change-Id: Ifaae7af7169fe6c24d152f8aba51ba3ff3bdb9f8
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 e068a45b4142..dcb072ed83bf 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)
{
- OSL_ASSERT(aTextHtml.getLength() > 0);
+ 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 15123c826854..bee877d9c8ba 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&) {
}
- OSL_ASSERT( false );
+ assert( false );
return nil;
}