Hello Reka and welcome.
I assume that you mean to take the womb out, also called hysterectomy.
Treatment of cervical cancer would not involve removal or otherwise disturbing the Bartholin glands.
Usually hysterectomy has no significant effect on sexual life, although some women get some stimulation when the penis rubs the cervix.
If the ovaries are removed at the time of hysterectomy, the loss of ovarian hormones can have some effect on sexual life. However, the hormones can be replaced.
I hope that is helpful. Please let me know if you have other questions. Best wishes.