summaryrefslogtreecommitdiffstats
path: root/sip/kio/kfilemetainfo.sip
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-13 22:44:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-13 22:44:21 +0000
commit83ee79237f6141a1b7d5534db717a26d911112e4 (patch)
treec6614d32d6f760703f7f23687486425cf5fe565a /sip/kio/kfilemetainfo.sip
parent969673f24ba313cb42262200403ccac2b4316328 (diff)
downloadpytde-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/kfilemetainfo.sip')
-rw-r--r--sip/kio/kfilemetainfo.sip6
1 files changed, 4 insertions, 2 deletions
diff --git a/sip/kio/kfilemetainfo.sip b/sip/kio/kfilemetainfo.sip
index 77b5871..b0418be 100644
--- a/sip/kio/kfilemetainfo.sip
+++ b/sip/kio/kfilemetainfo.sip
@@ -256,7 +256,8 @@ public:
%MethodCode
//returns (KFileMetaInfoItem)
//takes key | (QString)
- sipRes = &((*sipCpp) [(const QString&) *a0]);
+ KFileMetaInfoItem sipResObj = ((*sipCpp) [*static_cast<const QString*>(a0)]);
+ sipRes = &sipResObj;
%End
%End
@@ -339,7 +340,8 @@ public:
%MethodCode
//returns (KFileMetaInfoGroup)
//takes key | (QString)
- sipRes = &((*sipCpp) [(const QString&)*a0]);
+ KFileMetaInfoGroup sipResObj = ((*sipCpp) [*static_cast<const QString*>(a0)]);
+ sipRes = &sipResObj;
%End
%End