Kaydet (Commit) 159edc43 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bypass extension scanning unless HAVE_FEATURE_EXTENSIONS

Change-Id: I6ada96fc5cea895b967387c10814a7003e1e492b
üst 5ef3e4ca
......@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <config_features.h>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/container/XContainer.hpp>
#include <com/sun/star/embed/ElementModes.hpp>
......@@ -1258,6 +1260,7 @@ void SfxLibraryContainer::init_Impl( const OUString& rInitialDocumentURL,
void SfxLibraryContainer::implScanExtensions( void )
{
#if HAVE_FEATURE_EXTENSIONS
ScriptExtensionIterator aScriptIt;
OUString aLibURL;
......@@ -1297,6 +1300,7 @@ void SfxLibraryContainer::implScanExtensions( void )
const bool bReadOnly = false;
Reference< XNameAccess > xLib = createLibraryLink( aLibName, aIndexFileURL, bReadOnly );
}
#endif
}
// Handle maLibInfoFileURL and maStorageURL correctly
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment