Lines Matching refs:nIndex
44 const Type* lclGetStyleElement( const RefVector< Type >& rVector, sal_Int32 nIndex ) in lclGetStyleElement() argument
46 return (rVector.empty() || (nIndex < 1)) ? 0 : in lclGetStyleElement()
47 …rVector.get( ::std::min( static_cast< sal_Int32 >( nIndex - 1 ), static_cast< sal_Int32 >( rVector… in lclGetStyleElement()
52 const FillProperties* Theme::getFillStyle( sal_Int32 nIndex ) const in getFillStyle()
54 return (nIndex >= 1000) ? in getFillStyle()
55 lclGetStyleElement( maBgFillStyleList, nIndex - 1000 ) : in getFillStyle()
56 lclGetStyleElement( maFillStyleList, nIndex ); in getFillStyle()
59 const LineProperties* Theme::getLineStyle( sal_Int32 nIndex ) const in getLineStyle()
61 return lclGetStyleElement( maLineStyleList, nIndex ); in getLineStyle()
64 const PropertyMap* Theme::getEffectStyle( sal_Int32 nIndex ) const in getEffectStyle()
66 return lclGetStyleElement( maEffectStyleList, nIndex ); in getEffectStyle()