diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-02-04 14:10:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-02-04 16:43:44 +0100 |
commit | d5a43d2c0ce695a87b3ccd322c11b1d28400f2da (patch) | |
tree | 5ce8f007c52f55be1b25ffb64c476bb38fbc3854 /extensions | |
parent | 50682cea4196819980c8e2d4018f80384097ce6f (diff) |
use some more add toId/fromId
Change-Id: I3a21e2aa5a2c482c0bac1d4c9bf84f8b56261408
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129492
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/selectlabeldialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/selectlabeldialog.cxx b/extensions/source/propctrlr/selectlabeldialog.cxx index 41749f9b4e5c..f5f00f663790 100644 --- a/extensions/source/propctrlr/selectlabeldialog.cxx +++ b/extensions/source/propctrlr/selectlabeldialog.cxx @@ -232,7 +232,7 @@ namespace pcr bool bSelected = m_xControlTree->get_selected(xIter.get()); OUString sData = bSelected ? m_xControlTree->get_id(*xIter) : OUString(); if (!sData.isEmpty()) - m_xSelectedControl.set(*reinterpret_cast<Reference<XPropertySet>*>(sData.toInt64())); + m_xSelectedControl.set(*weld::fromId<Reference<XPropertySet>*>(sData)); m_xNoAssignment->set_active(sData.isEmpty()); } |