[Libreoffice-commits] core.git: dtrans/source
Stephan Bergmann
sbergman at redhat.com
Tue Mar 14 13:43:52 UTC 2017
dtrans/source/win32/dtobj/DOTransferable.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 08d8fd9dd82d8c1ca2b364b96c3aed600fd1e1c4
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Mar 14 14:43:11 2017 +0100
loplugin:unoany (clang-cl)
Change-Id: Ia5211e7ad27332d4d4cab546d6968e32dfb71523
diff --git a/dtrans/source/win32/dtobj/DOTransferable.cxx b/dtrans/source/win32/dtobj/DOTransferable.cxx
index 5588cda..58117c5 100644
--- a/dtrans/source/win32/dtobj/DOTransferable.cxx
+++ b/dtrans/source/win32/dtobj/DOTransferable.cxx
@@ -114,10 +114,10 @@ Any byteStreamToAny( CDOTransferable::ByteSequence_t& aByteStream, const Type& a
if ( aRequestedDataType == CPPUTYPE_OUSTRING )
{
OUString str = byteStreamToOUString( aByteStream );
- aAny = makeAny( str );
+ aAny <<= str;
}
else
- aAny = makeAny( aByteStream );
+ aAny <<= aByteStream;
return aAny;
}
More information about the Libreoffice-commits
mailing list