summaryrefslogtreecommitdiff
path: root/docmodel/source/theme
diff options
context:
space:
mode:
Diffstat (limited to 'docmodel/source/theme')
-rw-r--r--docmodel/source/theme/Theme.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/docmodel/source/theme/Theme.cxx b/docmodel/source/theme/Theme.cxx
index 0f8ff8002870..5f755b0774a3 100644
--- a/docmodel/source/theme/Theme.cxx
+++ b/docmodel/source/theme/Theme.cxx
@@ -29,6 +29,13 @@ Theme::Theme(OUString const& rName)
{
}
+Theme::Theme(Theme const& rTheme)
+ : maName(rTheme.maName)
+ , mpColorSet(new ColorSet(*rTheme.GetColorSet()))
+ , maFontScheme(rTheme.maFontScheme)
+{
+}
+
void Theme::SetColorSet(std::unique_ptr<model::ColorSet> pColorSet)
{
mpColorSet = std::move(pColorSet);