summaryrefslogtreecommitdiff
path: root/docmodel
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2023-01-27 15:03:09 +0900
committerTomaž Vajngerl <quikee@gmail.com>2023-02-17 05:23:43 +0000
commit126d0db2c2315565d45e3b0408576d40ab97a443 (patch)
treed4a541c53ad3b9675dc51712f53978f0625bb8d3 /docmodel
parent7ba71ec27f9eca53cf0645d2b6bbfb37155efac4 (diff)
sd: use XTheme to transport the theme to xmloff import/export
Refactor the existing places and tests in Impress code (sd) to use it instead. Also keep the old property of construction and view of the theme with a sequence of property values, but under the new property named "ThemeUnoRepresentation". This is needed by the UI tests currently. Change-Id: I484567f4a603f1a5e2e03955fdd2b63132dcc66e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146225 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 75c0d7827625c683d52a9e2f3a7c514df890107b) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146450 Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'docmodel')
-rw-r--r--docmodel/source/theme/Theme.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/docmodel/source/theme/Theme.cxx b/docmodel/source/theme/Theme.cxx
index 5f755b0774a3..b8fad072144a 100644
--- a/docmodel/source/theme/Theme.cxx
+++ b/docmodel/source/theme/Theme.cxx
@@ -24,6 +24,8 @@ using namespace com::sun::star;
namespace model
{
+Theme::Theme() = default;
+
Theme::Theme(OUString const& rName)
: maName(rName)
{