libreoffice/include/fpicker/fpsofficeResMgr.hxx
Mike Kaganski 2e498d7dba Use ErrorHandler::HandleError, instead of creating own message box
Change-Id: Ib4aeb52db1d81d9e3dcc4e0c6c880be8982b8120
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/180219
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-01-14 13:26:16 +01:00

17 lines
602 B
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#pragma once
#include <unotools/resmgr.hxx>
inline std::locale FpsResLocale() { return Translate::Create("fps"); }
inline OUString FpsResId(TranslateId aId) { return Translate::get(aId, FpsResLocale()); };
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */