summaryrefslogtreecommitdiff
path: root/rsc/inc/rscclobj.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/inc/rscclobj.hxx')
-rw-r--r--rsc/inc/rscclobj.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsc/inc/rscclobj.hxx b/rsc/inc/rscclobj.hxx
index 46aa38348cfe..eeb694f25cb7 100644
--- a/rsc/inc/rscclobj.hxx
+++ b/rsc/inc/rscclobj.hxx
@@ -38,7 +38,7 @@ public:
ObjNode( const RscId & rId, CLASS_DATA pData, sal_uLong lKey );
ObjNode * DelObjNode( RscTop * pClass, sal_uLong lFileKey );
sal_uInt32 GetId() const override;
- RscId GetRscId() const { return aRscId; }
+ const RscId& GetRscId() const { return aRscId; }
sal_uLong GetFileKey() const { return lFileKey; };
ObjNode* Search( const RscId &rName ) const //< search the index in the b-tree
{