diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-12-18 06:30:22 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-12-18 06:30:22 +0000 |
commit | 34fa72e8733f62bd2b017ac1513450c09cfcdc97 (patch) | |
tree | 58bd2e73db3580fc0e7d4bc1335b627a8b0e8cc2 /svx | |
parent | c54faaa60cff8eb3ccd236aebe788d3b0589db59 (diff) |
#i10000# Changes from CWS rtlcontrols conflicted with restructuring in m37
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/fmvwimp.cxx | 3 | ||||
-rw-r--r-- | svx/source/form/formcontrolfactory.cxx | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx index 398e14d3a25b..efa2e0770d8b 100644 --- a/svx/source/form/fmvwimp.cxx +++ b/svx/source/form/fmvwimp.cxx @@ -1055,9 +1055,6 @@ IMPL_LINK( FmXFormView, OnStartControlWizard, void*, /**/ ) DBG_UNHANDLED_EXCEPTION(); } } - - if ( xPSI.is() && xPSI->hasPropertyByName( FM_PROP_WRITING_MODE ) ) - _rxModel->setPropertyValue( FM_PROP_WRITING_MODE, makeAny( WritingMode2::CONTEXT ) ); } m_xLastCreatedControlModel.clear(); diff --git a/svx/source/form/formcontrolfactory.cxx b/svx/source/form/formcontrolfactory.cxx index eea338c58c38..2d66b2b556d0 100644 --- a/svx/source/form/formcontrolfactory.cxx +++ b/svx/source/form/formcontrolfactory.cxx @@ -590,6 +590,9 @@ namespace svxform { _rxControlModel->setPropertyValue( FM_PROP_STRICTFORMAT, makeAny( sal_Bool( sal_True ) ) ); } + + if ( xPSI->hasPropertyByName( FM_PROP_WRITING_MODE ) ) + _rxModel->setPropertyValue( FM_PROP_WRITING_MODE, makeAny( WritingMode2::CONTEXT ) ); } catch( const Exception& ) { |