summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/unx/generic/app/saldisp.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index 767cf81aa239..edf8ca53246f 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -2374,10 +2374,10 @@ bool SalDisplay::XIfEventWithTimeout( XEvent* o_pEvent, XPointer i_pPredicateDat
return bRet;
}
-SalVisual::SalVisual()
-{
- memset( this, 0, sizeof( SalVisual ) );
-}
+SalVisual::SalVisual():
+ eRGBMode_(RGB), nRedShift_(0), nGreenShift_(0), nBlueShift_(0), nRedBits_(0), nGreenBits_(0),
+ nBlueBits_(0)
+{}
SalVisual::SalVisual( const XVisualInfo* pXVI )
{