Mercurial > hg > orthanc
diff Core/Images/FontRegistry.h @ 2407:5edec967055e
fix sandboxed builds
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 20 Sep 2017 17:02:27 +0200 |
parents | 4900688827a8 |
children | 878b59270859 |
line wrap: on
line diff
--- a/Core/Images/FontRegistry.h Wed Sep 20 16:28:27 2017 +0200 +++ b/Core/Images/FontRegistry.h Wed Sep 20 17:02:27 2017 +0200 @@ -57,7 +57,9 @@ void AddFromMemory(const std::string& font); +#if ORTHANC_SANDBOXED == 0 void AddFromFile(const std::string& path); +#endif #if ORTHANC_HAS_EMBEDDED_RESOURCES == 1 void AddFromResource(EmbeddedResources::FileResourceId resource);