Lines Matching refs:r1
809 bool lclTryJoin( ScRange& r1, const ScRange& r2 ) in lclTryJoin() argument
812 if( r1.In( r2 ) ) in lclTryJoin()
816 if( r2.In( r1 ) ) in lclTryJoin()
818 r1 = r2; in lclTryJoin()
822 SCCOL n1L = r1.aStart.Col(); in lclTryJoin()
823 SCCOL n1R = r1.aEnd.Col(); in lclTryJoin()
824 SCROW n1T = r1.aStart.Row(); in lclTryJoin()
825 SCROW n1B = r1.aEnd.Row(); in lclTryJoin()
837 r1.aStart.SetCol( ::std::min( n1L, n2L ) ); in lclTryJoin()
838 r1.aEnd.SetCol( ::std::max( n1R, n2R ) ); in lclTryJoin()
850 r1.aStart.SetRow( ::std::min( n1T, n2T ) ); in lclTryJoin()
851 r1.aEnd.SetRow( ::std::max( n1B, n2B ) ); in lclTryJoin()