diff --git a/src/meshTools/PatchFunction1/PatchFunction1New.C b/src/meshTools/PatchFunction1/PatchFunction1New.C
index d75d23c4f11f923ea2db2e22243ec841f4f544d4..5ff933a7200a2fa19e1fd4d79ede5f9c6b9a0517 100644
--- a/src/meshTools/PatchFunction1/PatchFunction1New.C
+++ b/src/meshTools/PatchFunction1/PatchFunction1New.C
@@ -59,7 +59,7 @@ Foam::autoPtr<Foam::PatchFunction1<Type>> Foam::PatchFunction1<Type>::New
     }
     else
     {
-        ITstream& is = dict.lookup(entryName, false);
+        ITstream& is = dict.lookup(entryName, keyType::LITERAL);
 
         token firstToken(is);