[Libreoffice-commits] core.git: svx/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sun May 2 19:11:37 UTC 2021
svx/source/dialog/weldeditview.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 2223b657c60b91f8f2bef05ec18c42bbe6106a71
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat May 1 21:23:19 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun May 2 21:10:57 2021 +0200
drop unneeded temporary
Change-Id: If9c774ccee4855e16e985332d9f2574403497ff2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114978
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svx/source/dialog/weldeditview.cxx b/svx/source/dialog/weldeditview.cxx
index 83f24e8337d4..2ffa6b3b6670 100644
--- a/svx/source/dialog/weldeditview.cxx
+++ b/svx/source/dialog/weldeditview.cxx
@@ -135,8 +135,7 @@ void WeldEditView::Resize()
{
OutputDevice& rDevice = GetDrawingArea()->get_ref_device();
Size aOutputSize(rDevice.PixelToLogic(GetOutputSizePixel()));
- Size aSize(aOutputSize);
- GetEditEngine()->SetPaperSize(aSize);
+ GetEditEngine()->SetPaperSize(aOutputSize);
pEditView->SetOutputArea(tools::Rectangle(Point(0, 0), aOutputSize));
}
weld::CustomWidgetController::Resize();
More information about the Libreoffice-commits
mailing list