vcl/source/window/btndlg.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit f5c178f7c8654519f984d0ef830ceca0431727a0 Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Mar 30 10:55:33 2015 +0200 Covertiy#1292224: Probably this is what was meant... Change-Id: Idf7b28e9c49ebe06a44b95dd284aa28c16a30c1c diff --git a/vcl/source/window/btndlg.cxx b/vcl/source/window/btndlg.cxx index cb67341..515d17a 100644 --- a/vcl/source/window/btndlg.cxx +++ b/vcl/source/window/btndlg.cxx @@ -305,9 +305,9 @@ void ButtonDialog::AddButton( StandardButtonType eType, sal_uInt16 nId, pItem->mpPushButton = ImplCreatePushButton( nBtnFlags ); // Standard-Buttons have the right text already - if ( !((eType == StandardButtonType::OK) && (pItem->mpPushButton->GetType() == WINDOW_OKBUTTON)) || - !((eType == StandardButtonType::Cancel) && (pItem->mpPushButton->GetType() == WINDOW_CANCELBUTTON)) || - !((eType == StandardButtonType::Help) && (pItem->mpPushButton->GetType() == WINDOW_HELPBUTTON)) ) + if ( !((eType == StandardButtonType::OK && pItem->mpPushButton->GetType() == WINDOW_OKBUTTON) || + (eType == StandardButtonType::Cancel && pItem->mpPushButton->GetType() == WINDOW_CANCELBUTTON) || + (eType == StandardButtonType::Help && pItem->mpPushButton->GetType() == WINDOW_HELPBUTTON)) ) { pItem->mpPushButton->SetText( Button::GetStandardText( eType ) ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits