summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-07-07 11:22:55 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-07-07 11:22:55 +0000
commit8fce3aa218709836c2a13541ef313916f18a5035 (patch)
tree549ba22e40a739146a1125b99f33b63204e2048a /basctl
parent51fd122e9695198de8978136ac898624c1fa45b3 (diff)
INTEGRATION: CWS ab53 (1.7.6); FILE MERGED
2008/06/25 16:09:52 ab 1.7.6.1: #i70283# #i80433# Added support for extension libs
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/scriptdocument.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx
index 99f57b5aaec1..b9ffe708e6fa 100644
--- a/basctl/source/basicide/scriptdocument.cxx
+++ b/basctl/source/basicide/scriptdocument.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: scriptdocument.cxx,v $
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
* This file is part of OpenOffice.org.
*
@@ -988,8 +988,9 @@ namespace basctl
OSL_VERIFY( aFileItem.getFileStatus( aFileStatus ) == ::osl::FileBase::E_None );
::rtl::OUString aCanonicalFileURL( aFileStatus.getFileURL() );
- ::rtl::OUString aSearchURL( RTL_CONSTASCII_USTRINGPARAM( "share/basic" ) );
- if( aCanonicalFileURL.indexOf( aSearchURL ) != -1 )
+ ::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;
}
}