diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-08-07 08:06:25 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-08-07 08:06:25 +0200 |
commit | 10c80e560e5580b91fe7be5c8d171146335eb8a5 (patch) | |
tree | 223692c6eefcfa554a6dc2506db5aa818f06b2f7 /fpicker | |
parent | 293ddf0b7fb3697c84d28795f2cd35f623f136c7 (diff) |
loplugin:oncevar
Change-Id: I1bb87b9c1a34326694d8096f67bb32adb17af1e6
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/aqua/SalAquaFilePicker.mm | 4 | ||||
-rw-r--r-- | fpicker/source/aqua/SalAquaFolderPicker.mm | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/fpicker/source/aqua/SalAquaFilePicker.mm b/fpicker/source/aqua/SalAquaFilePicker.mm index e576844149e8..2742d4ad33af 100644 --- a/fpicker/source/aqua/SalAquaFilePicker.mm +++ b/fpicker/source/aqua/SalAquaFilePicker.mm @@ -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 ) diff --git a/fpicker/source/aqua/SalAquaFolderPicker.mm b/fpicker/source/aqua/SalAquaFolderPicker.mm index ff1d519aba60..b7abcf6bcf56 100644 --- a/fpicker/source/aqua/SalAquaFolderPicker.mm +++ b/fpicker/source/aqua/SalAquaFolderPicker.mm @@ -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 ) |