summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-24 11:30:08 +0200
committerNoel Grandin <noel@peralex.com>2016-06-24 11:30:28 +0200
commit19ebfdbadc214ea3f8dc27d926ce46674b1f184c (patch)
treea7bac1b957ee90035d9fd8819eaa5813352c62f2 /codemaker
parent358bb8eed4383906f5b8773c57aae2325b6ff0e7 (diff)
loplugin:singlevalfields in codemaker
Change-Id: I77e6ed891f4712aadb9085549d7699435c2da558
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/cppumaker/includes.cxx6
-rw-r--r--codemaker/source/cppumaker/includes.hxx1
2 files changed, 1 insertions, 6 deletions
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;