From 19ebfdbadc214ea3f8dc27d926ce46674b1f184c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 24 Jun 2016 11:30:08 +0200 Subject: loplugin:singlevalfields in codemaker Change-Id: I77e6ed891f4712aadb9085549d7699435c2da558 --- codemaker/source/cppumaker/includes.cxx | 6 +----- codemaker/source/cppumaker/includes.hxx | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'codemaker') diff --git a/codemaker/source/cppumaker/includes.cxx b/codemaker/source/cppumaker/includes.cxx index 500f8e99ca5e..0b5bc23f555c 100644 --- a/codemaker/source/cppumaker/includes.cxx +++ b/codemaker/source/cppumaker/includes.cxx @@ -46,7 +46,7 @@ Includes::Includes( m_includeSequence(dependencies.hasSequenceDependency()), m_includeType(dependencies.hasTypeDependency()), m_includeCppuMacrosHxx(false), m_includeCppuUnotypeHxx(false), - m_includeOslDoublecheckedlockingH(false), m_includeOslMutexHxx(false), + m_includeOslMutexHxx(false), m_includeRtlStrbufHxx(false), m_includeRtlStringH(false), m_includeRtlTextencH(false), m_includeRtlUstrbufHxx(false), m_includeRtlUstringH(false), @@ -210,10 +210,6 @@ void Includes::dump(FileStream & out, OUString const * companionHdl) { dumpEmptyLineBeforeFirst(out, &first); out << ("#include \"cppu/unotype.hxx\"\n"); } - if (m_includeOslDoublecheckedlockingH) { - dumpEmptyLineBeforeFirst(out, &first); - out << ("#include \"osl/doublecheckedlocking.h\"\n"); - } if (m_includeOslMutexHxx) { dumpEmptyLineBeforeFirst(out, &first); out << "#include \"osl/mutex.hxx\"\n"; diff --git a/codemaker/source/cppumaker/includes.hxx b/codemaker/source/cppumaker/includes.hxx index e08923c2765b..2a76529259cd 100644 --- a/codemaker/source/cppumaker/includes.hxx +++ b/codemaker/source/cppumaker/includes.hxx @@ -81,7 +81,6 @@ private: bool m_includeType; bool m_includeCppuMacrosHxx; bool m_includeCppuUnotypeHxx; - bool m_includeOslDoublecheckedlockingH; bool m_includeOslMutexHxx; bool m_includeRtlStrbufHxx; bool m_includeRtlStringH; -- cgit