summaryrefslogtreecommitdiffstats
path: root/extensions/source/propctrlr/taborder.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/taborder.cxx')
-rw-r--r--extensions/source/propctrlr/taborder.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/taborder.cxx b/extensions/source/propctrlr/taborder.cxx
index d41018a833b3..af7b9ced7480 100644
--- a/extensions/source/propctrlr/taborder.cxx
+++ b/extensions/source/propctrlr/taborder.cxx
@@ -29,7 +29,7 @@
#include <com/sun/star/form/runtime/FormController.hpp>
#include <osl/diagnose.h>
#include <tools/debug.hxx>
-#include <tools/diagnose_ex.h>
+#include <comphelper/diagnose_ex.hxx>
namespace pcr
{
@@ -180,7 +180,7 @@ namespace pcr
aName = ::comphelper::getString( xControl->getPropertyValue( PROPERTY_NAME ) );
// TODO: do Basic controls have a name?
aImage = GetImage( xControl );
- OUString sId(OUString::number(reinterpret_cast<sal_Int64>(xControl.get())));
+ OUString sId(weld::toId(xControl.get()));
m_xLB_Controls->append(sId, aName, aImage);
}
}
@@ -243,7 +243,7 @@ namespace pcr
for (int i = 0; i < nEntryCount; ++i)
{
- XPropertySet* pEntry = reinterpret_cast<XPropertySet*>(m_xLB_Controls->get_id(i).toInt64());
+ XPropertySet* pEntry = weld::fromId<XPropertySet*>(m_xLB_Controls->get_id(i));
for( auto const& rControlModel : aControlModels )
{
Reference< XPropertySet > xSet(rControlModel, UNO_QUERY);