Commits

rt  committed 77f96ba

#i10000# Changes from CWS rtlcontrols conflicted with restructuring in m37

  • Participants
  • Parent commits 02fd7e8

Comments (0)

Files changed (2)

File svx/source/form/fmvwimp.cxx

                 DBG_UNHANDLED_EXCEPTION();
             }
         }
-
-        if ( xPSI.is() && xPSI->hasPropertyByName( FM_PROP_WRITING_MODE ) )
-            _rxModel->setPropertyValue( FM_PROP_WRITING_MODE, makeAny( WritingMode2::CONTEXT ) );
     }
 
     m_xLastCreatedControlModel.clear();

File svx/source/form/formcontrolfactory.cxx

 	        {
 		        _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& )
         {