summaryrefslogtreecommitdiff
path: root/idlc/source/astdump.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/astdump.cxx')
-rw-r--r--idlc/source/astdump.cxx38
1 files changed, 19 insertions, 19 deletions
diff --git a/idlc/source/astdump.cxx b/idlc/source/astdump.cxx
index cf8f33edbc9a..314122c462d0 100644
--- a/idlc/source/astdump.cxx
+++ b/idlc/source/astdump.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -56,21 +56,21 @@ sal_Bool AstModule::dump(RegistryKey& rKey)
{
if (rKey.createKey( OStringToOUString(getFullName(), RTL_TEXTENCODING_UTF8 ), localKey))
{
- fprintf(stderr, "%s: warning, could not create key '%s' in '%s'\n",
+ fprintf(stderr, "%s: warning, could not create key '%s' in '%s'\n",
idlc()->getOptions()->getProgramName().getStr(),
getFullName().getStr(), OUStringToOString(rKey.getRegistryName(), RTL_TEXTENCODING_UTF8).getStr());
return sal_False;
}
}
- sal_uInt16 nConst = getNodeCount(NT_const);
+ sal_uInt16 nConst = getNodeCount(NT_const);
if ( nConst > 0 )
{
RTTypeClass typeClass = RT_TYPE_MODULE;
if ( getNodeType() == NT_constants )
typeClass = RT_TYPE_CONSTANTS;
-
+
typereg::Writer aBlob(
m_bPublished ? TYPEREG_VERSION_1 : TYPEREG_VERSION_0,
getDocumentation(), emptyStr, typeClass,
@@ -98,14 +98,14 @@ sal_Bool AstModule::dump(RegistryKey& rKey)
sal_uInt32 aBlobSize;
void const * pBlob = aBlob.getBlob(&aBlobSize);
- if (localKey.setValue(emptyStr, RG_VALUETYPE_BINARY,
+ if (localKey.setValue(emptyStr, RG_VALUETYPE_BINARY,
(RegValue)pBlob, aBlobSize))
{
- fprintf(stderr, "%s: warning, could not set value of key \"%s\" in %s\n",
+ fprintf(stderr, "%s: warning, could not set value of key \"%s\" in %s\n",
idlc()->getOptions()->getProgramName().getStr(),
getFullName().getStr(), OUStringToOString(localKey.getRegistryName(), RTL_TEXTENCODING_UTF8).getStr());
return sal_False;
- }
+ }
} else
{
RTTypeClass typeClass = RT_TYPE_MODULE;
@@ -123,14 +123,14 @@ sal_Bool AstModule::dump(RegistryKey& rKey)
if ( getNodeType() != NT_root )
{
- if (localKey.setValue(emptyStr, RG_VALUETYPE_BINARY,
+ if (localKey.setValue(emptyStr, RG_VALUETYPE_BINARY,
(RegValue)pBlob, aBlobSize))
{
- fprintf(stderr, "%s: warning, could not set value of key \"%s\" in %s\n",
+ fprintf(stderr, "%s: warning, could not set value of key \"%s\" in %s\n",
idlc()->getOptions()->getProgramName().getStr(),
getFullName().getStr(), OUStringToOString(localKey.getRegistryName(), RTL_TEXTENCODING_UTF8).getStr());
return sal_False;
- }
+ }
}
}
if ( getNodeType() == NT_root )
@@ -138,7 +138,7 @@ sal_Bool AstModule::dump(RegistryKey& rKey)
localKey.releaseKey();
}
return AstDeclaration::dump(rKey);
-}
+}
sal_Bool AstTypeDef::dump(RegistryKey& rKey)
{
@@ -146,7 +146,7 @@ sal_Bool AstTypeDef::dump(RegistryKey& rKey)
RegistryKey localKey;
if (rKey.createKey( OStringToOUString(getFullName(), RTL_TEXTENCODING_UTF8 ), localKey))
{
- fprintf(stderr, "%s: warning, could not create key '%s' in '%s'\n",
+ fprintf(stderr, "%s: warning, could not create key '%s' in '%s'\n",
idlc()->getOptions()->getProgramName().getStr(),
getFullName().getStr(), OUStringToOString(rKey.getRegistryName(), RTL_TEXTENCODING_UTF8).getStr());
return sal_False;
@@ -166,14 +166,14 @@ sal_Bool AstTypeDef::dump(RegistryKey& rKey)
if (localKey.setValue(emptyStr, RG_VALUETYPE_BINARY, (RegValue)pBlob, aBlobSize))
{
- fprintf(stderr, "%s: warning, could not set value of key \"%s\" in %s\n",
+ fprintf(stderr, "%s: warning, could not set value of key \"%s\" in %s\n",
idlc()->getOptions()->getProgramName().getStr(),
getFullName().getStr(), OUStringToOString(localKey.getRegistryName(), RTL_TEXTENCODING_UTF8).getStr());
return sal_False;
}
return sal_True;
-}
+}
sal_Bool AstService::dump(RegistryKey& rKey)
{
@@ -361,7 +361,7 @@ sal_Bool AstAttribute::dumpBlob(
if (isReadonly())
{
- accessMode |= RT_ACCESS_READONLY;
+ accessMode |= RT_ACCESS_READONLY;
} else
{
accessMode |= RT_ACCESS_READWRITE;
@@ -412,7 +412,7 @@ sal_Bool AstAttribute::dumpBlob(
methodIndex);
return sal_True;
-}
+}
void AstAttribute::dumpExceptions(
typereg::Writer & writer, rtl::OUString const & documentation,
@@ -440,7 +440,7 @@ void AstAttribute::dumpExceptions(
}
}
-const sal_Char* AstSequence::getRelativName() const
+const sal_Char* AstSequence::getRelativName() const
{
if ( !m_pRelativName )
{
@@ -448,8 +448,8 @@ const sal_Char* AstSequence::getRelativName() const
AstDeclaration const * pType = resolveTypedefs( m_pMemberType );
*m_pRelativName += pType->getRelativName();
}
-
+
return m_pRelativName->getStr();
-}
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */