summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qt5/QtBuilder.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/qt5/QtBuilder.cxx b/vcl/qt5/QtBuilder.cxx
index 23f5e59c4f84..b93e59c15a63 100644
--- a/vcl/qt5/QtBuilder.cxx
+++ b/vcl/qt5/QtBuilder.cxx
@@ -179,9 +179,9 @@ void QtBuilder::set_response(std::u16string_view sID, short nResponse)
pPushButton->setProperty(QtInstanceMessageDialog::PROPERTY_VCL_RESPONSE_CODE, int(nResponse));
}
-void QtBuilder::setProperties(QObject* obj, stringmap& rProps)
+void QtBuilder::setProperties(QObject* pObject, stringmap& rProps)
{
- if (QMessageBox* pMessageBox = qobject_cast<QMessageBox*>(obj))
+ if (QMessageBox* pMessageBox = qobject_cast<QMessageBox*>(pObject))
{
for (auto const & [ Key, rValue ] : rProps)
{
@@ -214,7 +214,7 @@ void QtBuilder::setProperties(QObject* obj, stringmap& rProps)
}
}
}
- else if (QPushButton* pButton = qobject_cast<QPushButton*>(obj))
+ else if (QPushButton* pButton = qobject_cast<QPushButton*>(pObject))
{
for (auto const & [ rKey, rValue ] : rProps)
{