[ooo-build-commit] .: patches/vba

Noel Power noelp at kemper.freedesktop.org
Wed Mar 3 12:23:02 PST 2010


 patches/vba/vba-fixup-moduleinfo.diff |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 8a89816b1377ed0e31771643de309ed5fb51d657
Author: Noel Power <noel.power at novell.com>
Date:   Wed Mar 3 20:06:55 2010 +0000

    make sure ModuleWindow is really deleted
    
    * patches/vba/vba-fixup-moduleinfo.diff:

diff --git a/patches/vba/vba-fixup-moduleinfo.diff b/patches/vba/vba-fixup-moduleinfo.diff
index 58e3932..eff88a6 100644
--- a/patches/vba/vba-fixup-moduleinfo.diff
+++ b/patches/vba/vba-fixup-moduleinfo.diff
@@ -163,14 +163,15 @@ index 2727c90..cb48ef8 100644
      }
      virtual void SAL_CALL elementReplaced( const container::ContainerEvent& ) throw( com::sun::star::uno::RuntimeException ) { }
      virtual void SAL_CALL elementRemoved( const container::ContainerEvent& Event ) throw( com::sun::star::uno::RuntimeException )
-@@ -148,7 +148,7 @@ public:
+@@ -148,8 +148,7 @@ public:
          rtl::OUString sModuleName;
          if( mpShell  && ( Event.Accessor >>= sModuleName ) )
          {
 -            IDEBaseWindow* pWin = mpShell->FindWindow( mpShell->m_aCurDocument, sStandardLibName, sModuleName, BASICIDE_TYPE_MODULE, TRUE );
 +            IDEBaseWindow* pWin = mpShell->FindWindow( mpShell->m_aCurDocument, mpShell->m_aCurLibName, sModuleName, BASICIDE_TYPE_MODULE, TRUE );
              if( pWin )
-                 mpShell->RemoveWindow( pWin, FALSE, TRUE );
+-                 mpShell->RemoveWindow( pWin, FALSE, TRUE );
+                  mpShell->RemoveWindow( pWin, TRU, TRUE );
          }
 @@ -288,7 +288,7 @@ __EXPORT BasicIDEShell::~BasicIDEShell()
          ContainerListenerImpl* pListener = dynamic_cast< ContainerListenerImpl* >( m_xLibListener.get() );


More information about the ooo-build-commit mailing list