svtools/source/dialogs/RemoteFilesDialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 166c62e0425d8a5d33fffd11ba24d60dfe03188c Author: Szymon KÅos <eszka...@gmail.com> Date: Wed Jun 24 20:16:05 2015 +0200 RemoteFilesDialog: correct count of array elements Change-Id: Ia1744324045a9d5e4f6c8cf8b22ed6a99e629731 diff --git a/svtools/source/dialogs/RemoteFilesDialog.cxx b/svtools/source/dialogs/RemoteFilesDialog.cxx index b7734e0..c5aef0f 100644 --- a/svtools/source/dialogs/RemoteFilesDialog.cxx +++ b/svtools/source/dialogs/RemoteFilesDialog.cxx @@ -85,7 +85,7 @@ class FileViewContainer : public vcl::Window void changeFocus(bool bReverse) { - if(!bReverse && m_nCurrentFocus <= 4) + if(!bReverse && m_nCurrentFocus < 4) { m_pFocusWidgets[++m_nCurrentFocus]->SetFakeFocus(true); m_pFocusWidgets[m_nCurrentFocus]->GrabFocus();
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits