[Libreoffice-commits] core.git: sd/qa
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed May 6 12:35:07 UTC 2020
sd/qa/unit/dialogs-test.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6bf3517d60272bdec878bb6dde92a47b45a3f866
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed May 6 08:53:51 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed May 6 14:34:26 2020 +0200
make screenshot build failure
Change-Id: I9239bc2789e0c832059704837916881cb5a3756c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93550
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sd/qa/unit/dialogs-test.cxx b/sd/qa/unit/dialogs-test.cxx
index 396e4f9980e6..4eb9d9884481 100644
--- a/sd/qa/unit/dialogs-test.cxx
+++ b/sd/qa/unit/dialogs-test.cxx
@@ -453,7 +453,7 @@ VclPtr<VclAbstractDialog> SdDialogsTest::createDialogByID(sal_uInt32 nID)
// may be nicer on the long run to take a configuration which represents a selected SdrObject
SfxStyleSheetBasePool* pStyleSheetPool = getDocShell()->GetStyleSheetPool();
CPPUNIT_ASSERT(pStyleSheetPool);
- SfxStyleSheetBase* pStyleSheet = pStyleSheetPool->First();
+ SfxStyleSheetBase* pStyleSheet = pStyleSheetPool->First(SfxStyleFamily::Page);
CPPUNIT_ASSERT(pStyleSheet);
vcl::Window* pWin = Application::GetDefDialogParent();
pRetval = getSdAbstractDialogFactory()->CreateSdPresLayoutTemplateDlg(
@@ -482,7 +482,7 @@ VclPtr<VclAbstractDialog> SdDialogsTest::createDialogByID(sal_uInt32 nID)
// may be nicer on the long run to take a configuration which represents a selected SdrObject
SfxStyleSheetBasePool* pStyleSheetPool = getDocShell()->GetStyleSheetPool();
CPPUNIT_ASSERT(pStyleSheetPool);
- SfxStyleSheetBase* pStyleSheet = pStyleSheetPool->First();
+ SfxStyleSheetBase* pStyleSheet = pStyleSheetPool->First(SfxStyleFamily::Pseudo);
CPPUNIT_ASSERT(pStyleSheet);
SdDrawDocument* pDrawDoc = getSdXImpressDocument()->GetDoc();
CPPUNIT_ASSERT(pDrawDoc);
More information about the Libreoffice-commits
mailing list