Change-Id: I68af0bcfd6700ee40f2d0879e57de9d66c62c983
This commit is contained in:
Stephan Bergmann
2016-09-27 09:52:59 +02:00
parent 653e0ccc4e
commit bae1e2aa63

View File

@@ -1102,6 +1102,13 @@ throw ( RuntimeException )
{
// Special path variables as they can occur in the middle of a path. Only match if they
// describe a whole directory and not only a substring of a directory!
// (Ideally, all substitutions should stick to syntactical
// boundaries within the given URL, like not covering only
// part of a URL path segment; however, at least when saving
// an Impress document, one URL that is passed in is of the
// form <file:///.../share/palette%3Bfile:///.../user/
// config/standard.sob>, re-substituted to
// <$(inst)/share/palette%3B$(user)/config/standard.sob>.)
const sal_Unicode* pStr = aURL.getStr();
if ( nPos > 0 )