diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-01-30 19:09:35 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-01-31 12:04:02 +0000 |
commit | 1ef9f3988ee4dcbc77e1fdefa20442e044a67d4d (patch) | |
tree | 686b5f3247d28e19ba949b81fd5596dbe3a27401 /extensions | |
parent | 890ebf1cc6bb58ff21da19d7fd4b9b67eaa32a9c (diff) |
unnecessary use of OUString constructor
Change-Id: Idd31b0a53c8318af69bbcd32f6798721ec8eb8e1
Reviewed-on: https://gerrit.libreoffice.org/21945
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'extensions')
-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 6def520caba3..dba797d49699 100644 --- a/extensions/test/ole/cpnt/cpnt.cxx +++ b/extensions/test/ole/cpnt/cpnt.cxx @@ -1490,7 +1490,7 @@ void SAL_CALL OComponent::testInterface( const Reference< XCallback >& xCallbac if( any.getValueTypeClass() == TypeClass_STRUCT) { SimpleStruct* pStruct= ( SimpleStruct*) any.getValue(); - pStruct->message= OUString("This struct was created in OleTest"); + pStruct->message= "This struct was created in OleTest"; SimpleStruct aStruct; any >>= aStruct; @@ -1638,7 +1638,7 @@ void SAL_CALL OComponent::testInterface( const Reference< XCallback >& xCallbac if( any.getValueTypeClass() == TypeClass_STRUCT) { SimpleStruct* pStruct= ( SimpleStruct*) any.getValue(); - pStruct->message= OUString("This struct was created in OleTest"); + pStruct->message= "This struct was created in OleTest"; any >>= aStruct; } } @@ -1794,7 +1794,7 @@ void SAL_CALL OComponent::testInterface( const Reference< XCallback >& xCallbac if( any.getValueTypeClass() == TypeClass_STRUCT) { SimpleStruct* pStruct= ( SimpleStruct*) any.getValue(); - pStruct->message= OUString("This struct was created in OleTest"); + pStruct->message = "This struct was created in OleTest"; any >>= aStruct; } } |