[Libreoffice-commits] core.git: codemaker/source

Noel Grandin noel at peralex.com
Fri Jun 24 09:30:57 UTC 2016


 codemaker/source/cppumaker/includes.cxx |    6 +-----
 codemaker/source/cppumaker/includes.hxx |    1 -
 2 files changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 19ebfdbadc214ea3f8dc27d926ce46674b1f184c
Author: Noel Grandin <noel at peralex.com>
Date:   Fri Jun 24 11:30:08 2016 +0200

    loplugin:singlevalfields in codemaker
    
    Change-Id: I77e6ed891f4712aadb9085549d7699435c2da558

diff --git a/codemaker/source/cppumaker/includes.cxx b/codemaker/source/cppumaker/includes.cxx
index 500f8e9..0b5bc23 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 e08923c..2a76529 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;


More information about the Libreoffice-commits mailing list