diff options
Diffstat (limited to 'svtools/source/misc/stringtransfer.cxx')
-rw-r--r-- | svtools/source/misc/stringtransfer.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/misc/stringtransfer.cxx b/svtools/source/misc/stringtransfer.cxx index 0c8637f46c14..da7396101cfa 100644 --- a/svtools/source/misc/stringtransfer.cxx +++ b/svtools/source/misc/stringtransfer.cxx @@ -40,14 +40,14 @@ namespace svt void OStringTransferable::AddSupportedFormats() { - AddFormat(SOT_FORMAT_STRING); + AddFormat(SotClipboardFormatId::STRING); } bool OStringTransferable::GetData( const DataFlavor& _rFlavor, const OUString& /*rDestDoc*/ ) { - sal_uInt32 nFormat = SotExchange::GetFormat( _rFlavor ); - if (SOT_FORMAT_STRING == nFormat) + SotClipboardFormatId nFormat = SotExchange::GetFormat( _rFlavor ); + if (SotClipboardFormatId::STRING == nFormat) return SetString( m_sContent, _rFlavor ); return false; @@ -76,10 +76,10 @@ namespace svt ++aSearch ) { - if (SOT_FORMAT_STRING == aSearch->mnSotId) + if (SotClipboardFormatId::STRING == aSearch->mnSotId) { OUString sContent; - bool bSuccess = aClipboardData.GetString( SOT_FORMAT_STRING, sContent ); + bool bSuccess = aClipboardData.GetString( SotClipboardFormatId::STRING, sContent ); _rContent = sContent; return bSuccess; } |