diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2023-05-03 22:58:47 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2023-05-09 08:25:53 +0200 |
commit | 8bafae3656f7a0a6b74bb0985403a96f9a3f61be (patch) | |
tree | 41d874ea7223f3e59e672d9feb61f4415058055d /oox/qa | |
parent | 5c5d0c4858a123c6aa1dbadcdfd96641eb91283b (diff) |
change model::ColorSet to be stored in a shared_ptr in model::Theme
Change-Id: Ic3067f1681c047cd944e64179c568f4e972e0c95
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151447
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'oox/qa')
-rw-r--r-- | oox/qa/unit/drawingml.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/qa/unit/drawingml.cxx b/oox/qa/unit/drawingml.cxx index 8d5627a16cdc..14e9321562ee 100644 --- a/oox/qa/unit/drawingml.cxx +++ b/oox/qa/unit/drawingml.cxx @@ -400,10 +400,10 @@ CPPUNIT_TEST_FIXTURE(OoxDrawingmlTest, testPptxTheme) auto pTheme = pUnoTheme->getTheme(); CPPUNIT_ASSERT_EQUAL(OUString("Office Theme"), pTheme->GetName()); - CPPUNIT_ASSERT_EQUAL(OUString("Office"), pTheme->GetColorSet()->getName()); + CPPUNIT_ASSERT_EQUAL(OUString("Office"), pTheme->getColorSet()->getName()); CPPUNIT_ASSERT_EQUAL(Color(0x954F72), - pTheme->GetColorSet()->getColor(model::ThemeColorType::FollowedHyperlink)); + pTheme->getColorSet()->getColor(model::ThemeColorType::FollowedHyperlink)); // Check the reference to that theme: uno::Reference<drawing::XShapes> xDrawPageShapes(xDrawPage, uno::UNO_QUERY); |