summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-17 16:22:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-17 16:22:09 +0000
commitb6dcd5aa346e3b31ea41bce4ae8607adf19a1ccc (patch)
treeaa28d5d6ebcdbd8b5a4fec2013e45f2b2a0772d8 /vcl
parent6abcf8b28926f63d0feccc7809c03dc54ff00fd6 (diff)
I very much doubt we need this single special LinuxPPC ifdef
Change-Id: I1661981fabcefde9ef7819fa554a31c68972e619
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/generic/app/saldata.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/unx/generic/app/saldata.cxx b/vcl/unx/generic/app/saldata.cxx
index 9fe3422f3617..d77431329392 100644
--- a/vcl/unx/generic/app/saldata.cxx
+++ b/vcl/unx/generic/app/saldata.cxx
@@ -480,9 +480,7 @@ void EmitFontpathWarning()
static void PrintXError( Display *pDisplay, XErrorEvent *pEvent )
{
char msg[ 120 ] = "";
-#if ! ( defined LINUX && defined PPC )
XGetErrorText( pDisplay, pEvent->error_code, msg, sizeof( msg ) );
-#endif
std::fprintf( stderr, "X-Error: %s\n", msg );
if( pEvent->request_code < SAL_N_ELEMENTS( XRequest ) )
{