CWS-TOOLING: integrate CWS cmcfixes49
This commit is contained in:
parent
8f9181922c
commit
1a784f6768
@ -7,7 +7,7 @@
|
||||
* OpenOffice.org - a multi-platform office productivity suite
|
||||
*
|
||||
* $RCSfile: astattribute.hxx,v $
|
||||
* $Revision: 1.6 $
|
||||
* $Revision: 1.6.16.1 $
|
||||
*
|
||||
* This file is part of OpenOffice.org.
|
||||
*
|
||||
@ -80,27 +80,27 @@ public:
|
||||
|
||||
AstType const * getType() const
|
||||
{ return m_pType; }
|
||||
const sal_Bool isReadonly()
|
||||
sal_Bool isReadonly() const
|
||||
{ return ((m_flags & AF_READONLY) == AF_READONLY); }
|
||||
const sal_Bool isOptional()
|
||||
sal_Bool isOptional() const
|
||||
{ return ((m_flags & AF_OPTIONAL) == AF_OPTIONAL); }
|
||||
const sal_Bool isAttribute()
|
||||
sal_Bool isAttribute() const
|
||||
{ return ((m_flags & AF_ATTRIBUTE) == AF_ATTRIBUTE); }
|
||||
const sal_Bool isProperty()
|
||||
sal_Bool isProperty() const
|
||||
{ return ((m_flags & AF_PROPERTY) == AF_PROPERTY); }
|
||||
const sal_Bool isBound()
|
||||
sal_Bool isBound() const
|
||||
{ return ((m_flags & AF_BOUND) == AF_BOUND); }
|
||||
const sal_Bool isMayBeVoid()
|
||||
sal_Bool isMayBeVoid() const
|
||||
{ return ((m_flags & AF_MAYBEVOID) == AF_MAYBEVOID); }
|
||||
const sal_Bool isConstrained()
|
||||
sal_Bool isConstrained() const
|
||||
{ return ((m_flags & AF_CONSTRAINED) == AF_CONSTRAINED); }
|
||||
const sal_Bool isTransient()
|
||||
sal_Bool isTransient() const
|
||||
{ return ((m_flags & AF_TRANSIENT) == AF_TRANSIENT); }
|
||||
const sal_Bool isMayBeAmbiguous()
|
||||
sal_Bool isMayBeAmbiguous() const
|
||||
{ return ((m_flags & AF_MAYBEAMBIGUOUS) == AF_MAYBEAMBIGUOUS); }
|
||||
const sal_Bool isMayBeDefault()
|
||||
sal_Bool isMayBeDefault() const
|
||||
{ return ((m_flags & AF_MAYBEDEFAULT) == AF_MAYBEDEFAULT); }
|
||||
const sal_Bool isRemoveable()
|
||||
sal_Bool isRemoveable() const
|
||||
{ return ((m_flags & AF_REMOVEABLE) == AF_REMOVEABLE); }
|
||||
|
||||
sal_Bool dumpBlob(
|
||||
|
@ -7,7 +7,7 @@
|
||||
* OpenOffice.org - a multi-platform office productivity suite
|
||||
*
|
||||
* $RCSfile: astbasetype.hxx,v $
|
||||
* $Revision: 1.5 $
|
||||
* $Revision: 1.5.16.1 $
|
||||
*
|
||||
* This file is part of OpenOffice.org.
|
||||
*
|
||||
@ -55,7 +55,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
const ExprType getExprType() const
|
||||
ExprType getExprType() const
|
||||
{ return m_exprType; }
|
||||
private:
|
||||
const ExprType m_exprType;
|
||||
|
@ -7,7 +7,7 @@
|
||||
* OpenOffice.org - a multi-platform office productivity suite
|
||||
*
|
||||
* $RCSfile: astconstant.hxx,v $
|
||||
* $Revision: 1.5 $
|
||||
* $Revision: 1.5.16.1 $
|
||||
*
|
||||
* This file is part of OpenOffice.org.
|
||||
*
|
||||
@ -46,7 +46,7 @@ public:
|
||||
|
||||
AstExpression* getConstValue()
|
||||
{ return m_pConstValue; }
|
||||
const ExprType getConstValueType()
|
||||
ExprType getConstValueType() const
|
||||
{ return m_constValueType; }
|
||||
|
||||
sal_Bool dumpBlob(
|
||||
|
@ -7,7 +7,7 @@
|
||||
* OpenOffice.org - a multi-platform office productivity suite
|
||||
*
|
||||
* $RCSfile: astscope.hxx,v $
|
||||
* $Revision: 1.7 $
|
||||
* $Revision: 1.7.16.1 $
|
||||
*
|
||||
* This file is part of OpenOffice.org.
|
||||
*
|
||||
@ -42,7 +42,7 @@ public:
|
||||
AstScope(NodeType nodeType);
|
||||
virtual ~AstScope();
|
||||
|
||||
const NodeType getScopeNodeType()
|
||||
NodeType getScopeNodeType() const
|
||||
{ return m_nodeType; }
|
||||
|
||||
virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl);
|
||||
|
@ -7,7 +7,7 @@
|
||||
* OpenOffice.org - a multi-platform office productivity suite
|
||||
*
|
||||
* $RCSfile: scanner.ll,v $
|
||||
* $Revision: 1.16 $
|
||||
* $Revision: 1.16.16.1 $
|
||||
*
|
||||
* This file is part of OpenOffice.org.
|
||||
*
|
||||
@ -189,7 +189,7 @@ static double asciiToFloat(const sal_Char *s)
|
||||
}
|
||||
if (e > 0)
|
||||
{
|
||||
for (k = 1; e > 0; k *= 10, e--);
|
||||
for (k = 1; e > 0; k *= 10, e--) ;
|
||||
if (negexp)
|
||||
d /= k;
|
||||
else
|
||||
@ -223,9 +223,9 @@ static void parseLineAndFile(sal_Char* pBuf)
|
||||
return;
|
||||
|
||||
/* Find line number */
|
||||
for (r++; *r == ' ' || *r == '\t' || isalpha(*r); r++);
|
||||
for (r++; *r == ' ' || *r == '\t' || isalpha(*r); r++) ;
|
||||
h = r;
|
||||
for (; *r != '\0' && *r != ' ' && *r != '\t'; r++);
|
||||
for (; *r != '\0' && *r != ' ' && *r != '\t'; r++) ;
|
||||
*r++ = 0;
|
||||
idlc()->setLineNumber((sal_uInt32)atol(h));
|
||||
|
||||
@ -236,7 +236,7 @@ static void parseLineAndFile(sal_Char* pBuf)
|
||||
return;
|
||||
}
|
||||
h = ++r;
|
||||
for (; *r != '"'; r++);
|
||||
for (; *r != '"'; r++) ;
|
||||
*r = 0;
|
||||
if (*h == '\0')
|
||||
idlc()->setFileName(::rtl::OString("standard input"));
|
||||
|
@ -7,7 +7,7 @@
|
||||
* OpenOffice.org - a multi-platform office productivity suite
|
||||
*
|
||||
* $RCSfile: registry.h,v $
|
||||
* $Revision: 1.4 $
|
||||
* $Revision: 1.4.8.1 $
|
||||
*
|
||||
* This file is part of OpenOffice.org.
|
||||
*
|
||||
@ -126,7 +126,7 @@ RegError REGISTRY_CALLTYPE reg_closeKey(RegKeyHandle hKey);
|
||||
@param hKey identifies a currently open key which name will be returned.
|
||||
@param pKeyName contains the keyname if succeeds else an empty string.
|
||||
*/
|
||||
const RegError REGISTRY_CALLTYPE reg_getKeyName(RegKeyHandle hKey, rtl_uString** pKeyName);
|
||||
RegError REGISTRY_CALLTYPE reg_getKeyName(RegKeyHandle hKey, rtl_uString** pKeyName);
|
||||
|
||||
|
||||
/** This function sets a value of a key.
|
||||
@ -429,7 +429,7 @@ RegError REGISTRY_CALLTYPE reg_openRootKey(RegHandle hRegistry,
|
||||
@param pName returns the name of the registry if the function succeeds otherwise an empty string.
|
||||
@return REG_NO_ERROR if succeeds else an error code.
|
||||
*/
|
||||
const RegError REGISTRY_CALLTYPE reg_getName(RegHandle hRegistry, rtl_uString** pName);
|
||||
RegError REGISTRY_CALLTYPE reg_getName(RegHandle hRegistry, rtl_uString** pName);
|
||||
|
||||
|
||||
/** This function returns the access mode of the registry.
|
||||
|
@ -605,7 +605,7 @@ RegError REGISTRY_CALLTYPE reg_openRootKey(RegHandle hRegistry,
|
||||
//*********************************************************************
|
||||
// reg_getName
|
||||
//
|
||||
const RegError REGISTRY_CALLTYPE reg_getName(RegHandle hRegistry, rtl_uString** pName)
|
||||
RegError REGISTRY_CALLTYPE reg_getName(RegHandle hRegistry, rtl_uString** pName)
|
||||
{
|
||||
return getName(hRegistry, pName);
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
* OpenOffice.org - a multi-platform office productivity suite
|
||||
*
|
||||
* $RCSfile: regkey.cxx,v $
|
||||
* $Revision: 1.7 $
|
||||
* $Revision: 1.7.8.1 $
|
||||
*
|
||||
* This file is part of OpenOffice.org.
|
||||
*
|
||||
@ -1053,7 +1053,7 @@ RegError REGISTRY_CALLTYPE reg_closeKey(RegKeyHandle hKey)
|
||||
//*********************************************************************
|
||||
// reg_getKeyName
|
||||
//
|
||||
const RegError REGISTRY_CALLTYPE reg_getKeyName(RegKeyHandle hKey, rtl_uString** pKeyName)
|
||||
RegError REGISTRY_CALLTYPE reg_getKeyName(RegKeyHandle hKey, rtl_uString** pKeyName)
|
||||
{
|
||||
if (hKey)
|
||||
{
|
||||
|
@ -7,7 +7,7 @@
|
||||
* OpenOffice.org - a multi-platform office productivity suite
|
||||
*
|
||||
* $RCSfile: sistr.cxx,v $
|
||||
* $Revision: 1.7 $
|
||||
* $Revision: 1.7.10.1 $
|
||||
*
|
||||
* This file is part of OpenOffice.org.
|
||||
*
|
||||
@ -567,7 +567,7 @@ int
|
||||
Simstr::pos_first(char c) const
|
||||
{
|
||||
int i = 0;
|
||||
for (i = 0; i < len ? sz[i] != c : false; i++);
|
||||
for (i = 0; i < len ? sz[i] != c : false; i++) ;
|
||||
if (i >= len)
|
||||
return NO_POS;
|
||||
else
|
||||
@ -581,7 +581,7 @@ Simstr::pos_first_after( char c,
|
||||
int i = 0;
|
||||
if (startSearchPos >= i)
|
||||
i = startSearchPos+1;
|
||||
for (; i < len ? sz[i] != c : false; i++);
|
||||
for (; i < len ? sz[i] != c : false; i++) ;
|
||||
if (i >= len)
|
||||
return NO_POS;
|
||||
else
|
||||
@ -593,7 +593,7 @@ int
|
||||
Simstr::pos_last(char c) const
|
||||
{
|
||||
int i = 0;
|
||||
for (i = len-1; i >= 0 ? sz[i] != c : false; i--);
|
||||
for (i = len-1; i >= 0 ? sz[i] != c : false; i--) ;
|
||||
if (i < 0)
|
||||
return NO_POS;
|
||||
else
|
||||
@ -644,7 +644,7 @@ Simstr::is_no_text() const
|
||||
return true;
|
||||
|
||||
int i;
|
||||
for (i = 0; sz[i] <= 32 && i < len; i++);
|
||||
for (i = 0; sz[i] <= 32 && i < len; i++) ;
|
||||
if (i < len)
|
||||
return false;
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user