diff options
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/svdde/ddecli.cxx | 12 | ||||
-rw-r--r-- | svl/source/svdde/ddedata.cxx | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/svl/source/svdde/ddecli.cxx b/svl/source/svdde/ddecli.cxx index 020cf71b7efa..a4d611e38741 100644 --- a/svl/source/svdde/ddecli.cxx +++ b/svl/source/svdde/ddecli.cxx @@ -234,7 +234,7 @@ const std::vector<DdeConnection*>& DdeConnection::GetConnections() } DdeTransaction::DdeTransaction( DdeConnection& d, const OUString& rItemName, - long n ) + tools::Long n ) : rDde( d ) { DdeInstData* pInst = ImpGetInstData(); @@ -336,7 +336,7 @@ void DdeTransaction::Done( bool bDataValid ) aDone.Call( bDataValid ); } -DdeLink::DdeLink( DdeConnection& d, const OUString& aItemName, long n ) +DdeLink::DdeLink( DdeConnection& d, const OUString& aItemName, tools::Long n ) : DdeTransaction (d, aItemName, n) { } @@ -352,7 +352,7 @@ void DdeLink::Notify() aNotify.Call( nullptr ); } -DdeRequest::DdeRequest( DdeConnection& d, const OUString& i, long n ) +DdeRequest::DdeRequest( DdeConnection& d, const OUString& i, tools::Long n ) : DdeTransaction( d, i, n ) { nType = XTYP_REQUEST; @@ -365,21 +365,21 @@ DdeHotLink::DdeHotLink( DdeConnection& d, const OUString& i ) } DdePoke::DdePoke( DdeConnection& d, const OUString& i, const DdeData& rData, - long n ) + tools::Long n ) : DdeTransaction( d, i, n ) { aDdeData = rData; nType = XTYP_POKE; } -DdeExecute::DdeExecute( DdeConnection& d, const OUString& rData, long n ) +DdeExecute::DdeExecute( DdeConnection& d, const OUString& rData, tools::Long n ) : DdeTransaction( d, OUString(), n ) { aDdeData = DdeData( rData.getStr(), sizeof(sal_Unicode) * (rData.getLength() + 1), SotClipboardFormatId::STRING ); nType = XTYP_EXECUTE; } -long DdeConnection::GetError() const +tools::Long DdeConnection::GetError() const { return pImp->nStatus; } diff --git a/svl/source/svdde/ddedata.cxx b/svl/source/svdde/ddedata.cxx index 0a14525c8a31..cbea590c0658 100644 --- a/svl/source/svdde/ddedata.cxx +++ b/svl/source/svdde/ddedata.cxx @@ -39,7 +39,7 @@ DdeData::DdeData() xImp->nFmt = SotClipboardFormatId::STRING; } -DdeData::DdeData(const void* p, long n, SotClipboardFormatId f) +DdeData::DdeData(const void* p, tools::Long n, SotClipboardFormatId f) { xImp.reset(new DdeDataImp); xImp->hData = nullptr; @@ -99,7 +99,7 @@ void const * DdeData::getData() const return xImp->pData; } -long DdeData::getSize() const +tools::Long DdeData::getSize() const { return xImp->nData; } |