summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-09-27 21:52:18 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2024-09-28 09:35:05 +0200
commita9c637da431485f2e0e27045ccae10866c587538 (patch)
treee9d693dd0600f4863e9f2f13d13a33819ac21740 /vcl
parent0aa5380c22e19ae43a251a2d2fae12a31069b8d9 (diff)
tdf#130857 qt weld: Use "p" prefix for pointer param name
Change-Id: I732b67ef6f864fcbb1724b6d6bc3290417660dcb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174073 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
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)
{