diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 09:05:32 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 09:05:32 +1000 |
commit | 768f65105b4f45793bd59331732626f072db9639 (patch) | |
tree | cf31d61a9ed1406bf46578124841b902f18be1ed /vcl/source/image | |
parent | 34ca5a2fb5085bb38a9ab050f60ac0a2283acd03 (diff) |
tdf#43157: convert most of vcl codebase away from OSL_ASSERT to assert
Change-Id: Ifaae7af7169fe6c24d152f8aba51ba3ff3bdb9f8
Diffstat (limited to 'vcl/source/image')
-rw-r--r-- | vcl/source/image/ImplImageTree.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/image/ImplImageTree.cxx b/vcl/source/image/ImplImageTree.cxx index 508be2cb53f6..5959849b9370 100644 --- a/vcl/source/image/ImplImageTree.cxx +++ b/vcl/source/image/ImplImageTree.cxx @@ -135,7 +135,7 @@ std::shared_ptr<SvStream> wrapStream(css::uno::Reference< css::io::XInputStream // SeekPos implementation for an XInputStream that is not also XSeekable // (cf. "@@@" at tags/DEV300_m37/svtools/source/misc1/strmadpt.cxx@264807 // l. 593): - OSL_ASSERT(stream.is()); + assert(stream.is()); std::shared_ptr<SvStream> s(std::make_shared<SvMemoryStream>()); for (;;) { @@ -398,10 +398,10 @@ void ImplImageTree::createStyle() if (maCurrentStyle != "default") { INetURLObject aUrl(getIconThemeFolderUrl()); - OSL_ASSERT(!aUrl.HasError()); + assert(!aUrl.HasError()); bool ok = aUrl.Append("images_" + maCurrentStyle, INetURLObject::EncodeMechanism::All); - OSL_ASSERT(ok); (void) ok; + assert(ok); (void) ok; sThemeUrl = aUrl.GetMainURL(INetURLObject::DecodeMechanism::NONE) + ".zip"; } |