diff options
-rw-r--r-- | sfx2/source/doc/SfxDocumentMetaData.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/doc/SfxDocumentMetaData.cxx b/sfx2/source/doc/SfxDocumentMetaData.cxx index d7118a7f1118..54b4a905f88a 100644 --- a/sfx2/source/doc/SfxDocumentMetaData.cxx +++ b/sfx2/source/doc/SfxDocumentMetaData.cxx @@ -2012,6 +2012,7 @@ SfxDocumentMetaData::loadFromMedium(const OUString & URL, // if we have an URL parameter, it replaces the one in the media descriptor if (!URL.isEmpty()) { md[ utl::MediaDescriptor::PROP_URL() ] <<= URL; + md[ utl::MediaDescriptor::PROP_READONLY() ] <<= true; } if (md.addInputStream()) { md[ utl::MediaDescriptor::PROP_INPUTSTREAM() ] >>= xIn; |