diff options
Diffstat (limited to 'basic/qa/cppunit/test_nested_struct.cxx')
-rw-r--r-- | basic/qa/cppunit/test_nested_struct.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/basic/qa/cppunit/test_nested_struct.cxx b/basic/qa/cppunit/test_nested_struct.cxx index 2fc06005072e..b1f060d8f152 100644 --- a/basic/qa/cppunit/test_nested_struct.cxx +++ b/basic/qa/cppunit/test_nested_struct.cxx @@ -182,7 +182,7 @@ void Nested_Struct::testAssign1Alt() myMacro.Compile(); CPPUNIT_ASSERT_MESSAGE("testAssign1Alt fails with compile error",!myMacro.HasError() ); SbxVariableRef pNew = myMacro.Run(); - uno::Any aRet = sbxToUnoValue( pNew ); + uno::Any aRet = sbxToUnoValue( pNew.get() ); table::TableBorder aBorder; aRet >>= aBorder; @@ -205,7 +205,7 @@ void Nested_Struct::testOldAssignAlt() myMacro.Compile(); CPPUNIT_ASSERT_MESSAGE("testOldAssign fails with compile error",!myMacro.HasError() ); SbxVariableRef pNew = myMacro.Run(); - uno::Any aRet = sbxToUnoValue( pNew ); + uno::Any aRet = sbxToUnoValue( pNew.get() ); table::TableBorder aBorder; aRet >>= aBorder; @@ -229,7 +229,7 @@ void Nested_Struct::testUnfixedVarAssignAlt() myMacro.Compile(); CPPUNIT_ASSERT_MESSAGE("testUnfixedVarAssignAlt fails with compile error",!myMacro.HasError() ); SbxVariableRef pNew = myMacro.Run(); - uno::Any aRet = sbxToUnoValue( pNew ); + uno::Any aRet = sbxToUnoValue( pNew.get() ); uno::Sequence< uno::Any > aResult; bool bRes = aRet >>= aResult; @@ -265,7 +265,7 @@ void Nested_Struct::testFixedVarAssignAlt() myMacro.Compile(); CPPUNIT_ASSERT_MESSAGE("testFixedVarAssignAlt fails with compile error",!myMacro.HasError() ); SbxVariableRef pNew = myMacro.Run(); - uno::Any aRet = sbxToUnoValue( pNew ); + uno::Any aRet = sbxToUnoValue( pNew.get() ); uno::Sequence< uno::Any > aResult; bool bRes = aRet >>= aResult; @@ -292,7 +292,7 @@ void Nested_Struct::testUnoAccess() myMacro.Compile(); CPPUNIT_ASSERT_MESSAGE("testUnoAccess fails with compile error",!myMacro.HasError() ); SbxVariableRef pNew = myMacro.Run(); - uno::Any aRet = sbxToUnoValue( pNew ); + uno::Any aRet = sbxToUnoValue( pNew.get() ); awt::WindowDescriptor aWinDesc; aRet >>= aWinDesc; |