Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4
orthanc-webviewer
framework190.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File framework190.diff of Package orthanc-webviewer
--- OrthancWebViewer-2.7.orig/Plugin/Cache/CacheManager.cpp +++ OrthancWebViewer-2.7/Plugin/Cache/CacheManager.cpp @@ -475,7 +475,14 @@ namespace OrthancPlugins bool ok; try { +#if defined(ORTHANC_FRAMEWORK_VERSION_IS_ABOVE) && ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 9, 0) + std::unique_ptr<Orthanc::IMemoryBuffer> buffer( + pimpl_->storage_.Read(uuid, Orthanc::FileContentType_Unknown)); + buffer->MoveToString(content); +#else pimpl_->storage_.Read(content, uuid, Orthanc::FileContentType_Unknown); +#endif + ok = (content.size() == size); } catch (std::runtime_error&)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor