summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/generic/app/saltimer.cxx1
-rw-r--r--vcl/unx/generic/dtrans/X11_clipboard.cxx2
-rw-r--r--vcl/unx/generic/dtrans/X11_transferable.cxx10
-rw-r--r--vcl/unx/generic/gdi/xrender_peer.cxx2
-rw-r--r--vcl/unx/gtk/a11y/atkaction.cxx2
-rw-r--r--vcl/unx/gtk/a11y/atkbridge.cxx1
-rw-r--r--vcl/unx/gtk/a11y/atkeditabletext.cxx1
-rw-r--r--vcl/unx/gtk/a11y/atkhypertext.cxx2
-rw-r--r--vcl/unx/gtk/a11y/atkimage.cxx2
-rw-r--r--vcl/unx/gtk/a11y/atkselection.cxx2
-rw-r--r--vcl/unx/gtk/a11y/atktable.cxx68
-rw-r--r--vcl/unx/gtk/a11y/atkvalue.cxx1
-rw-r--r--vcl/unx/kde/kdedata.cxx1
-rw-r--r--vcl/unx/kde4/KDESalFrame.cxx4
-rw-r--r--vcl/unx/kde4/KDEXLib.cxx2
-rw-r--r--vcl/unx/kde4/main.cxx4
16 files changed, 28 insertions, 77 deletions
diff --git a/vcl/unx/generic/app/saltimer.cxx b/vcl/unx/generic/app/saltimer.cxx
index 44f3853e35f3..1de121f9907f 100644
--- a/vcl/unx/generic/app/saltimer.cxx
+++ b/vcl/unx/generic/app/saltimer.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdio.h>
#include <sys/time.h>
#include <sys/times.h>
#include <time.h>
diff --git a/vcl/unx/generic/dtrans/X11_clipboard.cxx b/vcl/unx/generic/dtrans/X11_clipboard.cxx
index 95d44a548eee..f947345e9fc9 100644
--- a/vcl/unx/generic/dtrans/X11_clipboard.cxx
+++ b/vcl/unx/generic/dtrans/X11_clipboard.cxx
@@ -81,7 +81,7 @@ X11Clipboard::~X11Clipboard()
MutexGuard aGuard( *Mutex::getGlobalMutex() );
#if OSL_DEBUG_LEVEL > 1
- fprintf( stderr, "shutting down instance of X11Clipboard (this=%p, Selecttion=\"%s\")\n", this, OUStringToOString( m_rSelectionManager.getString( m_aSelection ), RTL_TEXTENCODING_ISO_8859_1 ).getStr() );
+ fprintf( stderr, "shutting down instance of X11Clipboard (this=%p, Selection=\"%s\")\n", this, OUStringToOString( m_rSelectionManager.getString( m_aSelection ), RTL_TEXTENCODING_ISO_8859_1 ).getStr() );
#endif
if( m_aSelection != None )
m_rSelectionManager.deregisterHandler( m_aSelection );
diff --git a/vcl/unx/generic/dtrans/X11_transferable.cxx b/vcl/unx/generic/dtrans/X11_transferable.cxx
index e2f427cfe167..092165a1e2e7 100644
--- a/vcl/unx/generic/dtrans/X11_transferable.cxx
+++ b/vcl/unx/generic/dtrans/X11_transferable.cxx
@@ -17,10 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#if OSL_DEBUG_LEVEL > 1
-#include <stdio.h>
-#endif
-
#include <X11_transferable.hxx>
#include <X11/Xatom.h>
#include <com/sun/star/io/IOException.hpp>
@@ -66,11 +62,7 @@ Any SAL_CALL X11Transferable::getTransferData( const DataFlavor& rFlavor )
if( reinterpret_cast<sal_Unicode const *>(aData.getConstArray())[nLen-1] == 0 )
nLen--;
OUString aString( reinterpret_cast<sal_Unicode const *>(aData.getConstArray()), nLen );
-#if OSL_DEBUG_LEVEL > 1
- fprintf( stderr, "X11Transferable::getTransferData( \"%s\" )\n -> \"%s\"\n",
- OUStringToOString( rFlavor.MimeType, RTL_TEXTENCODING_ISO_8859_1 ).getStr(),
- OUStringToOString( aString, RTL_TEXTENCODING_ISO_8859_1 ).getStr() );
-#endif
+ SAL_INFO( "vcl", "X11Transferable::getTransferData( \"" << rFlavor.MimeType << "\" )\n -> \"" << aString << "\"\n");
aRet <<= aString.replaceAll("\r\n", "\n");
}
else
diff --git a/vcl/unx/generic/gdi/xrender_peer.cxx b/vcl/unx/generic/gdi/xrender_peer.cxx
index b7c5d7627c25..808fe14871d9 100644
--- a/vcl/unx/generic/gdi/xrender_peer.cxx
+++ b/vcl/unx/generic/gdi/xrender_peer.cxx
@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <stdio.h>
-
#include <rtl/ustring.hxx>
#include <unx/salunx.h>
#include <unx/saldata.hxx>
diff --git a/vcl/unx/gtk/a11y/atkaction.cxx b/vcl/unx/gtk/a11y/atkaction.cxx
index 545630cbc18b..41c6e36d5be6 100644
--- a/vcl/unx/gtk/a11y/atkaction.cxx
+++ b/vcl/unx/gtk/a11y/atkaction.cxx
@@ -29,8 +29,6 @@
#include <algorithm>
#include <map>
-#include <stdio.h>
-
using namespace ::com::sun::star;
// FIXME
diff --git a/vcl/unx/gtk/a11y/atkbridge.cxx b/vcl/unx/gtk/a11y/atkbridge.cxx
index e3ffdc668c09..9f14e08a34af 100644
--- a/vcl/unx/gtk/a11y/atkbridge.cxx
+++ b/vcl/unx/gtk/a11y/atkbridge.cxx
@@ -23,7 +23,6 @@
#include "atkfactory.hxx"
#include "atkutil.hxx"
#include "atkwindow.hxx"
-#include <stdio.h>
bool InitAtkBridge()
{
diff --git a/vcl/unx/gtk/a11y/atkeditabletext.cxx b/vcl/unx/gtk/a11y/atkeditabletext.cxx
index 8155c455367a..82aebc76436c 100644
--- a/vcl/unx/gtk/a11y/atkeditabletext.cxx
+++ b/vcl/unx/gtk/a11y/atkeditabletext.cxx
@@ -23,7 +23,6 @@
#include <com/sun/star/accessibility/XAccessibleEditableText.hpp>
#include <com/sun/star/accessibility/TextSegment.hpp>
-#include <stdio.h>
#include <string.h>
using namespace ::com::sun::star;
diff --git a/vcl/unx/gtk/a11y/atkhypertext.cxx b/vcl/unx/gtk/a11y/atkhypertext.cxx
index 9b01e6b5bf5e..e11f4987b6e5 100644
--- a/vcl/unx/gtk/a11y/atkhypertext.cxx
+++ b/vcl/unx/gtk/a11y/atkhypertext.cxx
@@ -21,8 +21,6 @@
#include <com/sun/star/accessibility/XAccessibleHypertext.hpp>
-#include <stdio.h>
-
using namespace ::com::sun::star;
// ---------------------- AtkHyperlink ----------------------
diff --git a/vcl/unx/gtk/a11y/atkimage.cxx b/vcl/unx/gtk/a11y/atkimage.cxx
index d8d220d1f7ab..2f6759fc4e0a 100644
--- a/vcl/unx/gtk/a11y/atkimage.cxx
+++ b/vcl/unx/gtk/a11y/atkimage.cxx
@@ -21,8 +21,6 @@
#include <com/sun/star/accessibility/XAccessibleImage.hpp>
-#include <stdio.h>
-
using namespace ::com::sun::star;
// FIXME
diff --git a/vcl/unx/gtk/a11y/atkselection.cxx b/vcl/unx/gtk/a11y/atkselection.cxx
index 7e7f3fddebec..50bd94fa69ca 100644
--- a/vcl/unx/gtk/a11y/atkselection.cxx
+++ b/vcl/unx/gtk/a11y/atkselection.cxx
@@ -21,8 +21,6 @@
#include <com/sun/star/accessibility/XAccessibleSelection.hpp>
-#include <stdio.h>
-
using namespace ::com::sun::star;
static accessibility::XAccessibleSelection*
diff --git a/vcl/unx/gtk/a11y/atktable.cxx b/vcl/unx/gtk/a11y/atktable.cxx
index 3715263892a5..13ee31dab898 100644
--- a/vcl/unx/gtk/a11y/atktable.cxx
+++ b/vcl/unx/gtk/a11y/atktable.cxx
@@ -21,17 +21,13 @@
#include <com/sun/star/accessibility/XAccessibleTable.hpp>
-#ifdef ENABLE_TRACING
-#include <stdio.h>
-#endif
-
using namespace ::com::sun::star;
static inline AtkObject *
atk_object_wrapper_conditional_ref( const uno::Reference< accessibility::XAccessible >& rxAccessible )
{
#ifdef ENABLE_TRACING
- fprintf( stderr, ": %p\n", rxAccessible.get() );
+ SAL_INFO( "vcl.a11y", ": " << rxAccessible.get() << "\n");
#endif
if( rxAccessible.is() )
@@ -89,11 +85,10 @@ table_wrapper_ref_at (AtkTable *table,
#ifdef ENABLE_TRACING
if( pTable )
- fprintf(stderr, "getAccessibleCellAt( %u, %u ) returns", row, column );
+ SAL_INFO( "vcl.a11y", "getAccessibleCellAt( " << row << ", " << column << " ) returns\n");
if( column >= 255 )
- fprintf(stderr, "getAccessibleCellAt( %u, %u ) returns", row, column );
-
+ SAL_INFO( "vcl.a11y", "getAccessibleCellAt( " << row << ", " << column << " ) returns\n");
#endif
if( pTable )
@@ -119,8 +114,7 @@ table_wrapper_get_index_at (AtkTable *table,
#ifdef ENABLE_TRACING
if( pTable )
- fprintf(stderr, "getAccessibleIndex( %u, %u ) returns %u\n",
- row, column, pTable->getAccessibleIndex( row, column ) );
+ SAL_INFO( "vcl.a11y", "getAccessibleIndex( " << row << ", " << column << " ) returns " << pTable->getAccessibleIndex( row, column ) << "\n");
#endif
if( pTable )
@@ -144,8 +138,7 @@ table_wrapper_get_column_at_index (AtkTable *table,
#ifdef ENABLE_TRACING
if( pTable )
- fprintf(stderr, "getAccessibleColumn( %u ) returns %u\n",
- nIndex, pTable->getAccessibleColumn( nIndex ) );
+ SAL_INFO( "vcl.a11y", "getAccessibleColumn( " << nIndex << " ) returns " << pTable->getAccessibleColumn( nIndex ) << "\n");
#endif
if( pTable )
@@ -169,8 +162,7 @@ table_wrapper_get_row_at_index( AtkTable *table,
#ifdef ENABLE_TRACING
if( pTable )
- fprintf(stderr, "getAccessibleRow( %u ) returns %u\n",
- nIndex, pTable->getAccessibleRow( nIndex ) );
+ SAL_INFO( "vcl.a11y", "getAccessibleRow( " << nIndex << " ) returns " << pTable->getAccessibleRow( nIndex ) << "\n");
#endif
if( pTable )
@@ -193,8 +185,7 @@ table_wrapper_get_n_columns( AtkTable *table )
#ifdef ENABLE_TRACING
if( pTable )
- fprintf(stderr, "XAccessibleTable::getAccessibleColumnCount returns %u\n",
- pTable->getAccessibleColumnCount() );
+ SAL_INFO( "vcl.a11y", "XAccessibleTable::getAccessibleColumnCount returns " << pTable->getAccessibleColumnCount() << "\n");
#endif
if( pTable )
@@ -217,8 +208,7 @@ table_wrapper_get_n_rows( AtkTable *table )
#ifdef ENABLE_TRACING
if( pTable )
- fprintf(stderr, "getAccessibleRowCount() returns %u\n",
- pTable->getAccessibleRowCount() );
+ SAL_INFO( "vcl.a11y", "getAccessibleRowCount returns " << pTable->getAccessibleRowCount() << "\n");
#endif
if( pTable )
@@ -243,8 +233,8 @@ table_wrapper_get_column_extent_at( AtkTable *table,
#ifdef ENABLE_TRACING
if( pTable )
- fprintf(stderr, "getAccessibleColumnExtentAt( %u, %u ) returns %u\n",
- row, column, pTable->getAccessibleColumnExtentAt( row, column ) );
+ SAL_INFO( "vcl.a11y", "getAccessibleColumnExtentAt ( " << row << ", " << column << " ) returns "
+ << pTable->getAccessibleColumnExtentAt( row, column ) << "\n");;
#endif
if( pTable )
@@ -269,8 +259,8 @@ table_wrapper_get_row_extent_at( AtkTable *table,
#ifdef ENABLE_TRACING
if( pTable )
- fprintf(stderr, "getAccessibleRowExtentAt( %u, %u ) returns %u\n",
- row, column, pTable->getAccessibleRowExtentAt( row, column ) );
+ SAL_INFO( "vcl.a11y", "getAccessibleRowExtentAt ( " << row << ", " << column << " ) returns "
+ << pTable->getAccessibleRowExtentAt( row, column ) << "\n");;
#endif
if( pTable )
@@ -293,7 +283,7 @@ table_wrapper_get_caption( AtkTable *table )
#ifdef ENABLE_TRACING
if( pTable )
- fprintf(stderr, "getAccessibleCaption() returns" );
+ SAL_INFO( "vcl.a11y", "getAccessibleCaption() returns\n");
#endif
if( pTable )
@@ -318,8 +308,7 @@ table_wrapper_get_row_description( AtkTable *table,
#ifdef ENABLE_TRACING
if( pTable )
- fprintf(stderr, "getAccessibleRowDescription( %u ) returns %s\n",
- row, getAsConst( pTable->getAccessibleRowDescription( row ) ) );
+ SAL_INFO( "vcl.a11y", "getAccessibleRowDescription( " << row << " ) returns " << getAsConst(pTable->getAccessibleRowDescription(row)) << "\n");
#endif
if( pTable )
@@ -343,8 +332,7 @@ table_wrapper_get_column_description( AtkTable *table,
#ifdef ENABLE_TRACING
if( pTable )
- fprintf(stderr, "getAccessibleColumnDescription( %u ) returns %s\n",
- column, getAsConst( pTable->getAccessibleColumnDescription( column ) ) );
+ SAL_INFO( "vcl.a11y", "getAccessibleColumnDescription( " << column << " ) returns " << getAsConst(pTable->getAccessibleColumnDescription(column)) << "\n");
#endif
if( pTable )
@@ -371,10 +359,9 @@ table_wrapper_get_row_header( AtkTable *table,
#ifdef ENABLE_TRACING
if( xRowHeaders.is() )
- fprintf(stderr, "getAccessibleRowHeader( %u )->getAccessibleCellAt( 0, %u ) returns",
- row, row );
+ SAL_INFO( "vcl.a11y", "getAccessibleRowHeader( " << row << ")->getAccessibleCellAt( 0, " << row << " ) returns\n");
else
- fprintf(stderr, "getAccessibleRowHeader( %u ) returns %p\n", row, xRowHeaders.get() );
+ SAL_INFO( "vcl.a11y", "getAccessibleRowHeader( " << row << ") returns " << xRowHeaders.get() << "\n");
#endif
if( xRowHeaders.is() )
@@ -403,10 +390,9 @@ table_wrapper_get_column_header( AtkTable *table,
#ifdef ENABLE_TRACING
if( xColumnHeaders.is() )
- fprintf(stderr, "getAccessibleColumnHeader( %u )->getAccessibleCellAt( 0, %u ) returns",
- column, column );
+ SAL_INFO( "vcl.a11y", "getAccessibleColumnHeader( " << column << " )->getAccessibleCellAt( 0, " << column << " ) returns\n");
else
- fprintf(stderr, "getAccessibleColumnHeader( %u ) returns %p\n", column, xColumnHeaders.get() );
+ SAL_INFO( "vcl.a11y", "getAccessibleColumnHeader( " << column << " ) returns " << xColumnHeaders.get() << "\n");
#endif
if( xColumnHeaders.is() )
@@ -430,7 +416,7 @@ table_wrapper_get_summary( AtkTable *table )
#ifdef ENABLE_TRACING
if( pTable )
- fprintf(stderr, "getAccessibleSummary() returns" );
+ SAL_INFO( "vcl.a11y", "getAccessibleSummary() returns\n");
#endif
if( pTable )
@@ -473,7 +459,7 @@ table_wrapper_get_selected_columns( AtkTable *table,
#ifdef ENABLE_TRACING
if( pTable )
- fprintf(stderr, "getSelectedAccessibleColumns() \n" );
+ SAL_INFO( "vcl.a11y", "getSelectedAccessibleColumns()\n");
#endif
if( pTable )
@@ -498,7 +484,7 @@ table_wrapper_get_selected_rows( AtkTable *table,
#ifdef ENABLE_TRACING
if( pTable )
- fprintf(stderr, "getSelectedAccessibleRows() \n" );
+ SAL_INFO( "vcl.a11y", "getSelectedAccessibleRows()\n");
#endif
if( pTable )
@@ -522,8 +508,7 @@ table_wrapper_is_column_selected( AtkTable *table,
#ifdef ENABLE_TRACING
if( pTable )
- fprintf(stderr, "isAccessibleColumnSelected( %u ) returns %s\n",
- column, pTable->isAccessibleColumnSelected( column ) ? "true" : "false" );
+ SAL_INFO( "vcl.a11y", "isAccessibleColumnSelected( " << column << " ) returns " << pTable->isAccessibleColumnSelected( column ) ? "true" : "false" << "\n");
#endif
if( pTable )
@@ -547,8 +532,7 @@ table_wrapper_is_row_selected( AtkTable *table,
#ifdef ENABLE_TRACING
if( pTable )
- fprintf(stderr, "isAccessibleRowSelected( %u ) returns %s\n",
- row, pTable->isAccessibleRowSelected( row ) ? "true" : "false" );
+ SAL_INFO( "vcl.a11y", "isAccessibleRowSelected( " << row << " ) returns " << pTable->isAccessibleRowSelected( row ) ? "true" : "false" << "\n");
#endif
if( pTable )
@@ -573,8 +557,8 @@ table_wrapper_is_selected( AtkTable *table,
#ifdef ENABLE_TRACING
if( pTable )
- fprintf(stderr, "isAccessibleSelected( %u, %u ) returns %s\n",
- row, column, pTable->isAccessibleSelected( row , column ) ? "true" : "false" );
+ SAL_INFO( "vcl.a11y", "isAccessibleSelected( " << row << ", " << column
+ << " ) returns " << pTable->isAccessibleSelected( row , column ) ? "true" : "false" << "\n");
#endif
if( pTable )
diff --git a/vcl/unx/gtk/a11y/atkvalue.cxx b/vcl/unx/gtk/a11y/atkvalue.cxx
index 50874b7798d9..a81f6cd03e47 100644
--- a/vcl/unx/gtk/a11y/atkvalue.cxx
+++ b/vcl/unx/gtk/a11y/atkvalue.cxx
@@ -21,7 +21,6 @@
#include <com/sun/star/accessibility/XAccessibleValue.hpp>
-#include <stdio.h>
#include <string.h>
using namespace ::com::sun::star;
diff --git a/vcl/unx/kde/kdedata.cxx b/vcl/unx/kde/kdedata.cxx
index c97882beba37..83e9111b32c6 100644
--- a/vcl/unx/kde/kdedata.cxx
+++ b/vcl/unx/kde/kdedata.cxx
@@ -22,7 +22,6 @@
#include <unistd.h>
#include <fcntl.h>
-#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <limits.h>
diff --git a/vcl/unx/kde4/KDESalFrame.cxx b/vcl/unx/kde4/KDESalFrame.cxx
index b7806f4689a8..540773dde5f0 100644
--- a/vcl/unx/kde4/KDESalFrame.cxx
+++ b/vcl/unx/kde4/KDESalFrame.cxx
@@ -45,10 +45,6 @@
#include <svdata.hxx>
-#if OSL_DEBUG_LEVEL > 1
-#include <stdio.h>
-#endif
-
KDESalFrame::KDESalFrame( SalFrame* pParent, sal_uLong nState ) :
X11SalFrame( pParent, nState )
{
diff --git a/vcl/unx/kde4/KDEXLib.cxx b/vcl/unx/kde4/KDEXLib.cxx
index 3101d3754072..6040100ba5d8 100644
--- a/vcl/unx/kde4/KDEXLib.cxx
+++ b/vcl/unx/kde4/KDEXLib.cxx
@@ -40,8 +40,6 @@
#include "KDESalDisplay.hxx"
-#include <stdio.h>
-
#include <config_kde4.h>
#if KDE_HAVE_GLIB
diff --git a/vcl/unx/kde4/main.cxx b/vcl/unx/kde4/main.cxx
index 8c13180e2cef..131dc9c37267 100644
--- a/vcl/unx/kde4/main.cxx
+++ b/vcl/unx/kde4/main.cxx
@@ -24,10 +24,6 @@
#include <vclpluginapi.h>
-#if OSL_DEBUG_LEVEL > 1
-#include <stdio.h>
-#endif
-
#include <rtl/string.hxx>
/// entry point for the KDE4 VCL plugin