summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorMalte Timmermann [mt] <malte.timmermann@sun.com>2010-07-02 13:17:39 +0200
committerMalte Timmermann [mt] <malte.timmermann@sun.com>2010-07-02 13:17:39 +0200
commitc57d83d4b620a95fd831cf1b828eb87239467761 (patch)
treeb9f6376d81a71b5e474baa2205fac26df23b5de5 /basctl
parent9796d18817669f28ff8c465050469ef729968486 (diff)
parent273fa6a6aa0d56660807ab29892f0618cfbb2e63 (diff)
codecleanup02: merge with DEV300_m84
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/scriptdocument.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx
index a8c6d24a3ff5..1f1d8ab6145b 100644
--- a/basctl/source/basicide/scriptdocument.cxx
+++ b/basctl/source/basicide/scriptdocument.cxx
@@ -1016,8 +1016,11 @@ namespace basctl
::rtl::OUString aSearchURL1( RTL_CONSTASCII_USTRINGPARAM( "share/basic" ) );
::rtl::OUString aSearchURL2( RTL_CONSTASCII_USTRINGPARAM( "share/uno_packages" ) );
- if( aCanonicalFileURL.indexOf( aSearchURL1 ) != -1 || aCanonicalFileURL.indexOf( aSearchURL2 ) != -1 )
- bIsShared = true;
+ ::rtl::OUString aSearchURL3( RTL_CONSTASCII_USTRINGPARAM( "share/extensions" ) );
+ if( aCanonicalFileURL.indexOf( aSearchURL1 ) != -1 ||
+ aCanonicalFileURL.indexOf( aSearchURL2 ) != -1 ||
+ aCanonicalFileURL.indexOf( aSearchURL3 ) != -1 )
+ bIsShared = true;
}
}
catch( const Exception& )