convert method names in tools::SvRef to be more like our other..
reference classes, uno::Reference and rtl::Reference. Specifically rename Is()->is() and Clear()->clear(). Change-Id: Icb7e05e2d09cb9977121508b837ba0961dabb4ae Reviewed-on: https://gerrit.libreoffice.org/33576 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -74,7 +74,7 @@ void VBATest::testMiscVBAFunctions()
|
||||
MacroSnippet myMacro;
|
||||
myMacro.LoadSourceFromFile( sMacroURL );
|
||||
SbxVariableRef pReturn = myMacro.Run();
|
||||
if ( pReturn.Is() )
|
||||
if ( pReturn.is() )
|
||||
{
|
||||
fprintf(stderr, "macro result for %s\n", macroSource[ i ] );
|
||||
fprintf(stderr, "macro returned:\n%s\n", OUStringToOString( pReturn->GetOUString(), RTL_TEXTENCODING_UTF8 ).getStr() );
|
||||
@@ -152,7 +152,7 @@ void VBATest::testMiscOLEStuff()
|
||||
MacroSnippet myMacro;
|
||||
myMacro.LoadSourceFromFile( sMacroURL );
|
||||
SbxVariableRef pReturn = myMacro.Run( aArgs );
|
||||
if ( pReturn.Is() )
|
||||
if ( pReturn.is() )
|
||||
{
|
||||
fprintf(stderr, "macro result for %s\n", macroSource[ i ] );
|
||||
fprintf(stderr, "macro returned:\n%s\n", OUStringToOString( pReturn->GetOUString(), RTL_TEXTENCODING_UTF8 ).getStr() );
|
||||
|
Reference in New Issue
Block a user