new loplugin: oncevar

Change-Id: If57390510dde4d166be3141b9f658a7453755d3f
Reviewed-on: https://gerrit.libreoffice.org/19815
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
This commit is contained in:
Noel Grandin
2015-11-06 09:23:33 +02:00
committed by Noel Grandin
parent e1fc599eb7
commit 6c80a8fe89
97 changed files with 390 additions and 515 deletions

View File

@@ -136,9 +136,8 @@ static const char aResourceResolverPropName[] = "ResourceResolver";
{
Reference< container::XNameContainer > xDialogModel( lcl_createControlModel(i_xContext) );
OUString aDlgSrcUrlPropName( "DialogSourceURL" );
Reference< beans::XPropertySet > xDlgPropSet( xDialogModel, UNO_QUERY );
xDlgPropSet->setPropertyValue( aDlgSrcUrlPropName, aDialogSourceURL );
xDlgPropSet->setPropertyValue( "DialogSourceURL", aDialogSourceURL );
// #TODO we really need to detect the source of the Dialog, is it
// the dialog. E.g. if the dialog was created from basic ( then we just