merge the formfield patch from ooo-build
[ooovba.git] / applied_patches / 0542-svtools-update-ole.diff
blobc763a009d0680cad899612beea2a9791d42d942b
1 --- svtools/source/misc/embedhlp.cxx 10 Jan 2008 16:45:01 -0000 1.23.170.1
2 +++ svtools/source/misc/embedhlp.cxx 27 Aug 2008 22:30:27 -0000
3 @@ -212,7 +212,9 @@ void SAL_CALL EmbedEventListener_Impl::m
4 else
5 pObject->UpdateReplacement();
7 - else if ( nState == embed::EmbedStates::UI_ACTIVE || nState == embed::EmbedStates::INPLACE_ACTIVE )
8 + else if ( nState == embed::EmbedStates::ACTIVE ||
9 + nState == embed::EmbedStates::UI_ACTIVE ||
10 + nState == embed::EmbedStates::INPLACE_ACTIVE )
12 // in case the object is inplace or UI active the replacement image should be updated on demand
13 pObject->UpdateReplacementOnDemand();