Not exactly because the area code is "22" not "022" for Warsaw. Dialling within the country you add a zero whether it's a mobile/cell or landline. All domestic calls start with 0 because that tells the phone system you want to dial a domestic number. Likewise all international numbers start 00 because that tells the system you are dialling internationally.
But you are correct in that for a landline call you need 0 + area code + number. In some countries (e.g. UK) often the number suffices if you are calling within the same area code.