sot/source/base/exchange.cxx | 30 ------------------------------ 1 file changed, 30 deletions(-)
New commits: commit 68a806a66213211dd32c87b8b0655ff890a134cb Author: Mike Kaganski <[email protected]> AuthorDate: Sat Sep 20 10:37:33 2025 +0200 Commit: Mike Kaganski <[email protected]> CommitDate: Sat Sep 20 12:53:44 2025 +0200 Drop useless (and sometimes erroneous) comments I don't know where "CLIP.SDW" is, so I keep those lines just in case. Change-Id: Ie017be0acdb7d2e7eb7ea2b97669191c68392a14 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191222 Tested-by: Jenkins Reviewed-by: Mike Kaganski <[email protected]> diff --git a/sot/source/base/exchange.cxx b/sot/source/base/exchange.cxx index 00dcac19b7fa..8c724d60b80a 100644 --- a/sot/source/base/exchange.cxx +++ b/sot/source/base/exchange.cxx @@ -249,9 +249,6 @@ SotClipboardFormatId GetFormatIdFromMimeType_impl(std::u16string_view rMimeType, } /************************************************************************* -|* -|* SotExchange::RegisterFormatName() -|* |* Description CLIP.SDW *************************************************************************/ SotClipboardFormatId SotExchange::RegisterFormatName( const OUString& rName ) @@ -322,9 +319,6 @@ SotClipboardFormatId SotExchange::RegisterFormatMimeType( const OUString& rMimeT } /************************************************************************* -|* -|* SotExchange::RegisterFormatName() -|* |* Description CLIP.SDW *************************************************************************/ SotClipboardFormatId SotExchange::RegisterFormat( const DataFlavor& rFlavor ) @@ -341,12 +335,6 @@ SotClipboardFormatId SotExchange::RegisterFormat( const DataFlavor& rFlavor ) return nRet; } -/************************************************************************* -|* -|* SotExchange::GetFormatDataFlavor() -|* -*************************************************************************/ - bool SotExchange::GetFormatDataFlavor( SotClipboardFormatId nFormat, DataFlavor& rFlavor ) { bool bRet; @@ -383,12 +371,6 @@ bool SotExchange::GetFormatDataFlavor( SotClipboardFormatId nFormat, DataFlavor& return bRet; } -/************************************************************************* -|* -|* SotExchange::GetFormatMimeType( SotClipboardFormatId nFormat ) -|* -*************************************************************************/ - OUString SotExchange::GetFormatMimeType( SotClipboardFormatId nFormat ) { OUString sMimeType; @@ -409,21 +391,12 @@ OUString SotExchange::GetFormatMimeType( SotClipboardFormatId nFormat ) return sMimeType; } -/************************************************************************* -|* -|* SotExchange::GetFormatIdFromMimeType( const String& rMimeType ) -|* -*************************************************************************/ - SotClipboardFormatId SotExchange::GetFormatIdFromMimeType( std::u16string_view rMimeType ) { return GetFormatIdFromMimeType_impl(rMimeType, false); } /************************************************************************* -|* -|* SotExchange::GetFormatName() -|* |* Description CLIP.SDW *************************************************************************/ SotClipboardFormatId SotExchange::GetFormat( const DataFlavor& rFlavor ) @@ -432,9 +405,6 @@ SotClipboardFormatId SotExchange::GetFormat( const DataFlavor& rFlavor ) } /************************************************************************* -|* -|* SotExchange::GetFormatName() -|* |* Description CLIP.SDW *************************************************************************/ OUString SotExchange::GetFormatName( SotClipboardFormatId nFormat )
