diff options
Diffstat (limited to 'codemaker/source/cppumaker/includes.cxx')
-rw-r--r-- | codemaker/source/cppumaker/includes.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/codemaker/source/cppumaker/includes.cxx b/codemaker/source/cppumaker/includes.cxx index 02021e660522..96e8313906d3 100644 --- a/codemaker/source/cppumaker/includes.cxx +++ b/codemaker/source/cppumaker/includes.cxx @@ -60,6 +60,7 @@ Includes::Includes( m_includeRtlTextencH(false), m_includeRtlUstrbufHxx(false), m_includeRtlUstringH(false), m_includeRtlUstringHxx(dependencies.hasStringDependency()), + m_includeRtlInstanceHxx(false), m_includeSalTypesH( dependencies.hasBooleanDependency() || dependencies.hasByteDependency() || dependencies.hasShortDependency() @@ -250,6 +251,10 @@ void Includes::dump(FileStream & out, rtl::OString const * companionHdl) { dumpEmptyLineBeforeFirst(out, &first); out << ("#include \"rtl/ustring.hxx\"\n"); } + if (m_includeRtlInstanceHxx) { + dumpEmptyLineBeforeFirst(out, &first); + out << "#include \"rtl/instance.hxx\"\n"; + } if (m_includeSalTypesH) { dumpEmptyLineBeforeFirst(out, &first); out << "#include \"sal/types.h\"\n"; |