diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-13 22:44:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-13 22:44:21 +0000 |
commit | 83ee79237f6141a1b7d5534db717a26d911112e4 (patch) | |
tree | c6614d32d6f760703f7f23687486425cf5fe565a /sip/kio/kservicetype.sip | |
parent | 969673f24ba313cb42262200403ccac2b4316328 (diff) | |
download | pytde-83ee79237f6141a1b7d5534db717a26d911112e4.tar.gz pytde-83ee79237f6141a1b7d5534db717a26d911112e4.zip |
Fix a number of invalid references to temporary variables in python-trinityv3.5.13
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/libraries/python-trinity@1258860 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'sip/kio/kservicetype.sip')
-rw-r--r-- | sip/kio/kservicetype.sip | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sip/kio/kservicetype.sip b/sip/kio/kservicetype.sip index 3bed1dc..adb6897 100644 --- a/sip/kio/kservicetype.sip +++ b/sip/kio/kservicetype.sip @@ -240,7 +240,8 @@ protected: QValueList<KServiceType::Ptr>::Iterator it; for( it = cList->begin(); it != cList->end(); ++it ) { - svc = &(KServiceType::Ptr)(*it); + KSharedPtr <KServiceType> svcptr = static_cast<KServiceType::Ptr>(*it); + svc = &svcptr; inst = sipConvertFromType(svc, sipType_KServiceType_Ptr, sipTransferObj); if ((inst == NULL) || (PyList_Append (plist, inst) < 0)) |