summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2018-07-25 17:00:20 +0300
committerMuhammet Kara <muhammet.kara@pardus.org.tr>2018-07-25 19:28:03 +0200
commit082c7caecef2658920998b0877683f513c35db34 (patch)
treeb1d7645ef96bf2de74a771d46d58081213bc69d0 /codemaker
parent96b338e62c422ccd23cd33b3f87a463730221514 (diff)
Add missing method hasUnsignedLongDependency()
m_unsignedLongDependency was already set but never used. Behavior of Includes::Includes ctor is now in consistency with the related switch cases in Includes::add (see: m_includeSalTypesH) Change-Id: I4cca1bab014ac280b73b7532aadfd5ff2b0b9894 Reviewed-on: https://gerrit.libreoffice.org/57792 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/cppumaker/dependencies.hxx3
-rw-r--r--codemaker/source/cppumaker/includes.cxx2
2 files changed, 4 insertions, 1 deletions
diff --git a/codemaker/source/cppumaker/dependencies.hxx b/codemaker/source/cppumaker/dependencies.hxx
index 718dac392c87..c7eae1dfc6b6 100644
--- a/codemaker/source/cppumaker/dependencies.hxx
+++ b/codemaker/source/cppumaker/dependencies.hxx
@@ -82,6 +82,9 @@ public:
bool hasLongDependency() const { return m_longDependency; }
+ bool hasUnsignedLongDependency() const
+ { return m_unsignedLongDependency; }
+
bool hasHyperDependency() const { return m_hyperDependency; }
bool hasUnsignedHyperDependency() const
diff --git a/codemaker/source/cppumaker/includes.cxx b/codemaker/source/cppumaker/includes.cxx
index ddd541640671..53ca16afcd4d 100644
--- a/codemaker/source/cppumaker/includes.cxx
+++ b/codemaker/source/cppumaker/includes.cxx
@@ -57,7 +57,7 @@ Includes::Includes(
|| dependencies.hasShortDependency()
|| dependencies.hasUnsignedShortDependency()
|| dependencies.hasLongDependency()
- || dependencies.hasUnsignedShortDependency()
+ || dependencies.hasUnsignedLongDependency()
|| dependencies.hasHyperDependency()
|| dependencies.hasUnsignedHyperDependency()
|| dependencies.hasCharDependency()),