diff options
-rw-r--r-- | vcl/source/control/ilstbox.cxx | 4 | ||||
-rw-r--r-- | vcl/source/control/spinfld.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 46 | ||||
-rw-r--r-- | vcl/source/gdi/pngwrite.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/dialog.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/menu.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/printdlg.cxx | 6 | ||||
-rw-r--r-- | vcl/source/window/stacking.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/toolbox2.cxx | 12 | ||||
-rw-r--r-- | vcl/source/window/winproc.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/app/i18n_status.cxx | 4 | ||||
-rw-r--r-- | vcl/unx/generic/window/salframe.cxx | 4 |
12 files changed, 44 insertions, 44 deletions
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx index 5d06f468fa7f..92ea38361f31 100644 --- a/vcl/source/control/ilstbox.cxx +++ b/vcl/source/control/ilstbox.cxx @@ -921,7 +921,7 @@ void ImplListBoxWindow::MouseMove( const MouseEvent& rMEvt ) ( ( nSelect != mnCurrentPos ) || !GetEntryList()->GetSelectEntryCount() || ( nSelect != GetEntryList()->GetSelectEntryPos( 0 ) ) ) ) { mbTrackingSelect = true; - if ( SelectEntries( nSelect, LET_TRACKING, false, false ) ) + if ( SelectEntries( nSelect, LET_TRACKING ) ) { if ( mbStackMode ) { @@ -1691,7 +1691,7 @@ void ImplListBoxWindow::SelectEntry( vcl::StringEntryIdentifier _entry ) // actually select mnCurrentPos = nSelect; - if ( SelectEntries( nSelect, LET_KEYMOVE, false, false ) ) + if ( SelectEntries( nSelect, LET_KEYMOVE ) ) { mbTravelSelect = true; mnSelectModifier = 0; diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx index b541b341c500..b21c70344135 100644 --- a/vcl/source/control/spinfld.cxx +++ b/vcl/source/control/spinfld.cxx @@ -1044,7 +1044,7 @@ void SpinField::Draw(OutputDevice* pDev, const Point& rPos, const Size& rSize, D if (GetStyle() & WB_SPIN) { - ImplDrawSpinButton(*pDev, this, aUp, aDown, false, false, true, true); + ImplDrawSpinButton(*pDev, this, aUp, aDown, false, false); } pDev->Pop(); diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index 3b93fc77db15..e9ab3b6d57ba 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -1437,7 +1437,7 @@ void PDFWriterImpl::PDFPage::appendRect( const Rectangle& rRect, OStringBuffer& rBuffer.append( ' ' ); appendMappedLength( (sal_Int32)rRect.GetWidth(), rBuffer, false ); rBuffer.append( ' ' ); - appendMappedLength( (sal_Int32)rRect.GetHeight(), rBuffer, true ); + appendMappedLength( (sal_Int32)rRect.GetHeight(), rBuffer ); rBuffer.append( " re" ); } @@ -1701,31 +1701,31 @@ void PDFWriterImpl::PDFPage::appendWaveLine( sal_Int32 nWidth, sal_Int32 nY, sal nDelta = 1; rBuffer.append( "0 " ); - appendMappedLength( nY, rBuffer, true ); + appendMappedLength( nY, rBuffer ); rBuffer.append( " m\n" ); for( sal_Int32 n = 0; n < nWidth; ) { n += nDelta; appendMappedLength( n, rBuffer, false ); rBuffer.append( ' ' ); - appendMappedLength( nDelta+nY, rBuffer, true ); + appendMappedLength( nDelta+nY, rBuffer ); rBuffer.append( ' ' ); n += nDelta; appendMappedLength( n, rBuffer, false ); rBuffer.append( ' ' ); - appendMappedLength( nY, rBuffer, true ); + appendMappedLength( nY, rBuffer ); rBuffer.append( " v " ); if( n < nWidth ) { n += nDelta; appendMappedLength( n, rBuffer, false ); rBuffer.append( ' ' ); - appendMappedLength( nY-nDelta, rBuffer, true ); + appendMappedLength( nY-nDelta, rBuffer ); rBuffer.append( ' ' ); n += nDelta; appendMappedLength( n, rBuffer, false ); rBuffer.append( ' ' ); - appendMappedLength( nY, rBuffer, true ); + appendMappedLength( nY, rBuffer ); rBuffer.append( " v\n" ); } } @@ -8725,7 +8725,7 @@ void PDFWriterImpl::drawVerticalGlyphs( rLine.append( " /F" ); rLine.append( rGlyphs[i].m_nMappedFontId ); rLine.append( ' ' ); - m_aPages.back().appendMappedLength( nFontHeight, rLine, true ); + m_aPages.back().appendMappedLength( nFontHeight, rLine ); rLine.append( " Tf" ); } rLine.append( "<" ); @@ -8779,7 +8779,7 @@ void PDFWriterImpl::drawHorizontalGlyphs( Matrix3 aMat; if( nRun == 0 && fAngle == 0.0 && fXScale == 1.0 && fSkew == 0.0 ) { - m_aPages.back().appendPoint( aCurPos, rLine, false ); + m_aPages.back().appendPoint( aCurPos, rLine ); rLine.append( " Td " ); } else @@ -8796,7 +8796,7 @@ void PDFWriterImpl::drawHorizontalGlyphs( rLine.append( "/F" ); rLine.append( rGlyphs[nBeginRun].m_nMappedFontId ); rLine.append( ' ' ); - m_aPages.back().appendMappedLength( nFontHeight, rLine, true ); + m_aPages.back().appendMappedLength( nFontHeight, rLine ); rLine.append( " Tf" ); // output glyphs using Tj or TJ @@ -9657,7 +9657,7 @@ void PDFWriterImpl::drawStraightTextLine( OStringBuffer& aLine, long nWidth, Fon if ( nLineHeight ) { - m_aPages.back().appendMappedLength( (sal_Int32)nLineHeight, aLine, true ); + m_aPages.back().appendMappedLength( (sal_Int32)nLineHeight, aLine ); aLine.append( " w " ); appendStrokingColor( aColor, aLine ); aLine.append( "\n" ); @@ -9728,20 +9728,20 @@ void PDFWriterImpl::drawStraightTextLine( OStringBuffer& aLine, long nWidth, Fon } aLine.append( "0 " ); - m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos), aLine, true ); + m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos), aLine ); aLine.append( " m " ); m_aPages.back().appendMappedLength( (sal_Int32)nWidth, aLine, false ); aLine.append( ' ' ); - m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos), aLine, true ); + m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos), aLine ); aLine.append( " l S\n" ); if ( eTextLine == UNDERLINE_DOUBLE ) { aLine.append( "0 " ); - m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos2-nLineHeight), aLine, true ); + m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos2-nLineHeight), aLine ); aLine.append( " m " ); m_aPages.back().appendMappedLength( (sal_Int32)nWidth, aLine, false ); aLine.append( ' ' ); - m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos2-nLineHeight), aLine, true ); + m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos2-nLineHeight), aLine ); aLine.append( " l S\n" ); } } @@ -9785,27 +9785,27 @@ void PDFWriterImpl::drawStrikeoutLine( OStringBuffer& aLine, long nWidth, FontSt if ( nLineHeight ) { - m_aPages.back().appendMappedLength( (sal_Int32)nLineHeight, aLine, true ); + m_aPages.back().appendMappedLength( (sal_Int32)nLineHeight, aLine ); aLine.append( " w " ); appendStrokingColor( aColor, aLine ); aLine.append( "\n" ); aLine.append( "0 " ); - m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos), aLine, true ); + m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos), aLine ); aLine.append( " m " ); - m_aPages.back().appendMappedLength( (sal_Int32)nWidth, aLine, true ); + m_aPages.back().appendMappedLength( (sal_Int32)nWidth, aLine ); aLine.append( ' ' ); - m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos), aLine, true ); + m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos), aLine ); aLine.append( " l S\n" ); if ( eStrikeout == STRIKEOUT_DOUBLE ) { aLine.append( "0 " ); - m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos2-nLineHeight), aLine, true ); + m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos2-nLineHeight), aLine ); aLine.append( " m " ); - m_aPages.back().appendMappedLength( (sal_Int32)nWidth, aLine, true ); + m_aPages.back().appendMappedLength( (sal_Int32)nWidth, aLine ); aLine.append( ' ' ); - m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos2-nLineHeight), aLine, true ); + m_aPages.back().appendMappedLength( (sal_Int32)(-nLinePos2-nLineHeight), aLine ); aLine.append( " l S\n" ); } } @@ -11738,7 +11738,7 @@ void PDFWriterImpl::drawGradient( const Rectangle& rRect, const Gradient& rGradi aLine.append( "0 0 " ); m_aPages.back().appendMappedLength( (sal_Int32)rRect.GetWidth(), aLine, false ); aLine.append( ' ' ); - m_aPages.back().appendMappedLength( (sal_Int32)rRect.GetHeight(), aLine, true ); + m_aPages.back().appendMappedLength( (sal_Int32)rRect.GetHeight(), aLine ); aLine.append( " re W n\n" ); aLine.append( "/P" ); @@ -11749,7 +11749,7 @@ void PDFWriterImpl::drawGradient( const Rectangle& rRect, const Gradient& rGradi aLine.append( "Q 0 0 " ); m_aPages.back().appendMappedLength( (sal_Int32)rRect.GetWidth(), aLine, false ); aLine.append( ' ' ); - m_aPages.back().appendMappedLength( (sal_Int32)rRect.GetHeight(), aLine, true ); + m_aPages.back().appendMappedLength( (sal_Int32)rRect.GetHeight(), aLine ); aLine.append( " re S " ); } aLine.append( "Q\n" ); diff --git a/vcl/source/gdi/pngwrite.cxx b/vcl/source/gdi/pngwrite.cxx index 63a6565e862a..88ddc059400a 100644 --- a/vcl/source/gdi/pngwrite.cxx +++ b/vcl/source/gdi/pngwrite.cxx @@ -454,7 +454,7 @@ void PNGWriterImpl::ImplWriteIDAT() { for (nY = 1; nY < mnHeight; nY += 2) { - mpZCodec.Write(aOStm, mpDeflateInBuf, ImplGetFilter (nY, 0)); + mpZCodec.Write(aOStm, mpDeflateInBuf, ImplGetFilter (nY)); } } } diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index 04bfe04a503d..ea24882f7bba 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -829,7 +829,7 @@ bool Dialog::ImplStartExecuteModal() pSVData->maWinData.mpTrackWin->EndTracking( TrackingEventFlags::Cancel ); if ( pSVData->maWinData.mpCaptureWin ) pSVData->maWinData.mpCaptureWin->ReleaseMouse(); - EnableInput( true ); + EnableInput(); if ( GetParent() ) { diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index 4f63cb6120e2..6ca2bd38b9bd 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -2256,7 +2256,7 @@ void Menu::RemoveDisabledEntries( bool bCheckPopups, bool bRemoveEmptyPopups ) if ( bCheckPopups && pItem->pSubMenu ) { - pItem->pSubMenu->RemoveDisabledEntries( true ); + pItem->pSubMenu->RemoveDisabledEntries(); if ( bRemoveEmptyPopups && !pItem->pSubMenu->GetItemCount() ) bRemove = true; } diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index f11cb96982dd..d741dd015f00 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -1179,7 +1179,7 @@ void PrintDialog::setupOptionalUI() if (!maNUpPage.mpBrochureBtn->IsVisible() && maNUpPage.mpPagesBtn->IsVisible()) { maNUpPage.mpPagesBoxTitleTxt->SetText( maNUpPage.mpPagesBtn->GetText() ); - maNUpPage.mpPagesBoxTitleTxt->Show( true ); + maNUpPage.mpPagesBoxTitleTxt->Show(); maNUpPage.mpPagesBtn->Show( false ); } @@ -1527,7 +1527,7 @@ IMPL_LINK_TYPED( PrintDialog, SelectHdl, ListBox&, rBox, void ) maPController->resetPrinterOptions( maOptionsPage.mpToFileBox->IsChecked() ); // update text fields updatePrinterText(); - preparePreview( true ); + preparePreview(); } else if( &rBox == maNUpPage.mpNupOrientationBox || &rBox == maNUpPage.mpNupOrderBox ) { @@ -1640,7 +1640,7 @@ IMPL_LINK_TYPED( PrintDialog, ClickHdl, Button*, pButton, void ) maPController->setupPrinter( this ); // tdf#63905 don't use cache: page size may change - preparePreview( true ); + preparePreview(); } checkControlDependencies(); } diff --git a/vcl/source/window/stacking.cxx b/vcl/source/window/stacking.cxx index bd1c0949401b..3a3e8730565f 100644 --- a/vcl/source/window/stacking.cxx +++ b/vcl/source/window/stacking.cxx @@ -829,7 +829,7 @@ void Window::ImplUpdateOverlapWindowPtr( bool bNewFrame ) } if ( bVisible ) - Show( true ); + Show(); } SystemWindow* Window::GetSystemWindow() const diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx index 6b570f92a551..f0e5008e6982 100644 --- a/vcl/source/window/toolbox2.cxx +++ b/vcl/source/window/toolbox2.cxx @@ -657,7 +657,7 @@ void ToolBox::InsertSpace( sal_uInt16 nPos ) mpData->m_aItems.insert( (nPos < mpData->m_aItems.size()) ? mpData->m_aItems.begin()+nPos : mpData->m_aItems.end(), aItem ); mpData->ImplClearLayoutData(); - ImplInvalidate( false ); + ImplInvalidate(); // Notify sal_uInt16 nNewPos = sal::static_int_cast<sal_uInt16>(( nPos == TOOLBOX_APPEND ) ? ( mpData->m_aItems.size() - 1 ) : nPos); @@ -675,7 +675,7 @@ void ToolBox::InsertSeparator( sal_uInt16 nPos, sal_uInt16 nPixSize ) mpData->m_aItems.insert( (nPos < mpData->m_aItems.size()) ? mpData->m_aItems.begin()+nPos : mpData->m_aItems.end(), aItem ); mpData->ImplClearLayoutData(); - ImplInvalidate( false ); + ImplInvalidate(); // Notify sal_uInt16 nNewPos = sal::static_int_cast<sal_uInt16>(( nPos == TOOLBOX_APPEND ) ? ( mpData->m_aItems.size() - 1 ) : nPos); @@ -691,7 +691,7 @@ void ToolBox::InsertBreak( sal_uInt16 nPos ) mpData->m_aItems.insert( (nPos < mpData->m_aItems.size()) ? mpData->m_aItems.begin()+nPos : mpData->m_aItems.end(), aItem ); mpData->ImplClearLayoutData(); - ImplInvalidate( false ); + ImplInvalidate(); // Notify sal_uInt16 nNewPos = sal::static_int_cast<sal_uInt16>(( nPos == TOOLBOX_APPEND ) ? ( mpData->m_aItems.size() - 1 ) : nPos); @@ -750,7 +750,7 @@ void ToolBox::CopyItem( const ToolBox& rToolBox, sal_uInt16 nItemId, mpData->m_aItems.insert( (nNewPos < mpData->m_aItems.size()) ? mpData->m_aItems.begin()+nNewPos : mpData->m_aItems.end(), aNewItem ); mpData->ImplClearLayoutData(); // redraw ToolBox - ImplInvalidate( false ); + ImplInvalidate(); // Notify sal_uInt16 nNewPos2 = sal::static_int_cast<sal_uInt16>(( nNewPos == TOOLBOX_APPEND ) ? ( mpData->m_aItems.size() - 1 ) : nNewPos); @@ -1520,7 +1520,7 @@ void ToolBox::ShowItem( sal_uInt16 nItemId, bool bVisible ) if ( pItem->mbVisible != bVisible ) { pItem->mbVisible = bVisible; - ImplInvalidate( false ); + ImplInvalidate(); } } } @@ -1857,7 +1857,7 @@ IMPL_LINK_TYPED( ToolBox, ImplCustomMenuListener, VclMenuEvent&, rEvent, void ) { sal_uInt16 id = GetMenu()->GetItemId( rEvent.GetItemPos() ); if( id >= TOOLBOX_MENUITEM_START ) - TriggerItem( id - TOOLBOX_MENUITEM_START, false ); + TriggerItem( id - TOOLBOX_MENUITEM_START ); } } diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx index 33aa9fbb9cf2..1ee1661aac0f 100644 --- a/vcl/source/window/winproc.cxx +++ b/vcl/source/window/winproc.cxx @@ -1054,7 +1054,7 @@ static bool ImplHandleKey( vcl::Window* pWindow, MouseNotifyEvent nSVEvent, // ContextMenu if ( (nCode == KEY_CONTEXTMENU) || ((nCode == KEY_F10) && aKeyCode.IsShift() && !aKeyCode.IsMod1() && !aKeyCode.IsMod2() ) ) - bRet = !ImplCallCommand( pChild, CommandEventId::ContextMenu, NULL, false ); + bRet = !ImplCallCommand( pChild, CommandEventId::ContextMenu, NULL ); else if ( ( (nCode == KEY_F2) && aKeyCode.IsShift() ) || ( (nCode == KEY_F1) && aKeyCode.IsMod1() ) || // #101999# no active help when focus in toolbox, simulate BallonHelp instead ( (nCode == KEY_F1) && aKeyCode.IsShift() && bToolboxFocus ) ) diff --git a/vcl/unx/generic/app/i18n_status.cxx b/vcl/unx/generic/app/i18n_status.cxx index 089f55afe845..24e3854a4c32 100644 --- a/vcl/unx/generic/app/i18n_status.cxx +++ b/vcl/unx/generic/app/i18n_status.cxx @@ -154,7 +154,7 @@ void XIMStatusWindow::layout() m_aStatusText->SetPosSizePixel( Point( 1, 1 ), aControlSize ); m_aStatusText->SetFont( aFont ); - m_aStatusText->Show( true ); + m_aStatusText->Show(); if (m_bAnchoredAtRight && IsVisible()) { @@ -340,7 +340,7 @@ IIIMPStatusWindow::IIIMPStatusWindow( SalFrame* pParent, bool bOn ) : m_aStatusBtn->SetSelectHdl( LINK( this, IIIMPStatusWindow, SelectHdl ) ); m_aStatusBtn->SetPopupMenu( &m_aMenu ); - m_aStatusBtn->Show( true ); + m_aStatusBtn->Show(); const ::std::vector< I18NStatus::ChoiceData >& rChoices( I18NStatus::get().getChoices() ); int i = 1; diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx index 002a058ad835..604ab609d93f 100644 --- a/vcl/unx/generic/window/salframe.cxx +++ b/vcl/unx/generic/window/salframe.cxx @@ -736,7 +736,7 @@ void X11SalFrame::Init( SalFrameStyleFlags nSalFrameStyle, SalX11Screen nXScreen SalFrameStyleFlags::INTRO | SalFrameStyleFlags::PARTIAL_FULLSCREEN) ) == SalFrameStyleFlags::DEFAULT ) - pDisplay_->getWMAdaptor()->maximizeFrame( this, true ); + pDisplay_->getWMAdaptor()->maximizeFrame( this ); if( !netwm_icon.empty() && GetDisplay()->getWMAdaptor()->getAtom( WMAdaptor::NET_WM_ICON )) XChangeProperty( GetXDisplay(), mhWindow, @@ -2022,7 +2022,7 @@ void X11SalFrame::Maximize() nShowState_ = SHOWSTATE_NORMAL; } - pDisplay_->getWMAdaptor()->maximizeFrame( this, true ); + pDisplay_->getWMAdaptor()->maximizeFrame( this ); } void X11SalFrame::Restore() |