summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-22 15:34:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-26 08:18:10 +0200
commit2fd083579d42d7649c162f18db235498198ff3f4 (patch)
treeb9da2f8f71dc0ed7ae07dfca4e921caf96f7a01b /dbaccess
parentceea1f3c735b4e6d40cc0cfd8c249b6aff6b4e89 (diff)
loplugin:returnconstval in various
Change-Id: Ib5d293417b1faeb7ef63a8df99fc1ba644989cdc Reviewed-on: https://gerrit.libreoffice.org/78079 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/recovery/subcomponentrecovery.cxx2
-rw-r--r--dbaccess/source/core/recovery/subcomponentrecovery.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/core/recovery/subcomponentrecovery.cxx b/dbaccess/source/core/recovery/subcomponentrecovery.cxx
index 516aa863f6f2..41020966602b 100644
--- a/dbaccess/source/core/recovery/subcomponentrecovery.cxx
+++ b/dbaccess/source/core/recovery/subcomponentrecovery.cxx
@@ -338,7 +338,7 @@ namespace dbaccess
void SAL_CALL SettingsDocumentHandler::setDocumentLocator( const Reference< XLocator >& ) {}
// SubComponentRecovery
- const OUString SubComponentRecovery::getComponentsStorageName( const SubComponentType i_eType )
+ OUString SubComponentRecovery::getComponentsStorageName( const SubComponentType i_eType )
{
switch ( i_eType )
{
diff --git a/dbaccess/source/core/recovery/subcomponentrecovery.hxx b/dbaccess/source/core/recovery/subcomponentrecovery.hxx
index 031df55f7f12..9881778002fe 100644
--- a/dbaccess/source/core/recovery/subcomponentrecovery.hxx
+++ b/dbaccess/source/core/recovery/subcomponentrecovery.hxx
@@ -72,7 +72,7 @@ namespace dbaccess
const bool i_bForEditing
);
- static const OUString getComponentsStorageName( const SubComponentType i_eType );
+ static OUString getComponentsStorageName( const SubComponentType i_eType );
private:
void impl_saveSubDocument_throw(