diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-12-26 21:21:22 +0100 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2013-12-27 07:14:57 +0100 |
commit | d1c74734c8d9026b0f0c03f7382ca60165cec8c6 (patch) | |
tree | 59b36bab691b842e6a1871328ff77be6a3902644 /sc | |
parent | bbee59851329142cdad62120ac02af922697e99f (diff) |
Transex3: NO_LOCALIZE_EXPORT
In the past, NO_LOCALIZE_EXPORT macro must be used to
skip uneeded parsing of src files which has no localizable content.
It is unsued by now and it is more effective to handle
this files on gmake level:
gb_SrsTarget_add_nonlocalizable_files
gb_SrsTarget_add_nonlocalizable_templates
Plus remove some empty src file.
Change-Id: I8fc9b2db0b5fd7a3379d3c5be970c4fc691f4c53
Diffstat (limited to 'sc')
-rw-r--r-- | sc/AllLangResTarget_sc.mk | 11 | ||||
-rw-r--r-- | sc/source/ui/formdlg/formdlgs.src | 24 | ||||
-rw-r--r-- | sc/source/ui/src/pseudo.src | 22 |
3 files changed, 6 insertions, 51 deletions
diff --git a/sc/AllLangResTarget_sc.mk b/sc/AllLangResTarget_sc.mk index 315ae34898c2..d7a01cea4732 100644 --- a/sc/AllLangResTarget_sc.mk +++ b/sc/AllLangResTarget_sc.mk @@ -33,7 +33,6 @@ $(eval $(call gb_SrsTarget_set_include,sc/res,\ )) $(eval $(call gb_SrsTarget_add_files,sc/res,\ - sc/source/ui/src/iconsets.src \ sc/source/ui/src/popup.src \ sc/source/ui/src/autofmt.src \ sc/source/ui/src/globstr.src \ @@ -42,7 +41,6 @@ $(eval $(call gb_SrsTarget_add_files,sc/res,\ sc/source/ui/src/scfuncs.src \ sc/source/ui/src/textdlgs.src \ sc/source/ui/src/sc.src \ - sc/source/ui/src/pseudo.src \ sc/source/ui/src/hdrcont.src \ sc/source/ui/src/scerrors.src \ sc/source/ui/src/simpref.src \ @@ -56,7 +54,6 @@ $(eval $(call gb_SrsTarget_add_files,sc/res,\ sc/source/ui/src/xmlsourcedlg.src \ sc/source/ui/cctrl/checklistmenu.src \ sc/source/ui/navipi/navipi.src \ - sc/source/ui/pagedlg/pagedlg.src \ sc/source/ui/styleui/scstyles.src \ sc/source/ui/dbgui/pivot.src \ sc/source/ui/dbgui/dpgroupdlg.src \ @@ -64,7 +61,6 @@ $(eval $(call gb_SrsTarget_add_files,sc/res,\ sc/source/ui/dbgui/dapitype.src \ sc/source/ui/dbgui/imoptdlg.src \ sc/source/ui/dbgui/scendlg.src \ - sc/source/ui/dbgui/outline.src \ sc/source/ui/dbgui/validate.src \ sc/source/ui/drawfunc/drformsh.src \ sc/source/ui/drawfunc/objdraw.src \ @@ -72,11 +68,16 @@ $(eval $(call gb_SrsTarget_add_files,sc/res,\ sc/source/ui/miscdlgs/highred.src \ sc/source/ui/miscdlgs/conflictsdlg.src \ sc/source/ui/miscdlgs/acredlin.src \ - sc/source/ui/formdlg/formdlgs.src \ sc/source/ui/formdlg/dwfunctr.src \ sc/source/ui/sidebar/CellAppearancePropertyPanel.src \ sc/source/ui/StatisticsDialogs/StatisticsDialogs.src \ sc/source/core/src/compiler.src \ )) +$(eval $(call gb_SrsTarget_add_nonlocalizable_files,sc/res,\ + sc/source/ui/src/iconsets.src \ + sc/source/ui/pagedlg/pagedlg.src \ + sc/source/ui/dbgui/outline.src \ +)) + # vim: set noet sw=4 ts=4: diff --git a/sc/source/ui/formdlg/formdlgs.src b/sc/source/ui/formdlg/formdlgs.src deleted file mode 100644 index 1d1fe0496771..000000000000 --- a/sc/source/ui/formdlg/formdlgs.src +++ /dev/null @@ -1,24 +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/. - * - * 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 . - */ - -#include "sc.hrc" - - //--------------------------------------------------------------------------- - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/src/pseudo.src b/sc/source/ui/src/pseudo.src deleted file mode 100644 index 11cda7708244..000000000000 --- a/sc/source/ui/src/pseudo.src +++ /dev/null @@ -1,22 +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/. - * - * 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 . - */ - -#include <svx/svxids.hrc> - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |