[Libreoffice-commits] core.git: sc/qa
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Wed Mar 27 13:36:28 UTC 2019
sc/qa/unit/screenshots/screenshots.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 324f468fc29e9ce29f7b118ada56c1cec4815310
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Mar 27 14:34:34 2019 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Mar 27 14:34:34 2019 +0100
Fix CppunitTest_sc_screenshots
...after cc162981b82548349b4927cf3196ddcf54911850 "return unique_ptr from
MakeNumberInfoItem"
Change-Id: I44682440c5b1c45ff50f891eda9efeb94d57608d
diff --git a/sc/qa/unit/screenshots/screenshots.cxx b/sc/qa/unit/screenshots/screenshots.cxx
index 310b16076962..8845bc3b54f2 100644
--- a/sc/qa/unit/screenshots/screenshots.cxx
+++ b/sc/qa/unit/screenshots/screenshots.cxx
@@ -244,7 +244,7 @@ VclPtr<VclAbstractDialog> ScScreenshotTest::createDialogByID(sal_uInt32 nID)
mpItemSet->Put(SfxUInt32Item(ATTR_VALUE_FORMAT,
pAttr->GetNumberFormat( pDoc->GetFormatTable() ) ) );
- pNumberInfoItem.reset(ScTabViewShell::MakeNumberInfoItem(pDoc, &rViewData));
+ pNumberInfoItem = ScTabViewShell::MakeNumberInfoItem(pDoc, &rViewData);
mpItemSet->MergeRange(SID_ATTR_NUMBERFORMAT_INFO, SID_ATTR_NUMBERFORMAT_INFO);
mpItemSet->Put(*pNumberInfoItem);
More information about the Libreoffice-commits
mailing list