diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2009-02-16 16:52:44 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2009-02-16 16:52:44 +0000 |
commit | f4259be9d7cc8fe05291855cc0c3480d136807b0 (patch) | |
tree | 091f4fbc744730e93f91c3cf3f37b6ff65a84c88 /svx/source | |
parent | 22c23392f43cb33ab519bed625a7bc98d9bc5e20 (diff) |
CWS-TOOLING: integrate CWS dba31h_OOO310
2009-01-29 10:47:07 +0100 oj r267102 : decl OpCodeMap as friend
2009-01-26 09:41:21 +0100 fs r266905 : #i97137#
2009-01-26 09:10:39 +0100 fs r266903 : #i10000
2009-01-26 09:00:17 +0100 fs r266901 : re-enable user admin for MySQL native
2009-01-23 21:56:08 +0100 fs r266851 : #i97137#
2009-01-23 21:32:40 +0100 fs r266850 : #i97042#
2009-01-23 11:23:59 +0100 msc r266800 : #i98387#
2009-01-23 11:17:05 +0100 msc r266798 : #i98387#
2009-01-23 10:56:33 +0100 fs r266795 : for the moment, disable user administration for MySQL native
2009-01-21 15:08:54 +0100 fs r266672 : removed some advanced settings for MySQL native - letting the user control them does not make sense for this particular type
2009-01-21 13:55:13 +0100 oj r266668 : #i98317# wrong var set
2009-01-21 13:41:22 +0100 fs r266664 : #i98315#
2009-01-21 13:13:09 +0100 oj r266661 : #i97032# enable locking for OOo
2009-01-21 13:11:26 +0100 oj r266660 : #i97032# enable locking for OOo
2009-01-21 10:10:50 +0100 oj r266634 : #i98174# merge conflict resolved
2009-01-21 08:48:58 +0100 fs r266628 : CWS-TOOLING: rebase CWS dba31h to trunk@266428 (milestone: DEV300:m39)
2009-01-20 12:54:32 +0100 fs r266570 : #i98277#
2009-01-19 10:46:31 +0100 fs r266480 : #i97995#
2009-01-19 08:42:09 +0100 fs r266470 : #i97042# provided my mod@openoffice.org: support more SQL comment styles
2009-01-19 07:55:43 +0100 oj r266468 : #i98115# check function name as well
2009-01-16 10:21:28 +0100 oj r266404 : #i97861# remove invalid assertion
2009-01-16 10:18:31 +0100 oj r266403 : #i97861# ini var with false
2009-01-15 14:09:50 +0100 oj r266371 : #i97810# saveas fix
2009-01-15 11:54:18 +0100 oj r266360 : remove : from mysql
2009-01-15 11:07:46 +0100 oj r266355 : insert JNI fixes for method names
2009-01-15 10:54:44 +0100 oj r266351 : fix for parameter subst
2009-01-14 14:41:34 +0100 oj r266308 : parameter subst
2009-01-14 14:40:20 +0100 oj r266307 : add missing try catch
2009-01-14 14:38:34 +0100 oj r266306 : new service for parameter subst
2009-01-14 14:37:52 +0100 oj r266305 : missing types for hyper
2009-01-09 15:28:36 +0100 fs r266090 : #i97889#
2009-01-09 14:16:15 +0100 fs r266082 : #i97892# provided by npower: when reading the xlink:href attrib, use the graphic resolver only if appropriate
2009-01-08 21:31:21 +0100 fs r266041 : #i97346#
2009-01-08 14:51:56 +0100 fs r266012 : #i97871# showPreviewFor: bail out if preview is disabled
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/dialog/macropg.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/macropg.src | 8 | ||||
-rw-r--r-- | svx/source/form/fmshimp.cxx | 14 |
3 files changed, 19 insertions, 5 deletions
diff --git a/svx/source/dialog/macropg.cxx b/svx/source/dialog/macropg.cxx index ae491134aa..91ed9830f5 100644 --- a/svx/source/dialog/macropg.cxx +++ b/svx/source/dialog/macropg.cxx @@ -285,6 +285,8 @@ void _SvxMacroTabPage::InitResources() aDisplayNames.push_back( EventDisplayName( "OnModifyChanged", RID_SVXSTR_EVENT_MODIFYCHANGED ) ); aDisplayNames.push_back( EventDisplayName( "OnMailMerge", RID_SVXSTR_EVENT_MAILMERGE ) ); aDisplayNames.push_back( EventDisplayName( "OnPageCountChange", RID_SVXSTR_EVENT_PAGECOUNTCHANGE ) ); + aDisplayNames.push_back( EventDisplayName( "OnSubComponentOpened", RID_SVXSTR_EVENT_SUBCOMPONENT_OPENED ) ); + aDisplayNames.push_back( EventDisplayName( "OnSubComponentClosed", RID_SVXSTR_EVENT_SUBCOMPONENT_CLOSED ) ); // the event name to UI string mappings for forms & dialogs // diff --git a/svx/source/dialog/macropg.src b/svx/source/dialog/macropg.src index eec23f65f8..74a9d54afb 100644 --- a/svx/source/dialog/macropg.src +++ b/svx/source/dialog/macropg.src @@ -232,6 +232,14 @@ String RID_SVXSTR_EVENT_PAGECOUNTCHANGE { Text [ en-US ] = "Changing the page count" ; }; +String RID_SVXSTR_EVENT_SUBCOMPONENT_OPENED +{ + Text = "Loaded a sub component" ; +}; +String RID_SVXSTR_EVENT_SUBCOMPONENT_CLOSED +{ + Text = "Closed a sub component" ; +}; String RID_SVXSTR_EVENT_APPROVEPARAMETER { Text [ en-US ] = "Fill parameters" ; diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index b9abd0b2db..4fbb4079e0 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -1150,14 +1150,17 @@ bool FmXFormShell::executeControlConversionSlot( const Reference< XFormComponent { Reference< XBindableValue > xOldBindable( xOldModel, UNO_QUERY ); Reference< XBindableValue > xNewBindable( xNewModel, UNO_QUERY ); + if ( xOldBindable.is() ) { try { - xNewBindable->setValueBinding( xOldBindable->getValueBinding() ); + if ( xNewBindable.is() ) + xNewBindable->setValueBinding( xOldBindable->getValueBinding() ); xOldBindable->setValueBinding( NULL ); } - catch(const IncompatibleTypesException&) + catch(const Exception&) { + DBG_UNHANDLED_EXCEPTION(); } } } @@ -1165,16 +1168,17 @@ bool FmXFormShell::executeControlConversionSlot( const Reference< XFormComponent { Reference< XListEntrySink > xOldSink( xOldModel, UNO_QUERY ); Reference< XListEntrySink > xNewSink( xNewModel, UNO_QUERY ); - if ( xOldSink.is() && xNewSink.is() ) + if ( xOldSink.is() ) { try { - xNewSink->setListEntrySource( xOldSink->getListEntrySource() ); + if ( xNewSink.is() ) + xNewSink->setListEntrySource( xOldSink->getListEntrySource() ); xOldSink->setListEntrySource( NULL ); } catch(const Exception&) { - DBG_ERROR("FmXFormShell::executeControlConversionSlot: caught an exception while creating the control !"); + DBG_UNHANDLED_EXCEPTION(); } } } |