summaryrefslogtreecommitdiff
path: root/dtrans
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-06 13:17:10 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-06 13:30:33 +0100
commita4008f30934534571ce978fc874448a5cd08855d (patch)
tree31ea56bd416e8d114f5bb5dd9c658295798db22c /dtrans
parentbd24a310be1459510b760b812838cb87923853c5 (diff)
Correct OSL_DEBUG_LEVEL usage
- remove values greater than 2 - move level 1 for debug_printf() to level 2 as it's user defined output and it gets defined at level 2 in salframe.cxx for example.
Diffstat (limited to 'dtrans')
-rw-r--r--dtrans/source/os2/clipb/Os2Clipboard.cxx2
-rw-r--r--dtrans/source/os2/clipb/Os2Transferable.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/dtrans/source/os2/clipb/Os2Clipboard.cxx b/dtrans/source/os2/clipb/Os2Clipboard.cxx
index cc8c5240d6fb..0295616c0354 100644
--- a/dtrans/source/os2/clipb/Os2Clipboard.cxx
+++ b/dtrans/source/os2/clipb/Os2Clipboard.cxx
@@ -228,7 +228,7 @@ void SAL_CALL Os2Clipboard::setContents( const Reference< XTransferable >& xTran
}
}
-#if OSL_DEBUG_LEVEL>0
+#if OSL_DEBUG_LEVEL > 0
// dump list of available mimetypes
Sequence< DataFlavor > aFlavors( m_aContents->getTransferDataFlavors() );
for( int i = 0; i < aFlavors.getLength(); i++ )
diff --git a/dtrans/source/os2/clipb/Os2Transferable.hxx b/dtrans/source/os2/clipb/Os2Transferable.hxx
index fbd9e8167e7d..025f49544c42 100644
--- a/dtrans/source/os2/clipb/Os2Transferable.hxx
+++ b/dtrans/source/os2/clipb/Os2Transferable.hxx
@@ -41,7 +41,7 @@
#define CHAR_POINTER(THE_OUSTRING) ::rtl::OUStringToOString (THE_OUSTRING, RTL_TEXTENCODING_UTF8).pData->buffer
-#if OSL_DEBUG_LEVEL>1
+#if OSL_DEBUG_LEVEL > 1
//extern "C" int debug_printf(const char *f, ...);
#define debug_printf( ...) { 1; }
#else