summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-06 08:53:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-06 14:34:26 +0200
commit6bf3517d60272bdec878bb6dde92a47b45a3f866 (patch)
treeca5e8f500ba9b0dc83d25da948358908d1229cd6
parent626ccb3c223b5c9e26875f63a8aa1ab11674cd72 (diff)
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@redhat.com>
-rw-r--r--sd/qa/unit/dialogs-test.cxx4
1 files changed, 2 insertions, 2 deletions
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);