tdf#130857 qt weld: Support mail merge "Server Auth" dialog
[LibreOffice.git] / include / o3tl / numeric.hxx
blob9980319a648b1d8a188d0db817eddf0c841299e8
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef INCLUDED_O3TL_NUMERIC_HXX
11 #define INCLUDED_O3TL_NUMERIC_HXX
13 #include <stdexcept>
15 namespace o3tl
17 struct divide_by_zero final : public std::runtime_error
19 explicit divide_by_zero()
20 : std::runtime_error("divide by zero")
26 #endif
28 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */