Author: af
Date: Wed Jun 12 13:14:18 2013
New Revision: 1492180
URL: http://svn.apache.org/r1492180
Log:
122453: Invalidate slot servers for all view shells on OLE deactivation.
Modified:
openoffice/trunk/main/sfx2/source/view/viewsh.cxx
Modified: openoffice/trunk/main/sfx2/source/view/viewsh.cxx
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/view/viewsh.cxx?rev=1492180&r1=1492179&r2=1492180&view=diff
==============================================================================
--- openoffice/trunk/main/sfx2/source/view/viewsh.cxx (original)
+++ openoffice/trunk/main/sfx2/source/view/viewsh.cxx Wed Jun 12 13:14:18 2013
@@ -988,6 +988,10 @@ void SfxViewShell::UIDeactivated( SfxInP
// uno::Reference < frame::XFramesSupplier > xParentFrame(
xOwnFrame->getCreator(), uno::UNO_QUERY );
// if ( xParentFrame.is() )
// xParentFrame->setActiveFrame( uno::Reference < frame::XFrame >() );
+
+ // Make sure that slot servers are initialized or updated after
+ // an OLE object is deactivated.
+ pFrame->GetBindings().InvalidateAll(sal_True);
}
//--------------------------------------------------------------------