[Libreoffice-commits] core.git: Branch 'feature/gsoc15-open-remote-files-dialog' - svtools/source
Szymon Kłos
eszkadev at gmail.com
Wed Jun 24 11:17:43 PDT 2015
svtools/source/dialogs/RemoteFilesDialog.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 166c62e0425d8a5d33fffd11ba24d60dfe03188c
Author: Szymon Kłos <eszkadev at 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();
More information about the Libreoffice-commits
mailing list