summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/app/randrwrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/app/randrwrapper.cxx')
-rw-r--r--vcl/unx/generic/app/randrwrapper.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/vcl/unx/generic/app/randrwrapper.cxx b/vcl/unx/generic/app/randrwrapper.cxx
index e7e23ce6b817..cb3698365968 100644
--- a/vcl/unx/generic/app/randrwrapper.cxx
+++ b/vcl/unx/generic/app/randrwrapper.cxx
@@ -22,6 +22,8 @@
#include <X11/Xlib.h>
#include <X11/extensions/Xrandr.h>
+#include <sal/log.hxx>
+
namespace
{
@@ -120,7 +122,7 @@ void SalDisplay::DeInitRandR()
#ifdef USE_RANDR
RandRWrapper::releaseWrapper();
#if OSL_DEBUG_LEVEL > 1
- fprintf( stderr, "SalDisplay::DeInitRandR()\n" );
+ SAL_INFO("vcl.app", "SalDisplay::DeInitRandR().");
#endif
#endif
}
@@ -159,9 +161,11 @@ void SalDisplay::processRandREvent( XEvent* pEvent )
pWrapper->XRRFreeScreenConfigInfo( pConfig );
- #if OSL_DEBUG_LEVEL > 1
- fprintf( stderr, "screen %d changed to size %dx%d\n", (int)nId, (int)pTargetSize->width, (int)pTargetSize->height );
- #endif
+#if OSL_DEBUG_LEVEL > 1
+ SAL_INFO("vcl.app", "screen " << nId
+ << " changed to size " << (int)pTargetSize->width
+ << "x" << (int)pTargetSize->height);
+#endif
}
}
if( bNotify )