diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2023-04-27 18:43:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-04-28 08:24:45 +0200 |
commit | 601db233f5cc7ee8bcd948681345fa37d5bb1d84 (patch) | |
tree | f12eba7ef49af81c4b570e9f1bb9fb8784b855f7 /framework/inc | |
parent | a33922e38b87db5b009986324c6543e90f18a752 (diff) |
remove dodgy code in OReadToolBoxDocumentHandler
comparing hashcodes without doing an actual comparison
is not safe.
Code was like this since
commit 6845330a228f7b516425e2dcb0aa5f2cdfaedc85
Author: Carsten Driesner <cd@openoffice.org>
Date: Wed Oct 17 09:57:37 2001 +0000
#87255# support toolbar item style and help id
Change-Id: Ie49647da257e6199d9502c916da2dd3d39d52377
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151136
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/inc')
-rw-r--r-- | framework/inc/xml/toolboxdocumenthandler.hxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/framework/inc/xml/toolboxdocumenthandler.hxx b/framework/inc/xml/toolboxdocumenthandler.hxx index 721d02936616..f134054267ae 100644 --- a/framework/inc/xml/toolboxdocumenthandler.hxx +++ b/framework/inc/xml/toolboxdocumenthandler.hxx @@ -100,14 +100,6 @@ class OReadToolBoxDocumentHandler final : public OReadToolBoxDocumentHandler_Bas css::uno::Reference< css::container::XIndexContainer > m_rItemContainer; css::uno::Reference< css::xml::sax::XLocator > m_xLocator; - sal_Int32 m_nHashCode_Style_Radio; - sal_Int32 m_nHashCode_Style_Left; - sal_Int32 m_nHashCode_Style_AutoSize; - sal_Int32 m_nHashCode_Style_DropDown; - sal_Int32 m_nHashCode_Style_Repeat; - sal_Int32 m_nHashCode_Style_DropDownOnly; - sal_Int32 m_nHashCode_Style_Text; - sal_Int32 m_nHashCode_Style_Image; OUString m_aType; OUString m_aLabel; OUString m_aStyle; |