diff options
author | Julien Nabet <serval@ilapharm.com> | 2010-11-23 22:41:07 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2010-11-24 07:56:52 +0100 |
commit | 648589a0bd6c72b8b6b125644b43c6efad17ead1 (patch) | |
tree | 9c519a5c237c05f2e8541f0afa1e646e4e154381 /extensions/test/ole/cpnt | |
parent | 95e7e542438384975a95e7309e23a07a0986fcc7 (diff) |
RTL patch
Diffstat (limited to 'extensions/test/ole/cpnt')
-rw-r--r-- | extensions/test/ole/cpnt/cpnt.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/test/ole/cpnt/cpnt.cxx b/extensions/test/ole/cpnt/cpnt.cxx index c44728b9def5..eff03c8aedd4 100644 --- a/extensions/test/ole/cpnt/cpnt.cxx +++ b/extensions/test/ole/cpnt/cpnt.cxx @@ -1639,7 +1639,7 @@ void SAL_CALL OComponent::testInterface( const Reference< XCallback >& xCallbac if( any.getValueTypeClass() == TypeClass_STRUCT) { SimpleStruct* pStruct= ( SimpleStruct*) any.getValue(); - pStruct->message= OUString::createFromAscii("This struct was created in OleTest"); + pStruct->message= OUString(RTL_CONSTASCII_USTRINGPARAM("This struct was created in OleTest")); SimpleStruct aStruct; any >>= aStruct; @@ -1788,7 +1788,7 @@ void SAL_CALL OComponent::testInterface( const Reference< XCallback >& xCallbac if( any.getValueTypeClass() == TypeClass_STRUCT) { SimpleStruct* pStruct= ( SimpleStruct*) any.getValue(); - pStruct->message= OUString::createFromAscii("This struct was created in OleTest"); + pStruct->message= OUString(RTL_CONSTASCII_USTRINGPARAM("This struct was created in OleTest")); any >>= aStruct; } } @@ -1959,7 +1959,7 @@ void SAL_CALL OComponent::testInterface( const Reference< XCallback >& xCallbac if( any.getValueTypeClass() == TypeClass_STRUCT) { SimpleStruct* pStruct= ( SimpleStruct*) any.getValue(); - pStruct->message= OUString::createFromAscii("This struct was created in OleTest"); + pStruct->message= OUString(RTL_CONSTASCII_USTRINGPARAM("This struct was created in OleTest")); any >>= aStruct; } } |