summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-17 10:37:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-08-17 12:56:44 +0200
commitaa0adc7a4f2b0ca735fc8330fa7b9dab75b38e56 (patch)
tree4dbac088668564eed754980f943b088f58f1c0a1 /sc/inc
parent173b2649ee1e3b7db4a2f898dbf74c2d2987ffe5 (diff)
make GetName accessor more standard
Change-Id: I8cb4853be09e37499d26acb6889b3d9b2c70dcf8 Reviewed-on: https://gerrit.libreoffice.org/59252 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/table.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 5c22144c8e09..fe9f8615fb46 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -360,7 +360,7 @@ public:
sal_Int64 GetHashCode () const;
- void GetName( OUString& rName ) const;
+ const OUString& GetName() const { return aName; }
void SetName( const OUString& rNewName );
void SetAnonymousDBData(std::unique_ptr<ScDBData> pDBData);