summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-12-18 06:30:22 +0000
committerRüdiger Timm <rt@openoffice.org>2008-12-18 06:30:22 +0000
commit34fa72e8733f62bd2b017ac1513450c09cfcdc97 (patch)
tree58bd2e73db3580fc0e7d4bc1335b627a8b0e8cc2 /svx
parentc54faaa60cff8eb3ccd236aebe788d3b0589db59 (diff)
#i10000# Changes from CWS rtlcontrols conflicted with restructuring in m37
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmvwimp.cxx3
-rw-r--r--svx/source/form/formcontrolfactory.cxx3
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& )
{