From 904c0ab7f843e08e253aa0fe26ec0ba13c5ae6e4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 10 May 2013 10:53:10 +0100 Subject: fix kde build Change-Id: Iddcf995b079867cf14454d28c363efacc0323ae8 --- vcl/unx/kde/salnativewidgets-kde.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/unx/kde') diff --git a/vcl/unx/kde/salnativewidgets-kde.cxx b/vcl/unx/kde/salnativewidgets-kde.cxx index b1dd7f859a3c..ea013cacdc1d 100644 --- a/vcl/unx/kde/salnativewidgets-kde.cxx +++ b/vcl/unx/kde/salnativewidgets-kde.cxx @@ -648,7 +648,7 @@ sal_Bool WidgetPainter::drawStyledWidget( QWidget *pWidget, } else if ( strcmp( QScrollBar_String, pClassName ) == 0 ) { - const ScrollbarValue* pScrollbarVal = (aValue.getType() == CTRL_SCROLLBAR) ? static_cast(&aValue) : NULL; + const ScrollbarValue* pValue = (aValue.getType() == CTRL_SCROLLBAR) ? static_cast(&aValue) : NULL; QStyle::SCFlags eActive = QStyle::SC_None; if ( pValue ) @@ -1052,7 +1052,7 @@ QScrollBar *WidgetPainter::scrollBar( const Rectangle& rControlRegion, m_pScrollBar->resize( qRect.size() ); m_pScrollBar->setOrientation( bHorizontal? Qt::Horizontal: Qt::Vertical ); - const ScrollbarValue* pScrollbarVal = (aValue.getType() == CTRL_SCROLLBAR) ? static_cast(&aValue) : NULL; + const ScrollbarValue* pValue = (aValue.getType() == CTRL_SCROLLBAR) ? static_cast(&aValue) : NULL; if ( pValue ) { m_pScrollBar->setMinValue( pValue->mnMin ); -- cgit