npower13_objectmodules: #i111419#
This commit is contained in:
parent
442f871611
commit
6ddef091ef
2 changed files with 2 additions and 3 deletions
|
@ -109,7 +109,6 @@ void __EXPORT BasicIDEShell::ExecuteCurrent( SfxRequest& rReq )
|
|||
{
|
||||
if ( aDocument.removeModule( aLibName, aName ) )
|
||||
{
|
||||
RemoveWindow( pCurWin, TRUE );
|
||||
BasicIDE::MarkDocumentModified( aDocument );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -107,7 +107,7 @@ public:
|
|||
try
|
||||
{
|
||||
uno::Reference< container::XContainer > xContainer( rScriptDocument.getLibrary( E_SCRIPTS, aLibName, FALSE ), uno::UNO_QUERY );
|
||||
if ( rScriptDocument.isDocument() && xContainer.is() )
|
||||
if ( xContainer.is() )
|
||||
{
|
||||
uno::Reference< container::XContainerListener > xContainerListener( this );
|
||||
xContainer->addContainerListener( xContainerListener );
|
||||
|
@ -120,7 +120,7 @@ public:
|
|||
try
|
||||
{
|
||||
uno::Reference< container::XContainer > xContainer( rScriptDocument.getLibrary( E_SCRIPTS, aLibName, FALSE ), uno::UNO_QUERY );
|
||||
if ( rScriptDocument.isDocument() && xContainer.is() )
|
||||
if ( xContainer.is() )
|
||||
{
|
||||
uno::Reference< container::XContainerListener > xContainerListener( this );
|
||||
xContainer->removeContainerListener( xContainerListener );
|
||||
|
|
Loading…
Reference in a new issue