summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-18 16:30:44 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-18 16:43:27 +0000
commita56d4222fb12cf4bc2616b8520f640b56fea1ecd (patch)
tree6ccc430d7c981c8078b072a706e237794035bb97 /svl
parentc0936309a628ee35baf3cb57f8e3b7420c4d9e70 (diff)
CF_TEXT and SotClipboardFormatId::STRING are both 1
Change-Id: If97a74b947fcec1790c6cf1497299ff11b87f042
Diffstat (limited to 'svl')
-rw-r--r--svl/source/svdde/ddecli.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/svdde/ddecli.cxx b/svl/source/svdde/ddecli.cxx
index 61bd7dea8ca4..7443724feb7b 100644
--- a/svl/source/svdde/ddecli.cxx
+++ b/svl/source/svdde/ddecli.cxx
@@ -385,7 +385,7 @@ DdePoke::DdePoke( DdeConnection& d, const OUString& i, const OUString& rData,
long n )
: DdeTransaction( d, i, n )
{
- aDdeData = DdeData( (void*) rData.getStr(), sizeof(sal_Unicode) * (rData.getLength()), CF_TEXT );
+ aDdeData = DdeData( (void*) rData.getStr(), sizeof(sal_Unicode) * (rData.getLength()), SotClipboardFormatId::STRING );
nType = XTYP_POKE;
}
@@ -400,7 +400,7 @@ DdePoke::DdePoke( DdeConnection& d, const OUString& i, const DdeData& rData,
DdeExecute::DdeExecute( DdeConnection& d, const OUString& rData, long n )
: DdeTransaction( d, OUString(), n )
{
- aDdeData = DdeData( (void*)rData.getStr(), sizeof(sal_Unicode) * (rData.getLength() + 1), CF_TEXT );
+ aDdeData = DdeData( (void*)rData.getStr(), sizeof(sal_Unicode) * (rData.getLength() + 1), SotClipboardFormatId::STRING );
nType = XTYP_EXECUTE;
}