diff options
author | VaibhavMalik4187 <vaibhavmalik2018@gmail.com> | 2022-01-25 13:52:11 +0530 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2022-01-25 19:54:54 +0100 |
commit | d1207a5f3a573dbe39a7874931ce373e5c88628d (patch) | |
tree | 0fcf9d8468b7b17475a9674317ac87589201667a /basic/source/inc | |
parent | 8a2da2585f2dc031235cda98ecd811683755474e (diff) |
tdf#90341 Clean Up Excessive const_cast'ing
Change-Id: Ib4cab4a4e476b469378b0b86d0819d4642f38893
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128907
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'basic/source/inc')
-rw-r--r-- | basic/source/inc/runtime.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/inc/runtime.hxx b/basic/source/inc/runtime.hxx index d09db071a1a9..d0922e6a0e0a 100644 --- a/basic/source/inc/runtime.hxx +++ b/basic/source/inc/runtime.hxx @@ -188,7 +188,7 @@ public: SbiDdeControl* GetDdeControl() { return pDdeCtrl.get(); } StarBASIC* GetBasic() { return pBasic; } SbiDllMgr* GetDllMgr(); - SbiRTLData& GetRTLData() const { return const_cast<SbiRTLData&>(aRTLData); } + SbiRTLData& GetRTLData() { return aRTLData; } std::shared_ptr<SvNumberFormatter> const & GetNumberFormatter(); sal_uInt32 GetStdDateIdx() const { return nStdDateIdx; } |