summaryrefslogtreecommitdiff
path: root/codemaker/source/cppumaker/cpputype.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker/source/cppumaker/cpputype.cxx')
-rw-r--r--codemaker/source/cppumaker/cpputype.cxx6
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()