summaryrefslogtreecommitdiff
path: root/TAO/tests/CodeSets
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2010-09-08 13:25:56 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2010-09-08 13:25:56 +0000
commit6da6a5a3ddf69472767335eb14a6dd72003d2544 (patch)
treeb9d9c42760b2fd44f66be3d911ddfbcce06eb3fc /TAO/tests/CodeSets
parent8f97e7ac397b255bb059a5353ab210762b608c27 (diff)
downloadATCD-6da6a5a3ddf69472767335eb14a6dd72003d2544.tar.gz
Wed Sep 8 13:14:03 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>
* *.cpp: Removed RCS_ID
Diffstat (limited to 'TAO/tests/CodeSets')
-rw-r--r--TAO/tests/CodeSets/libs/IBM1047_ISO8859/Char_IBM1047_ISO8859_Translator.cpp8
-rw-r--r--TAO/tests/CodeSets/libs/IBM1047_ISO8859/Wchar_IBM1047_ISO8859_Translator.cpp2
-rw-r--r--TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16.cpp10
-rw-r--r--TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16_Factory.cpp3
4 files changed, 7 insertions, 16 deletions
diff --git a/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Char_IBM1047_ISO8859_Translator.cpp b/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Char_IBM1047_ISO8859_Translator.cpp
index 4c9d5479957..b4c14d41fae 100644
--- a/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Char_IBM1047_ISO8859_Translator.cpp
+++ b/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Char_IBM1047_ISO8859_Translator.cpp
@@ -22,10 +22,6 @@
#include "ace/OS_Memory.h"
#include "ace/OS_NS_string.h"
-ACE_RCSID (IBM1047_ISO8859,
- Char_IBM1047_ISO8859_Translator,
- "$Id$")
-
// ****************************************************************
IBM1047_ISO8859::IBM1047_ISO8859 (void)
@@ -84,7 +80,7 @@ IBM1047_ISO8859::read_char_array (ACE_InputCDR& in,
ACE_CDR::OCTET_ALIGN,
len))
{
- for (ACE_CDR::ULong i = 0; i != len; ++i)
+ for (ACE_CDR::ULong i = 0; i != len; ++i)
{
x[i] = (unsigned char)to_IBM1047[(unsigned char)x[i]];
}
@@ -127,7 +123,7 @@ IBM1047_ISO8859::write_char_array (ACE_OutputCDR& out,
{
ACE_OS::memcpy (buf, x, len);
- for (ACE_CDR::ULong i = 0; i != len; ++i)
+ for (ACE_CDR::ULong i = 0; i != len; ++i)
{
buf[i] = (unsigned char)from_IBM1047[(unsigned char)buf[i]];
}
diff --git a/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Wchar_IBM1047_ISO8859_Translator.cpp b/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Wchar_IBM1047_ISO8859_Translator.cpp
index 7958ddbfa58..a6eb5a8d1d3 100644
--- a/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Wchar_IBM1047_ISO8859_Translator.cpp
+++ b/TAO/tests/CodeSets/libs/IBM1047_ISO8859/Wchar_IBM1047_ISO8859_Translator.cpp
@@ -20,8 +20,6 @@
#include "Wchar_IBM1047_ISO8859_Translator.h"
-ACE_RCSID(IBM1047_ISO8859, Wchar_IBM1047_ISO8859_Translator, "$Id$")
-
// ****************************************************************
WIBM1047_ISO8859::WIBM1047_ISO8859 (void)
diff --git a/TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16.cpp b/TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16.cpp
index f63c6e541d3..3fbe805145d 100644
--- a/TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16.cpp
+++ b/TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16.cpp
@@ -21,8 +21,6 @@
#include "WUCS4_UTF16.h"
#include "ace/OS.h"
-ACE_RCSID(UCS4_UTF16, WUCS4_UTF16, "$Id$")
-
// ****************************************************************
@@ -500,7 +498,7 @@ WUCS4_UTF16::write_wstring (ACE_OutputCDR & cdr,
ACE_UTF16_T bom = ACE_UNICODE_BOM_CORRECT;
ACE_CDR::ULong length = len + count_potential_surrogates (x, len);
ACE_CDR::ULong l = length * ACE_UTF16_CODEPOINT_SIZE;
-
+
if (this->write_4 (cdr, &l) && x != 0)
{
this->write_2 (cdr, &bom);
@@ -510,21 +508,21 @@ WUCS4_UTF16::write_wstring (ACE_OutputCDR & cdr,
else
{
ACE_CDR::ULong l = len + 1;
-
+
if (this->write_4 (cdr, &l))
{
if (x != 0)
{
return this->write_wchar_array (cdr, x, len + 1);
}
- else
+ else
{
ACE_UTF16_T s = 0;
return this->write_2 (cdr, &s);
}
}
}
-
+
return 0;
}
diff --git a/TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16_Factory.cpp b/TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16_Factory.cpp
index 17c3de41513..fa625d9c229 100644
--- a/TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16_Factory.cpp
+++ b/TAO/tests/CodeSets/libs/UCS4_UTF16/WUCS4_UTF16_Factory.cpp
@@ -1,9 +1,8 @@
// -*- C++ -*-
+// $Id$
#include "WUCS4_UTF16_Factory.h"
-ACE_RCSID(UCS4_UTF16, WUCS4_UTF16_Factory, "$Id$")
-
ACE_STATIC_SVC_DEFINE (WUCS4_UTF16_Factory,
ACE_TEXT ("WUCS4_UTF16_Factory"),
ACE_SVC_OBJ_T,