summaryrefslogtreecommitdiffstats
path: root/stoc
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:05:10 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:05:10 +0000
commit59afebca3709a105ad5cb75ce0bfc286a8b18ac3 (patch)
treeaa23f91b9214f1629b7cce943dc66ba786ab952c /stoc
parentINTEGRATION: CWS warnings01 (1.19.8); FILE MERGED (diff)
downloadcore-59afebca3709a105ad5cb75ce0bfc286a8b18ac3.tar.gz
core-59afebca3709a105ad5cb75ce0bfc286a8b18ac3.zip
INTEGRATION: CWS warnings01 (1.6.18); FILE MERGED
2005/11/09 18:49:41 pl 1.6.18.4: #i53898# removed warnings 2005/10/31 14:38:11 sb 1.6.18.3: #i53898# Made code warning-free. 2005/09/22 19:56:41 sb 1.6.18.2: RESYNC: (1.6-1.7); FILE MERGED 2005/09/19 15:23:58 sb 1.6.18.1: #i53898# Made code warning-free.
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/security/access_controller.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/stoc/source/security/access_controller.cxx b/stoc/source/security/access_controller.cxx
index 01b24324d5c0..cf696dfec9c9 100644
--- a/stoc/source/security/access_controller.cxx
+++ b/stoc/source/security/access_controller.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: access_controller.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 08:09:16 $
+ * last change: $Author: hr $ $Date: 2006-06-20 00:05:10 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -419,7 +419,7 @@ class AccessController
SAL_THROW( (RuntimeException) );
// mode
- enum mode { OFF, ON, DYNAMIC_ONLY, SINGLE_USER, SINGLE_DEFAULT_USER } m_mode;
+ enum Mode { OFF, ON, DYNAMIC_ONLY, SINGLE_USER, SINGLE_DEFAULT_USER } m_mode;
PermissionCollection m_defaultPermissions;
// for single-user mode
@@ -845,6 +845,8 @@ PermissionCollection AccessController::getEffectivePermissions(
#endif
break;
}
+ default:
+ break;
}
// check postponed
@@ -1088,7 +1090,7 @@ sal_Bool SAL_CALL component_canUnload( TimeValue * time )
}
//==================================================================================================
void SAL_CALL component_getImplementationEnvironment(
- sal_Char const ** ppEnvTypeName, uno_Environment ** ppEnv )
+ sal_Char const ** ppEnvTypeName, uno_Environment ** )
{
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}