summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-10 17:03:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-10 17:04:26 +0100
commit97f864df4ecdeacb36eac694671ff2081242540e (patch)
treefa013993a9e0b09ac44fecca1f20cd965a2577c6 /sd
parentde84cde075cf012037dbfecb88a757fd786ab04a (diff)
CID#1103712 big element passed by value
Change-Id: Ib5ffd719d7054e36605190c521d8650d6b6e2728
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/sdpage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index 18b4a25d9177..1856a54b9006 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -868,7 +868,7 @@ const char* const PresObjKindVector[] = {
"PRESOBJ_MEDIA", "PRESOBJ_MAX"
};
-void getPresObjProp( SdPage rPage, const char* sObjKind, const char* sPageKind, double presObjPropValue[] )
+void getPresObjProp( const SdPage& rPage, const char* sObjKind, const char* sPageKind, double presObjPropValue[] )
{
bool bNoObjectFound = true; //used to break from outer loop