From 31ca64f91ecf9baebfdb7f43b5583460964c25c3 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Fri, 28 Jan 2011 23:41:08 +0100 Subject: Remove double line spacing and correct indentation --- codemaker/source/cppumaker/includes.hxx | 22 ++-------------------- codemaker/source/javamaker/classfile.hxx | 25 ------------------------- 2 files changed, 2 insertions(+), 45 deletions(-) (limited to 'codemaker') diff --git a/codemaker/source/cppumaker/includes.hxx b/codemaker/source/cppumaker/includes.hxx index 887faac10484..075e63057614 100644 --- a/codemaker/source/cppumaker/includes.hxx +++ b/codemaker/source/cppumaker/includes.hxx @@ -46,43 +46,25 @@ public: ~Includes(); void add(rtl::OString const & registryType); - void addAny() { m_includeAny = true; } - void addReference() { m_includeReference = true; } - void addSequence() { m_includeSequence = true; } - void addType() { m_includeType = true; } - void addCppuMacrosHxx() { m_includeCppuMacrosHxx = true; } - void addCppuUnotypeHxx() { m_includeCppuUnotypeHxx = true; } - void addOslDoublecheckedlockingH() - { m_includeOslDoublecheckedlockingH = true; } - + { m_includeOslDoublecheckedlockingH = true; } void addOslMutexHxx() { m_includeOslMutexHxx = true; } - void addRtlStrbufHxx() { m_includeRtlStrbufHxx = true; } - void addRtlStringH() { m_includeRtlStringH = true; } - void addRtlTextencH() { m_includeRtlTextencH = true; } - void addRtlUstrbufHxx() { m_includeRtlUstrbufHxx = true; } - void addRtlUstringH() { m_includeRtlUstringH = true; } - void addRtlUstringHxx() { m_includeRtlUstringHxx = true; } - void addSalTypesH() { m_includeSalTypesH = true; } - void addTypelibTypeclassH() { m_includeTypelibTypeclassH = true; } - void addTypelibTypedescriptionH() - { m_includeTypelibTypedescriptionH = true; } - + { m_includeTypelibTypedescriptionH = true; } void dump(FileStream & out, rtl::OString const * companionHdl); static void dumpInclude( diff --git a/codemaker/source/javamaker/classfile.hxx b/codemaker/source/javamaker/classfile.hxx index 57986a70aa18..974a827b0c81 100644 --- a/codemaker/source/javamaker/classfile.hxx +++ b/codemaker/source/javamaker/classfile.hxx @@ -64,17 +64,11 @@ public: ~Code(); void instrAastore(); - void instrAconstNull(); - void instrAnewarray(rtl::OString const & type); - void instrAreturn(); - void instrAthrow(); - void instrCheckcast(rtl::OString const & type); - void instrDup(); void instrGetstatic( @@ -82,9 +76,7 @@ public: rtl::OString const & descriptor); Branch instrIfAcmpne(); - Branch instrIfeq(); - Branch instrIfnull(); void instrInstanceof(rtl::OString const & type); @@ -110,9 +102,7 @@ public: std::list< std::pair< sal_Int32, Code * > > const & blocks); void instrNew(rtl::OString const & type); - void instrNewarray(codemaker::UnoType::Sort sort); - void instrPop(); void instrPutfield( @@ -124,7 +114,6 @@ public: rtl::OString const & descriptor); void instrReturn(); - void instrSwap(); void instrTableswitch( @@ -132,21 +121,13 @@ public: std::list< Code * > const & blocks); void loadIntegerConstant(sal_Int32 value); - void loadStringConstant(rtl::OString const & value); - void loadLocalInteger(sal_uInt16 index); - void loadLocalLong(sal_uInt16 index); - void loadLocalFloat(sal_uInt16 index); - void loadLocalDouble(sal_uInt16 index); - void loadLocalReference(sal_uInt16 index); - void storeLocalReference(sal_uInt16 index); - void branchHere(Branch branch); void addException( @@ -188,11 +169,8 @@ public: Code * newCode(); sal_uInt16 addIntegerInfo(sal_Int32 value); - sal_uInt16 addFloatInfo(float value); - sal_uInt16 addLongInfo(sal_Int64 value); - sal_uInt16 addDoubleInfo(double value); void addInterface(rtl::OString const & interface); @@ -217,11 +195,8 @@ private: void operator =(ClassFile); // not implemented sal_uInt16 nextConstantPoolIndex(sal_uInt16 width); - sal_uInt16 addUtf8Info(rtl::OString const & value); - sal_uInt16 addClassInfo(rtl::OString const & type); - sal_uInt16 addStringInfo(rtl::OString const & value); sal_uInt16 addFieldrefInfo( -- cgit