summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/window/salobj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/window/salobj.cxx')
-rw-r--r--vcl/unx/generic/window/salobj.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/unx/generic/window/salobj.cxx b/vcl/unx/generic/window/salobj.cxx
index 3622aae2f144..d2809f11d466 100644
--- a/vcl/unx/generic/window/salobj.cxx
+++ b/vcl/unx/generic/window/salobj.cxx
@@ -77,11 +77,11 @@ X11SalObject* X11SalObject::CreateObject( SalFrame* pParent, SystemWindowData* p
XVisualInfo aTemplate;
aTemplate.visualid = aVisID;
int nVisuals = 0;
- XVisualInfo* pInfos = XGetVisualInfo( pDisp, VisualIDMask, &aTemplate, &nVisuals );
+ XVisualInfo* pInfo = XGetVisualInfo( pDisp, VisualIDMask, &aTemplate, &nVisuals );
// only one VisualInfo structure can match the visual id
DBG_ASSERT( nVisuals == 1, "match count for visual id is not 1" );
- unsigned int nDepth = pInfos->depth;
- XFree( pInfos );
+ unsigned int nDepth = pInfo->depth;
+ XFree( pInfo );
XSetWindowAttributes aAttribs;
aAttribs.event_mask = StructureNotifyMask
| ButtonPressMask