Shouldn't be any problems.
The laptop will 'trickle-charge' the battery, Or in other words it will take a small amount of the mains power to keep the battery topped up. This will not affect the battery life much.
Most laptop batteries generally need replacing every three years or so. Check your manual for full details.
Remember that most laptops are used in offices in exactly the way you want!
Gary.