summaryrefslogtreecommitdiff
path: root/svtools/source/misc/transfer2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/misc/transfer2.cxx')
-rw-r--r--svtools/source/misc/transfer2.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svtools/source/misc/transfer2.cxx b/svtools/source/misc/transfer2.cxx
index 6288f8ef808e..263f8e253d5a 100644
--- a/svtools/source/misc/transfer2.cxx
+++ b/svtools/source/misc/transfer2.cxx
@@ -491,8 +491,7 @@ void TransferDataContainer::CopyString( SotClipboardFormatId nFmt, const OUStrin
{
TDataCntnrEntry_Impl aEntry;
aEntry.nId = nFmt;
- OUString aStr( rStr );
- aEntry.aAny <<= aStr;
+ aEntry.aAny <<= rStr;
pImpl->aFmtList.push_back( aEntry );
AddFormat( aEntry.nId );
}