From 08ab1f46b192a188935fdffbefdc9f3973583cdf Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 24 Feb 2018 13:47:25 +0200 Subject: loplugin:oncevar extend to tools/gen.hxx types Change-Id: I5c75875da44334569c02e2ff039b33c38397a0a2 Reviewed-on: https://gerrit.libreoffice.org/50283 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/dialog/SignatureLineDialog.cxx | 2 +- sw/source/uibase/dialog/SwSpellDialogChildWindow.cxx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'sw/source/uibase/dialog') diff --git a/sw/source/uibase/dialog/SignatureLineDialog.cxx b/sw/source/uibase/dialog/SignatureLineDialog.cxx index b574a7b455e4..c7832e4078e9 100644 --- a/sw/source/uibase/dialog/SignatureLineDialog.cxx +++ b/sw/source/uibase/dialog/SignatureLineDialog.cxx @@ -179,7 +179,7 @@ void SignatureLineDialog::Apply() OUString SignatureLineDialog::getSignatureImage() { - OUString svg( + OUString const svg( " pOutlView( new OutlinerView( &aTmpOutliner, &(rView.GetEditWin()) ) ); pOutlView->GetOutliner()->SetRefDevice( rSh.getIDocumentDeviceAccess().getPrinter( false ) ); aTmpOutliner.InsertView( pOutlView.get() ); - Point aPt; Size aSize(1,1); - tools::Rectangle aRect( aPt, aSize ); + tools::Rectangle aRect( Point(), aSize ); pOutlView->SetOutputArea( aRect ); aTmpOutliner.SetText( *pParaObj ); aTmpOutliner.ClearModifyFlag(); -- cgit