diff options
author | Rüdiger Timm <rt@openoffice.org> | 2001-07-20 13:32:03 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2001-07-20 13:32:03 +0000 |
commit | 1445b5b827e3258ab1fe0845392415020b8198ef (patch) | |
tree | f5768134ff0ad7bf6d5d2830b100217a582645b1 /configmgr | |
parent | 3322ff05b9e3decdd7cd728cc35b7593acd53ffe (diff) |
#87576# these functions have to be void
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/misc/anypair.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/configmgr/source/misc/anypair.cxx b/configmgr/source/misc/anypair.cxx index f4bb718d67fb..ca5ee575895d 100644 --- a/configmgr/source/misc/anypair.cxx +++ b/configmgr/source/misc/anypair.cxx @@ -2,9 +2,9 @@ * * $RCSfile: anypair.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: jb $ $Date: 2001-07-17 16:21:16 $ + * last change: $Author: rt $ $Date: 2001-07-20 14:32:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -113,7 +113,7 @@ namespace configmgr } // ----------------------------------------------------------------------------- - static inline void * impl_setDataPointer(cfgmgr_AnyPair_Data * _pAnyPairData, void* _pData) + static inline void impl_setDataPointer(cfgmgr_AnyPair_Data * _pAnyPairData, void* _pData) { *_pAnyPairData = _pData; } @@ -121,7 +121,7 @@ namespace configmgr static const unsigned SHIFT_DATA_FLAG = 4; // ----------------------------------------------------------------------------- static - inline bool impl_state_setState(cfgmgr_SelectorType* _pState, cfgmgr_SelectorType _nState, cfgmgr_SelectorType _nSelect) + inline void impl_state_setState(cfgmgr_SelectorType* _pState, cfgmgr_SelectorType _nState, cfgmgr_SelectorType _nSelect) { cfgmgr_SelectorType const nSelectMask = _nSelect | (_nSelect<<SHIFT_DATA_FLAG); OSL_ENSURE( (_nState & nSelectMask) == _nState, "State specified does not belong to the selector"); @@ -132,7 +132,7 @@ namespace configmgr // ----------------------------------------------------------------------------- static - inline bool impl_state_setNull(cfgmgr_SelectorType* _pState, cfgmgr_SelectorType _nSelect) + inline void impl_state_setNull(cfgmgr_SelectorType* _pState, cfgmgr_SelectorType _nSelect) { cfgmgr_SelectorType const nSelectMask = _nSelect | (_nSelect<<SHIFT_DATA_FLAG); *_pState &= ~nSelectMask; @@ -140,7 +140,7 @@ namespace configmgr // ----------------------------------------------------------------------------- static - inline bool impl_state_setPtr(cfgmgr_SelectorType* _pState, cfgmgr_SelectorType _nSelect) + inline void impl_state_setPtr(cfgmgr_SelectorType* _pState, cfgmgr_SelectorType _nSelect) { *_pState &= ~(_nSelect<<SHIFT_DATA_FLAG); *_pState |= _nSelect; @@ -148,7 +148,7 @@ namespace configmgr // ----------------------------------------------------------------------------- static inline - bool impl_state_setData(cfgmgr_SelectorType* _pState, cfgmgr_SelectorType _nSelect) + void impl_state_setData(cfgmgr_SelectorType* _pState, cfgmgr_SelectorType _nSelect) { cfgmgr_SelectorType const nSelectMask = _nSelect | (_nSelect<<SHIFT_DATA_FLAG); *_pState |= nSelectMask; @@ -156,7 +156,7 @@ namespace configmgr // ----------------------------------------------------------------------------- static inline - bool impl_state_setValue(cfgmgr_SelectorType* _pState, cfgmgr_SelectorType _nSelect, bool _bStoresData) + void impl_state_setValue(cfgmgr_SelectorType* _pState, cfgmgr_SelectorType _nSelect, bool _bStoresData) { *_pState |= _nSelect; |