use rtl_Instance for the auto-generated local statics
This commit is contained in:
@@ -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";
|
||||
|
Reference in New Issue
Block a user