summaryrefslogtreecommitdiff
path: root/vcl/osx/HtmlFmtFlt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/osx/HtmlFmtFlt.cxx')
-rw-r--r--vcl/osx/HtmlFmtFlt.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/vcl/osx/HtmlFmtFlt.cxx b/vcl/osx/HtmlFmtFlt.cxx
index f5e0b2282004..74779df5a11e 100644
--- a/vcl/osx/HtmlFmtFlt.cxx
+++ b/vcl/osx/HtmlFmtFlt.cxx
@@ -25,8 +25,7 @@
#include <sstream>
#include <vector>
#include <iomanip>
-
-#include <boost/assert.hpp>
+#include <cassert>
using namespace com::sun::star::uno;
@@ -122,14 +121,14 @@ const char* HtmlStartTag = "<html";
Sequence<sal_Int8> HTMLFormatToTextHtml(const Sequence<sal_Int8>& aHTMLFormat)
{
- BOOST_ASSERT(isHTMLFormat(aHTMLFormat) && "No HTML Format provided");
+ assert(isHTMLFormat(aHTMLFormat) && "No HTML Format provided");
Sequence<sal_Int8>& nonconstHTMLFormatRef = const_cast< Sequence<sal_Int8>& >(aHTMLFormat);
sal_Char* dataStart = reinterpret_cast<sal_Char*>(nonconstHTMLFormatRef.getArray());
sal_Char* dataEnd = dataStart + nonconstHTMLFormatRef.getLength() - 1;
const sal_Char* htmlStartTag = strcasestr(dataStart, HtmlStartTag);
- BOOST_ASSERT(htmlStartTag && "Seems to be no HTML at all");
+ assert(htmlStartTag && "Seems to be no HTML at all");
// It doesn't seem to be HTML? Well then simply return what has been
// provided in non-debug builds