diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-05-10 10:53:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-10 10:53:39 +0100 |
commit | 904c0ab7f843e08e253aa0fe26ec0ba13c5ae6e4 (patch) | |
tree | 21cc616c93d7a0ca0cd524c4c4eb5ac3d56d9ba4 /vcl/unx/kde | |
parent | 4f05f97d65665feee7772e847fa4ed1ceb9654b2 (diff) |
fix kde build
Change-Id: Iddcf995b079867cf14454d28c363efacc0323ae8
Diffstat (limited to 'vcl/unx/kde')
-rw-r--r-- | vcl/unx/kde/salnativewidgets-kde.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<const ScrollbarValue*>(&aValue) : NULL; + const ScrollbarValue* pValue = (aValue.getType() == CTRL_SCROLLBAR) ? static_cast<const ScrollbarValue*>(&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<const ScrollbarValue*>(&aValue) : NULL; + const ScrollbarValue* pValue = (aValue.getType() == CTRL_SCROLLBAR) ? static_cast<const ScrollbarValue*>(&aValue) : NULL; if ( pValue ) { m_pScrollBar->setMinValue( pValue->mnMin ); |