loplugin:oncevar

Change-Id: I1bb87b9c1a34326694d8096f67bb32adb17af1e6
This commit is contained in:
Stephan Bergmann
2017-08-07 08:06:25 +02:00
parent 293ddf0b7f
commit 10c80e560e
2 changed files with 2 additions and 6 deletions

View File

@@ -482,9 +482,7 @@ void SAL_CALL SalAquaFilePicker::disposing( const lang::EventObject& aEvent )
rtl::OUString SAL_CALL SalAquaFilePicker::getImplementationName()
{
rtl::OUString retVal( FILE_PICKER_IMPL_NAME );
return retVal;
return FILE_PICKER_IMPL_NAME;
}
sal_Bool SAL_CALL SalAquaFilePicker::supportsService( const rtl::OUString& sServiceName )

View File

@@ -162,9 +162,7 @@ void SAL_CALL SalAquaFolderPicker::setDescription( const rtl::OUString& rDescrip
rtl::OUString SAL_CALL SalAquaFolderPicker::getImplementationName()
{
rtl::OUString retVal( FOLDER_PICKER_IMPL_NAME );
return retVal;
return FOLDER_PICKER_IMPL_NAME;
}
sal_Bool SAL_CALL SalAquaFolderPicker::supportsService( const rtl::OUString& sServiceName )