summaryrefslogtreecommitdiff
path: root/automation/source/server
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-07-19 15:57:27 +0000
committerKurt Zenker <kz@openoffice.org>2006-07-19 15:57:27 +0000
commit49cd1249b108db0470d6c53c7d1f25406222d7de (patch)
treeace9eab71828ad5fec693ffe7fed5b84e53c47f5 /automation/source/server
parentee366cb08acf0d000aff9e8fad66e21a591757cb (diff)
INTEGRATION: CWS warningfixes02 (1.18.6); FILE MERGED
2006/06/30 12:19:23 sb 1.18.6.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
Diffstat (limited to 'automation/source/server')
-rw-r--r--automation/source/server/sta_list.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/automation/source/server/sta_list.cxx b/automation/source/server/sta_list.cxx
index 73a3029bbc60..79cbe8e39f12 100644
--- a/automation/source/server/sta_list.cxx
+++ b/automation/source/server/sta_list.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: sta_list.cxx,v $
*
- * $Revision: 1.19 $
+ * $Revision: 1.20 $
*
- * last change: $Author: kz $ $Date: 2006-07-06 14:32:50 $
+ * last change: $Author: kz $ $Date: 2006-07-19 16:57:27 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -604,7 +604,7 @@ Menu* StatementList::GetMatchingMenu( Window* pWin, Menu* pBaseMenu )
USHORT nSkip = 0;
Window* pMenuBarWin = NULL;
- while ( pMenuBarWin = GetWinByRT( NULL, WINDOW_MENUBARWINDOW, TRUE, nSkip++, TRUE ) )
+ while ( (pMenuBarWin = GetWinByRT( NULL, WINDOW_MENUBARWINDOW, TRUE, nSkip++, TRUE )) )
{
Window* pParent = pMenuBarWin->GET_REAL_PARENT();
if ( pParent && pParent->GetType() == WINDOW_BORDERWINDOW && pParent->IsVisible() )