diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-07-19 15:01:34 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-07-19 15:01:34 +0000 |
commit | e85b9cef0368aad2700d7e301763f421942620f4 (patch) | |
tree | 9312cda8639ce390503e050fb8cf1c6462103cf3 /dbaccess/source/ui/app/AppControllerGen.cxx | |
parent | 915de7c4c6e8e0d8b8585ef5f850013117cf0f6e (diff) |
INTEGRATION: CWS warningfixes02 (1.18.4); FILE MERGED
2006/06/30 11:53:07 sb 1.18.4.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
Diffstat (limited to 'dbaccess/source/ui/app/AppControllerGen.cxx')
-rw-r--r-- | dbaccess/source/ui/app/AppControllerGen.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/app/AppControllerGen.cxx b/dbaccess/source/ui/app/AppControllerGen.cxx index c5aefb99f713..08e67a0b0e1f 100644 --- a/dbaccess/source/ui/app/AppControllerGen.cxx +++ b/dbaccess/source/ui/app/AppControllerGen.cxx @@ -4,9 +4,9 @@ * * $RCSfile: AppControllerGen.cxx,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: obo $ $Date: 2006-07-10 15:23:11 $ + * last change: $Author: kz $ $Date: 2006-07-19 16:01:34 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -572,7 +572,7 @@ sal_Bool OApplicationController::isRenameDeleteAllowed(ElementType _eType,sal_Bo try { Reference< XNameAccess > xContainer = const_cast<OApplicationController*>(this)->getElements(eType); - if ( bEnabled = (xContainer.is() && xContainer->hasByName(*aList.begin())) ) + if ( (bEnabled = (xContainer.is() && xContainer->hasByName(*aList.begin()))) ) bEnabled = Reference<XRename>(xContainer->getByName(*aList.begin()),UNO_QUERY).is(); } catch(Exception&) |