summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-30 10:42:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-30 11:35:57 +0100
commit3e70dad692cd6ed6a8ed0a87da883429222dabbd (patch)
treef00945766bb0344c9d2d5a2e384f123d1ac8e3b5
parent593daad2162b994e6b6f2c3c135391ca3f04d0af (diff)
callcatcher: unused writeU1
-rw-r--r--codemaker/source/javamaker/classfile.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/codemaker/source/javamaker/classfile.cxx b/codemaker/source/javamaker/classfile.cxx
index 4f6f6755c..bd9d9b7e0 100644
--- a/codemaker/source/javamaker/classfile.cxx
+++ b/codemaker/source/javamaker/classfile.cxx
@@ -90,11 +90,6 @@ void write(FileStream & file, void const * buffer, sal_uInt64 size) {
}
}
-void writeU1(FileStream & file, sal_uInt8 data) {
- unsigned char buf[] = { static_cast< unsigned char >(data) };
- write(file, &buf, sizeof buf);
-}
-
void writeU2(FileStream & file, sal_uInt16 data) {
unsigned char buf[] = {
static_cast< unsigned char >(data >> 8),