diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-03-28 00:17:24 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-03-28 00:17:37 +0200 |
commit | 159edc43135bd02f6d507424c3b0546c2e03851f (patch) | |
tree | 1dc5c550158d5c439f62d80ca2ba850aa06e844c /basic | |
parent | 5ef3e4ca5ba9725178481bdd066564340a51a3cc (diff) |
Bypass extension scanning unless HAVE_FEATURE_EXTENSIONS
Change-Id: I6ada96fc5cea895b967387c10814a7003e1e492b
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/uno/namecont.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index 1f1031ee75fc..8f663de41228 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -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 |