diff options
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/impimagetree.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/gdi/impimagetree.cxx b/vcl/source/gdi/impimagetree.cxx index 8955902039fe..59b99dca37e0 100644 --- a/vcl/source/gdi/impimagetree.cxx +++ b/vcl/source/gdi/impimagetree.cxx @@ -258,6 +258,7 @@ bool ImplImageTree::findImage(std::vector<OUString> const & paths, BitmapEx & bi css::uno::Reference< css::io::XInputStream > s; bool ok = rNameAccess->getByName(*j) >>= s; assert(ok); + (void)ok; // prevent unused warning in release build loadImageFromStream( wrapStream(s), *j, bitmap ); return true; @@ -280,6 +281,7 @@ void ImplImageTree::loadImageLinks() css::uno::Reference< css::io::XInputStream > s; bool ok = rNameAccess->getByName(aLinkFilename) >>= s; assert(ok); + (void)ok; // prevent unused warning in release build parseLinkFile( wrapStream(s) ); return; |