expand src templates only used in a single place
Change-Id: I0af62539f9dfe636eb242acd766559ffe1097217
This commit is contained in:
@@ -93,8 +93,7 @@ bool passesPositiveList(const OUString& rUrl) {
|
||||
{ RTL_CONSTASCII_STRINGPARAM(
|
||||
"/dbaccess/source/ui/inc/toolbox_tmpl.hrc") },
|
||||
{ RTL_CONSTASCII_STRINGPARAM("/description.xml") },
|
||||
{ RTL_CONSTASCII_STRINGPARAM("/svx/inc/globlmn_tmpl.hrc") },
|
||||
{ RTL_CONSTASCII_STRINGPARAM("/sw/source/uibase/inc/redline_tmpl.hrc") }
|
||||
{ RTL_CONSTASCII_STRINGPARAM("/svx/inc/globlmn_tmpl.hrc") }
|
||||
};
|
||||
return matchList(rUrl, list, SAL_N_ELEMENTS(list));
|
||||
}
|
||||
|
@@ -120,8 +120,4 @@ $(eval $(call gb_SrsTarget_add_nonlocalizable_files,sw/res,\
|
||||
sw/source/ui/envelp/envprt.src \
|
||||
))
|
||||
|
||||
$(eval $(call gb_SrsTarget_add_templates,sw/res,\
|
||||
sw/source/uibase/inc/redline_tmpl.hrc \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
@@ -1,39 +0,0 @@
|
||||
/* -*- 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/.
|
||||
*
|
||||
*/
|
||||
|
||||
#include "cmdid.h"
|
||||
|
||||
#define MN_EDIT_REDLINE \
|
||||
MenuItem \
|
||||
{ \
|
||||
Identifier = FN_REDLINE_ACCEPT_DIRECT; \
|
||||
HelpId = CMD_FN_REDLINE_ACCEPT_DIRECT ; \
|
||||
Text [ en-US ] = "Accept Change" ; \
|
||||
}; \
|
||||
MenuItem \
|
||||
{ \
|
||||
Identifier = FN_REDLINE_REJECT_DIRECT ; \
|
||||
HelpId = CMD_FN_REDLINE_REJECT_DIRECT ; \
|
||||
Text [ en-US ] = "Reject Change" ; \
|
||||
}; \
|
||||
MenuItem \
|
||||
{ \
|
||||
Identifier = FN_REDLINE_NEXT_CHANGE; \
|
||||
HelpId = CMD_FN_REDLINE_NEXT_CHANGE ; \
|
||||
Text [ en-US ] = "Next Change" ; \
|
||||
}; \
|
||||
MenuItem \
|
||||
{ \
|
||||
Identifier = FN_REDLINE_PREV_CHANGE; \
|
||||
HelpId = CMD_FN_REDLINE_PREV_CHANGE ; \
|
||||
Text [ en-US ] = "Previous Change" ; \
|
||||
};
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
@@ -87,7 +87,30 @@ Menu MN_SPELL_POPUP
|
||||
Text [ en-US ] = "Set Language for Paragraph" ;
|
||||
};
|
||||
SEPARATOR
|
||||
MN_EDIT_REDLINE
|
||||
MenuItem
|
||||
{
|
||||
Identifier = FN_REDLINE_ACCEPT_DIRECT;
|
||||
HelpId = CMD_FN_REDLINE_ACCEPT_DIRECT ;
|
||||
Text [ en-US ] = "Accept Change" ;
|
||||
};
|
||||
MenuItem
|
||||
{
|
||||
Identifier = FN_REDLINE_REJECT_DIRECT ;
|
||||
HelpId = CMD_FN_REDLINE_REJECT_DIRECT ;
|
||||
Text [ en-US ] = "Reject Change" ;
|
||||
};
|
||||
MenuItem
|
||||
{
|
||||
Identifier = FN_REDLINE_NEXT_CHANGE;
|
||||
HelpId = CMD_FN_REDLINE_NEXT_CHANGE ;
|
||||
Text [ en-US ] = "Next Change" ;
|
||||
};
|
||||
MenuItem
|
||||
{
|
||||
Identifier = FN_REDLINE_PREV_CHANGE;
|
||||
HelpId = CMD_FN_REDLINE_PREV_CHANGE ;
|
||||
Text [ en-US ] = "Previous Change" ;
|
||||
};
|
||||
};
|
||||
};
|
||||
String STR_WORD
|
||||
|
Reference in New Issue
Block a user