break;
default:
#ifdef DEBUG
- throw new std::runtime_error("Invalid anchor point found");
+ throw std::runtime_error("Invalid anchor point found");
#endif
msg_warning("Invalid anchor point found");
result.x = rect.get_left();
break;
default:
#ifdef DEBUG
- throw new std::runtime_error("Invalid anchor point found");
+ throw std::runtime_error("Invalid anchor point found");
#endif
msg_warning("Invalid anchor point found");
result.y = rect.get_top();
break;
default:
#ifdef DEBUG
- throw new std::runtime_error("Invalid anchor point found");
+ throw std::runtime_error("Invalid anchor point found");
#endif
msg_warning("Invalid anchor point found");
result.x = destrect.get_left();
break;
default:
#ifdef DEBUG
- throw new std::runtime_error("Invalid anchor point found");
+ throw std::runtime_error("Invalid anchor point found");
#endif
msg_warning("Invalid anchor point found");
result.y = destrect.get_top();