aboutsummaryrefslogtreecommitdiff
path: root/editors/pdfedit/files/patch-src-kernel-cdict.h
blob: 7f50cc4b0de396b89514139a11c39c97eb593058 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/kernel/cdict.h.orig	2010-04-27 18:42:09 UTC
+++ src/kernel/cdict.h
@@ -799,7 +799,7 @@ setSimpleValueInDict (const IProperty& i
 	}
 
 	// Cast it to dict
-	CDict* dict = dynamic_cast<const CDict*> (&ip);
+	const CDict* dict = dynamic_cast<const CDict*> (&ip);
 	setSimpleValueInDict<Value, ItemType, ItemPType> (*dict, name, val);
 }
 
@@ -812,7 +812,7 @@ setSimpleValueInDict (const IProperty& i
 		throw ElementBadTypeException ("");
 
 	// Cast it to dict
-	CDict* dict = dynamic_cast<const CDict*> (&ip);
+	const CDict* dict = dynamic_cast<const CDict*> (&ip);
 
 	setSimpleValueInDict<ItemType> (*dict, name, val);
 }