cid#1636575 COPY_INSTEAD_OF_MOVE

and

cid#1636577 COPY_INSTEAD_OF_MOVE
cid#1636583 COPY_INSTEAD_OF_MOVE

Change-Id: Ic56139c5a17d8cc83d90afc78072ae073e99308c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178034
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
This commit is contained in:
Caolán McNamara 2024-12-07 12:17:55 +00:00
parent 93350f4694
commit c812bb3fe7
2 changed files with 3 additions and 3 deletions

View file

@ -466,9 +466,9 @@ void MasterPagesSelector::InvalidatePreview (const SdPage* pPage)
}
}
VclPtr<VirtualDevice> MasterPagesSelector::GetVirtualDevice(Image pImage)
VclPtr<VirtualDevice> MasterPagesSelector::GetVirtualDevice(const Image& rImage)
{
BitmapEx aPreviewBitmap = pImage.GetBitmapEx();
BitmapEx aPreviewBitmap = rImage.GetBitmapEx();
VclPtr<VirtualDevice> pVDev = VclPtr<VirtualDevice>::Create();
const Point aNull(0, 0);
if (pVDev->GetDPIScaleFactor() > 1)

View file

@ -173,7 +173,7 @@ private:
sal_uInt16 nIndex,
MasterPageContainer::Token aToken);
static VclPtr<VirtualDevice> GetVirtualDevice(Image pPreview);
static VclPtr<VirtualDevice> GetVirtualDevice(const Image& rPreview);
};
} // end of namespace sd::sidebar