diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-03-17 12:42:51 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-03-17 12:42:51 +0000 |
commit | 95aae0e8bab268ab9c03d1e5ba6393de2f7dce14 (patch) | |
tree | 99abb73843ae754dbeca41d2475901762ca12d32 /xmlscript | |
parent | 90c383e84351f86d193cca53645fc5d4a0fecd39 (diff) |
INTEGRATION: CWS jl5vba (1.7.14); FILE MERGED
2004/01/21 14:36:26 ab 1.7.14.1: #111934# Merge to src680, #110009# Added library preload flag
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/xmllib_imexp/xmllib_import.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/xmlscript/source/xmllib_imexp/xmllib_import.cxx b/xmlscript/source/xmllib_imexp/xmllib_import.cxx index d8335c421991..08d99cf819dc 100644 --- a/xmlscript/source/xmllib_imexp/xmllib_import.cxx +++ b/xmlscript/source/xmllib_imexp/xmllib_import.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xmllib_import.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: obo $ $Date: 2003-09-04 09:20:09 $ + * last change: $Author: obo $ $Date: 2004-03-17 13:42:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -223,7 +223,7 @@ Reference< xml::input::XElement > LibraryImport::startRootElement( else if (mpLibDesc && rLocalName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("library") )) { LibDescriptor& aDesc = *mpLibDesc; - aDesc.bLink = aDesc.bReadOnly = aDesc.bPasswordProtected = sal_False; + aDesc.bLink = aDesc.bReadOnly = aDesc.bPasswordProtected = aDesc.bPreload = sal_False; aDesc.aName = xAttributes->getValueByUidName( XMLNS_LIBRARY_UID, OUString( RTL_CONSTASCII_USTRINGPARAM("name") ) ); @@ -235,6 +235,10 @@ Reference< xml::input::XElement > LibraryImport::startRootElement( &aDesc.bPasswordProtected, OUString( RTL_CONSTASCII_USTRINGPARAM("passwordprotected") ), xAttributes, XMLNS_LIBRARY_UID ); + getBoolAttr( + &aDesc.bPreload, + OUString( RTL_CONSTASCII_USTRINGPARAM("preload") ), + xAttributes, XMLNS_LIBRARY_UID ); return new LibraryElement( rLocalName, xAttributes, 0, this ); } @@ -274,7 +278,7 @@ Reference< xml::input::XElement > LibrariesElement::startChildElement( else if (rLocalName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("library") )) { LibDescriptor aDesc; - aDesc.bLink = aDesc.bReadOnly = aDesc.bPasswordProtected = sal_False; + aDesc.bLink = aDesc.bReadOnly = aDesc.bPasswordProtected = aDesc.bPreload = sal_False; aDesc.aName = xAttributes->getValueByUidName( _pImport->XMLNS_LIBRARY_UID, |