diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-07-07 11:22:55 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-07-07 11:22:55 +0000 |
commit | 2af7cef8c064afecee3808b3740a82757d976d43 (patch) | |
tree | c8fdb298262f9a82d1fc00aa13d6546b7e546092 /basctl/source/basicide/scriptdocument.cxx | |
parent | 90ec9e11393c0b3c174e4d2b3abd2fe5a7145edf (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/source/basicide/scriptdocument.cxx')
-rw-r--r-- | basctl/source/basicide/scriptdocument.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx index a75456639..2045842a6 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; } } |