Kaydet (Commit) f681a862 authored tarafından Caolán McNamara's avatar Caolán McNamara

merge ofa res file into svt one

Change-Id: I3f22301e4301ab90e4a1090f2c47cf2403422282
Reviewed-on: https://gerrit.libreoffice.org/38309Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst af79ff7a
......@@ -1082,7 +1082,6 @@ $(eval $(call gb_Helper_register_resources,\
frm \
fwe \
gal \
ofa \
$(call gb_Helper_optional,DBCONNECTIVITY,pcr) \
pdffilter \
pricing \
......
......@@ -49,8 +49,6 @@ STD_RES_FILE( gid_File_Res_Gal, gal )
STD_RES_FILE( gid_File_Res_Deployment, deployment )
STD_RES_FILE( gid_File_Res_DeploymentGui, deploymentgui )
STD_RES_FILE( gid_File_Res_Ofa, ofa )
STD_RES_FILE( gid_File_Res_Pcr, pcr)
STD_RES_FILE( gid_File_Res_Pdffilter, pdffilter)
......
......@@ -81,7 +81,6 @@ Module gid_Module_Langpack_Resource_Template
gid_File_Res_Gal,
gid_File_Res_Deployment,
gid_File_Res_DeploymentGui,
gid_File_Res_Ofa,
gid_File_Res_Pcr,
gid_File_Res_Pdffilter,
gid_File_Res_San,
......
......@@ -49,6 +49,7 @@ $(eval $(call gb_SrsTarget_add_files,svt/res,\
svtools/source/dialogs/wizardmachine.src \
$(if $(ENABLE_JAVA), \
svtools/source/java/javaerror.src) \
svtools/source/misc/errtxt.src \
svtools/source/misc/imagemgr.src \
svtools/source/misc/langtab.src \
svtools/source/misc/svtools.src \
......
......@@ -148,7 +148,7 @@ SfxErrorHandler::SfxErrorHandler(sal_uInt16 nIdP, sal_uLong lStartP, sal_uLong l
ErrorRegistry::RegisterDisplay(&aWndFunc);
if( ! pMgr )
{
pMgr = ResMgr::CreateResMgr("ofa", Application::GetSettings().GetUILanguageTag() );
pMgr = ResMgr::CreateResMgr("svt", Application::GetSettings().GetUILanguageTag() );
pFreeMgr.reset(pMgr);
}
}
......@@ -202,7 +202,7 @@ void SfxErrorHandler::GetClassString(sal_uLong lClassId, OUString &rStr)
*/
{
std::unique_ptr<ResMgr> pResMgr(ResMgr::CreateResMgr("ofa", Application::GetSettings().GetUILanguageTag() ));
std::unique_ptr<ResMgr> pResMgr(ResMgr::CreateResMgr("svt", Application::GetSettings().GetUILanguageTag() ));
if( pResMgr )
{
ResStringArray aEr(ResId(RID_ERRHDL, *pResMgr));
......@@ -284,7 +284,7 @@ bool SfxErrorContext::GetString(sal_uInt32 nErrId, OUString &rStr)
ResMgr* pFreeMgr = nullptr;
if( ! pMgr )
{
pFreeMgr = pMgr = ResMgr::CreateResMgr("ofa", Application::GetSettings().GetUILanguageTag() );
pFreeMgr = pMgr = ResMgr::CreateResMgr("svt", Application::GetSettings().GetUILanguageTag() );
}
if( pMgr )
{
......
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# 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/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
$(eval $(call gb_AllLangResTarget_AllLangResTarget,ofa))
$(eval $(call gb_AllLangResTarget_set_reslocation,ofa,svx))
$(eval $(call gb_AllLangResTarget_add_srs,ofa,svx/ofa))
$(eval $(call gb_SrsTarget_SrsTarget,svx/ofa))
$(eval $(call gb_SrsTarget_add_files,svx/ofa,\
svx/source/src/errtxt.src \
))
# vim: set noet sw=4 ts=4:
......@@ -27,7 +27,6 @@ $(eval $(call gb_Module_add_targets,svx,\
$(eval $(call gb_Module_add_l10n_targets,svx,\
AllLangResTarget_svx \
AllLangResTarget_ofa \
AllLangResTarget_gal \
UIConfig_svx \
))
......
......@@ -152,7 +152,7 @@ UUIInteractionHelper::handleErrorHandlerRequest(
OUString aMessage;
{
enum Source { SOURCE_DEFAULT, SOURCE_SVX, SOURCE_UUI };
static char const * const aManager[3] = { "ofa", "svx", "uui" };
static char const * const aManager[3] = { "svt", "svx", "uui" };
static sal_uInt16 const aId[3]
= { RID_ERRHDL,
RID_SVXERRCODE,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment