You're playing with words. It was a shift in the teaching of the Church which brought about the change of attitude toward other religions.
A dogma specifies a particular teaching as being contained in the deposit of faith. A dogma may be developed in understanding. Not all church teaching is dogmatic.
"The whole world expects a step forward toward a doctrinal penetration a formation of consciences in the faithful and perfect conformity to the authentic doctrine which, however, should be studied and expounded through the methods of research and through the literary forms of modern thought. The substance of the ancient of the Deposit of Faith is one thing, and the way in which it is presented is another. And it is the latter that must be taken into great consideration, with patience if necessary, everything being measured in the forms and proportions of a magisterium which is predominantly pastoral in character." John XXIII
In the present order of things, Divine Providence is leading us to a new order of human relations which, by humanity's own efforts and even beyond its very expectations, are directed toward the fulfillment of God's superior and inscrutable designs. And everything, even human differences, leads to the greater good of the church.' John