Salivary duct calculus may block the ducts . This would cause pain and swelling of the gland . Salivary duct calculus may cause blockage of the ducts , causing pain and swelling of the gland because of cysts .