diff options
-rw-r--r-- | codemaker/source/cppumaker/cpputype.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx index 6252a0ec603b..dd6476ff9f89 100644 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -1162,6 +1162,12 @@ void InterfaceType::dumpDeclaration(FileStream & out) } out << "\n{\npublic:\n"; inc(); + out << "#if defined LIBO_INTERNAL_ONLY\n" + << indent() << id_ << "() = default;\n" + << indent() << id_ << "(" << id_ << " const &) = default;\n" + << indent() << id_ << "(" << id_ << " &&) = default;\n" + << indent() << id_ << " & operator =(" << id_ << " const &) = default;\n" + << indent() << id_ << " & operator =(" << id_ << " &&) = default;\n#endif\n\n"; dumpAttributes(out); dumpMethods(out); out << "\n" << indent() |