| a12ae337 | 22-Sep-2026 |
Peter <petko@apache.org> |
svtools: one shared policy for following URLs out of document content
Each module that follows a URL named by document content -- linked graphics, background images, instance data, media -- decided
svtools: one shared policy for following URLs out of document content
Each module that follows a URL named by document content -- linked graphics, background images, instance data, media -- decided for itself whether to check anything, and the check that does exist was written out inline at the call site.
Add svtools/linkpolicy.hxx as the one place that decides, and apply it at the load sites in editeng, forms, sfx2, sw, avmedia and svgio. A relative reference and a file on this machine load as before; anything else asks the running document, which is the question the LinkManager already asks.
Two places on those paths assumed success and no longer do: a reference that cannot be resolved, and a graphic that is not there.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> (cherry picked from commit 5d0d2251b2545c6f290a9e81744e43c48ab6ba17)
show more ...
|
| 4e5e52c9 | 31-Jul-2019 |
Matthias Seidel <mseidel@apache.org> |
Cleaned up whitespace. Use correct icon for high contrast.
git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1864095 13f79535-47bb-0310-9956-ffa450edef68 (cherry picked from commit 1d5f0
Cleaned up whitespace. Use correct icon for high contrast.
git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1864095 13f79535-47bb-0310-9956-ffa450edef68 (cherry picked from commit 1d5f04f7d1a928edb1bff4c7fb122c847c1a2eb0)
show more ...
|