summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-29 13:30:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-03-30 15:33:31 +0100
commit5be7dd66f9642c5b91fb8c2d320e71a951c2b5e3 (patch)
tree643cbf56aab5178998628fcc532fffd72fe15c91 /sot
parentcdcee232ce21d8f7b73ed84ea5dbc00ff1a3d8b0 (diff)
drop rather awkward debugging hunk
Change-Id: Ia0441caec222227f173a9508530d7c4cefd7892e
Diffstat (limited to 'sot')
-rw-r--r--sot/source/base/formats.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/sot/source/base/formats.cxx b/sot/source/base/formats.cxx
index 64aad2ec9b58..7b2f8979b968 100644
--- a/sot/source/base/formats.cxx
+++ b/sot/source/base/formats.cxx
@@ -1395,18 +1395,6 @@ static sal_uInt16 GetTransferableAction_Impl(
const SotAction_Impl* pArrayStart = pArray;
SotClipboardFormatId nId = pArray->nFormatId;
-#if OSL_DEBUG_LEVEL > 1
-// used for testing a specific format - change in the debugger the value
- static sal_uLong nChkFormat = 0;
- if( nChkFormat )
- {
- for( ; static_cast<SotClipboardFormatId>(0xffff) != pArray->nFormatId &&
- nChkFormat != pArray->nFormatId; ++pArray )
- ;
- nId = pArray->nFormatId;
- }
-#endif
-
while( nId != static_cast<SotClipboardFormatId>(0xffff) )
{
rFormat = nId;