Lines Matching refs:xModels
536 Reference<XNameContainer> xModels = lcl_getModels( xCmp ); in newModel() local
537 if( xModels.is() in newModel()
538 && ! xModels->hasByName( sName ) ) in newModel()
546 xModels->insertByName( sName, makeAny( xModel ) ); in newModel()
557 Reference<XNameContainer> xModels = lcl_getModels( xCmp ); in renameModel() local
558 if( xModels.is() in renameModel()
559 && xModels->hasByName( sFrom ) in renameModel()
560 && ! xModels->hasByName( sTo ) ) in renameModel()
562 Reference<XModel> xModel( xModels->getByName( sFrom ), UNO_QUERY ); in renameModel()
564 xModels->insertByName( sTo, makeAny( xModel ) ); in renameModel()
565 xModels->removeByName( sFrom ); in renameModel()
573 Reference<XNameContainer> xModels = lcl_getModels( xCmp ); in removeModel() local
574 if( xModels.is() in removeModel()
575 && xModels->hasByName( sName ) ) in removeModel()
577 xModels->removeByName( sName ); in removeModel()