tdf#90447 vba find() should NOT select the found cell.
Change-Id: Ia8c331f33bc81e7bdabeea649a47c73930dae206
This commit is contained in:
committed by
Markus Mohrhard
parent
853bfc68b9
commit
a623d1a0e6
@@ -229,6 +229,10 @@ void ScMacrosTest::testVba()
|
||||
OUString("vba_endFunction."),
|
||||
OUString("vnd.sun.Star.script:VBAProject.testMacros.test?language=Basic&location=document")
|
||||
},
|
||||
{
|
||||
OUString("vba_findFunction."),
|
||||
OUString("vnd.sun.Star.script:VBAProject.testMacros.test?language=Basic&location=document")
|
||||
},
|
||||
};
|
||||
OUString sTempDir;
|
||||
OUString sTempDirURL;
|
||||
|
BIN
sc/qa/extras/testdocuments/vba_findFunction.xls
Normal file
BIN
sc/qa/extras/testdocuments/vba_findFunction.xls
Normal file
Binary file not shown.
@@ -3281,7 +3281,6 @@ ScVbaRange::Find( const uno::Any& What, const uno::Any& After, const uno::Any& L
|
||||
uno::Reference< excel::XRange > xResultRange = new ScVbaRange( mxParent, mxContext, xCellRange );
|
||||
if( xResultRange.is() )
|
||||
{
|
||||
xResultRange->Select();
|
||||
return xResultRange;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user