Kaydet (Commit) 104b26b2 authored tarafından Gabor Kelemen's avatar Gabor Kelemen Kaydeden (comit) Samuel Mehrbrodt

tdf#42949 Remove unnecessary localization headers from sc

Found by searching for the header names and the localization function:
git grep -l -e \<scresid.hxx\> -e \<strings.hrc\> sc | xargs grep -c ScResId | grep :0$ | grep -v /pch
and
git grep -l -e \<globstr.hrc\> sc | xargs grep -c GetRscString | grep :0$ | grep -v /pch
since global.hxx contains so much more, it's omitted from this round.
This also gives some false positives used in ErrorMessage() calls or just untranslated strings.

Also translate some stray German comments

Change-Id: Icfea2b2942d12c3c134d419cb7c9a84534c04a86
Reviewed-on: https://gerrit.libreoffice.org/52932Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst 74b6e61d
......@@ -42,7 +42,6 @@
#include <chgtrack.hxx>
#include <validat.hxx>
#include <attrib.hxx>
#include <globstr.hrc>
#include <global.hxx>
#include <svx/svdoole2.hxx>
......
......@@ -48,7 +48,6 @@
#include <columniterator.hxx>
#include <types.hxx>
#include <fillinfo.hxx>
#include <globstr.hrc>
#include <tokenarray.hxx>
#include <scopetools.hxx>
#include <dociter.hxx>
......
......@@ -13,7 +13,6 @@
#include <formulacell.hxx>
#include <fillinfo.hxx>
#include <bitmaps.hlst>
#include <scresid.hxx>
#include <tokenarray.hxx>
#include <refupdatecontext.hxx>
......
......@@ -52,7 +52,6 @@
#include <docpool.hxx>
#include <stlpool.hxx>
#include <stlsheet.hxx>
#include <globstr.hrc>
#include <chartarr.hxx>
#include <chartlock.hxx>
#include <rechead.hxx>
......
......@@ -39,8 +39,6 @@
#include <formulagroup.hxx>
#include <refhint.hxx>
#include <globstr.hrc>
void ScDocument::StartListeningArea(
const ScRange& rRange, bool bGroupListening, SvtListener* pListener )
{
......
......@@ -72,7 +72,6 @@
#include <prnsave.hxx>
#include <chgtrack.hxx>
#include <sc.hrc>
#include <scresid.hxx>
#include <hints.hxx>
#include <detdata.hxx>
#include <dpobject.hxx>
......
......@@ -31,7 +31,6 @@
#include <algorithm>
#include <global.hxx>
#include <scresid.hxx>
#include <globstr.hrc>
using namespace com::sun::star;
......
......@@ -22,7 +22,6 @@
#include <document.hxx>
#include <dpobject.hxx>
#include <formulacell.hxx>
#include <globstr.hrc>
#include <dptabdat.hxx>
#include <rtl/math.hxx>
......
......@@ -32,7 +32,6 @@
#include <miscuno.hxx>
#include <scerrors.hxx>
#include <refupdat.hxx>
#include <scresid.hxx>
#include <sc.hrc>
#include <attrib.hxx>
#include <scitems.hxx>
......
......@@ -37,7 +37,6 @@
#include <calcconfig.hxx>
#include <sc.hrc>
#include <globstr.hrc>
// struct ScImportParam:
......
......@@ -23,7 +23,6 @@
#include <svx/algitem.hxx>
#include <unotools/transliterationwrapper.hxx>
#include <globstr.hrc>
#include <subtotal.hxx>
#include <rangeutl.hxx>
#include <attrib.hxx>
......
......@@ -38,7 +38,6 @@
#include <bcaslot.hxx>
#include <postit.hxx>
#include <sheetevents.hxx>
#include <globstr.hrc>
#include <segmenttree.hxx>
#include <queryparam.hxx>
#include <queryentry.hxx>
......
......@@ -46,7 +46,6 @@
#include <patattr.hxx>
#include <formulacell.hxx>
#include <table.hxx>
#include <globstr.hrc>
#include <global.hxx>
#include <document.hxx>
#include <autoform.hxx>
......
......@@ -23,7 +23,6 @@
#include <document.hxx>
#include <externalrefmgr.hxx>
#include <globstr.hrc>
#include <osl/diagnose.h>
#include <com/sun/star/frame/XModel.hpp>
......
......@@ -23,7 +23,6 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <appoptio.hxx>
#include <rechead.hxx>
#include <scresid.hxx>
#include <global.hxx>
#include <userlist.hxx>
#include <sc.hrc>
......@@ -34,7 +33,7 @@
using namespace utl;
using namespace com::sun::star::uno;
// ScAppOptions - Applikations-Optionen
// ScAppOptions - Application Options
ScAppOptions::ScAppOptions() : pLRUList( nullptr )
{
......@@ -64,7 +63,7 @@ void ScAppOptions::SetDefaults()
bAutoComplete = true;
bDetectiveAuto = true;
pLRUList.reset( new sal_uInt16[5] ); // sinnvoll vorbelegen
pLRUList.reset( new sal_uInt16[5] ); // sensible initialization
pLRUList[0] = SC_OPCODE_SUM;
pLRUList[1] = SC_OPCODE_AVERAGE;
pLRUList[2] = SC_OPCODE_MIN;
......
......@@ -50,7 +50,6 @@
#include <callform.hxx>
#include <addincol.hxx>
#include <refupdat.hxx>
#include <scresid.hxx>
#include <sc.hrc>
#include <globstr.hrc>
#include <formulacell.hxx>
......
......@@ -20,7 +20,6 @@
#include <consoli.hxx>
#include <document.hxx>
#include <olinetab.hxx>
#include <globstr.hrc>
#include <subtotal.hxx>
#include <formula/errorcodes.hxx>
#include <formulacell.hxx>
......
......@@ -25,11 +25,9 @@
#include <docoptio.hxx>
#include <rechead.hxx>
#include <scresid.hxx>
#include <sc.hrc>
#include <miscuno.hxx>
#include <global.hxx>
#include <globstr.hrc>
using namespace utl;
using namespace com::sun::star::uno;
......
......@@ -23,7 +23,6 @@
#include <inputopt.hxx>
#include <rechead.hxx>
#include <scresid.hxx>
#include <global.hxx>
#include <sc.hrc>
#include <miscuno.hxx>
......
......@@ -43,7 +43,6 @@
#include <formulacell.hxx>
#include <scmatrix.hxx>
#include <docoptio.hxx>
#include <globstr.hrc>
#include <attrib.hxx>
#include <jumpmatrix.hxx>
#include <cellkeytranslator.hxx>
......
......@@ -39,7 +39,6 @@
#include <dociter.hxx>
#include <docoptio.hxx>
#include <unitconv.hxx>
#include <globstr.hrc>
#include <hints.hxx>
#include <dpobject.hxx>
#include <postit.hxx>
......
......@@ -29,7 +29,6 @@
#include <dociter.hxx>
#include <matrixoperators.hxx>
#include <scmatrix.hxx>
#include <globstr.hrc>
#include <math.h>
#include <memory>
......
......@@ -24,8 +24,6 @@
#include <global.hxx>
#include <dbdata.hxx>
#include <rangenam.hxx>
#include <scresid.hxx>
#include <globstr.hrc>
#include <convuno.hxx>
#include <externalrefmgr.hxx>
#include <compiler.hxx>
......
......@@ -47,7 +47,6 @@
#include <refupdatecontext.hxx>
#include <tokenstringcontext.hxx>
#include <types.hxx>
#include <globstr.hrc>
#include <addincol.hxx>
#include <dbdata.hxx>
#include <reordermap.hxx>
......
......@@ -26,7 +26,6 @@
#include <globstr.hrc>
#include <viewopti.hxx>
#include <rechead.hxx>
#include <scresid.hxx>
#include <sc.hrc>
#include <miscuno.hxx>
......
......@@ -35,7 +35,6 @@
#include <document.hxx>
#include <dbdata.hxx>
#include <global.hxx>
#include <globstr.hrc>
#include <progress.hxx>
#include <conditio.hxx>
#include <dpobject.hxx>
......
......@@ -75,7 +75,6 @@
#include <markdata.hxx>
#include <rangenam.hxx>
#include <docoptio.hxx>
#include <globstr.hrc>
#include <fprogressbar.hxx>
#include <xltracer.hxx>
#include <xihelper.hxx>
......
......@@ -52,7 +52,6 @@
#include <string.h>
#include <global.hxx>
#include <globstr.hrc>
#include <docpool.hxx>
#include <patattr.hxx>
#include <formulacell.hxx>
......
......@@ -28,7 +28,6 @@
#include <document.hxx>
#include <patattr.hxx>
#include <attrib.hxx>
#include <globstr.hrc>
#include <scextopt.hxx>
#include <progress.hxx>
#include <rangenam.hxx>
......
......@@ -22,6 +22,7 @@
#include <document.hxx>
#include <scerrors.hxx>
#include <fprogressbar.hxx>
#include <globstr.hrc>
#include <xltracer.hxx>
#include <xltable.hxx>
#include <xihelper.hxx>
......
......@@ -43,6 +43,7 @@
#include <scmatrix.hxx>
#include <xestyle.hxx>
#include <fprogressbar.hxx>
#include <globstr.hrc>
#include <xltracer.hxx>
#include <xecontent.hxx>
#include <xelink.hxx>
......
......@@ -21,7 +21,6 @@
#include <map>
#include <globstr.hrc>
#include <document.hxx>
#include <rangenam.hxx>
#include <dbdata.hxx>
......
......@@ -19,6 +19,7 @@
#include <fprogressbar.hxx>
#include <global.hxx>
#include <globstr.hrc>
#include <progress.hxx>
#include <osl/diagnose.h>
#include <o3tl/make_unique.hxx>
......
......@@ -22,7 +22,6 @@
#include <vector>
#include <memory>
#include <globstr.hrc>
#include "ftools.hxx"
#include <scdllapi.h>
......
......@@ -29,7 +29,6 @@
#include <unonames.hxx>
#include <dbdata.hxx>
#include <document.hxx>
#include <globstr.hrc>
#include <globalnames.hxx>
#include "XMLExportSharedData.hxx"
#include <rangeutl.hxx>
......
......@@ -22,7 +22,6 @@
#include "xmlfilti.hxx"
#include "xmlsorti.hxx"
#include <document.hxx>
#include <globstr.hrc>
#include <globalnames.hxx>
#include <docuno.hxx>
#include <dbdata.hxx>
......
......@@ -25,8 +25,6 @@
#include <docfunc.hxx>
#include <docsh.hxx>
#include <formulacell.hxx>
#include <scresid.hxx>
#include <strings.hrc>
#include <strings.hxx>
#include <unonames.hxx>
#include <detfunc.hxx>
......
......@@ -30,8 +30,6 @@
#include <prevwsh.hxx>
#include <miscuno.hxx>
#include <prevloc.hxx>
#include <scresid.hxx>
#include <strings.hrc>
#include <strings.hxx>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
......
......@@ -23,6 +23,7 @@
#include <docfunc.hxx>
#include <TableFillingAndNavigationTools.hxx>
#include <AnalysisOfVarianceDialog.hxx>
#include <scresid.hxx>
#include <strings.hrc>
namespace
......
......@@ -22,6 +22,7 @@
#include <docfunc.hxx>
#include <TableFillingAndNavigationTools.hxx>
#include <ChiSquareTestDialog.hxx>
#include <scresid.hxx>
#include <strings.hrc>
ScChiSquareTestDialog::ScChiSquareTestDialog(
......
......@@ -11,6 +11,7 @@
#include <docsh.hxx>
#include <reffact.hxx>
#include <CorrelationDialog.hxx>
#include <scresid.hxx>
#include <strings.hrc>
ScCorrelationDialog::ScCorrelationDialog(
......
......@@ -11,6 +11,7 @@
#include <docsh.hxx>
#include <reffact.hxx>
#include <CovarianceDialog.hxx>
#include <scresid.hxx>
#include <strings.hrc>
ScCovarianceDialog::ScCovarianceDialog(
......
......@@ -23,6 +23,7 @@
#include <docfunc.hxx>
#include <TableFillingAndNavigationTools.hxx>
#include <DescriptiveStatisticsDialog.hxx>
#include <scresid.hxx>
#include <strings.hrc>
namespace
......
......@@ -23,6 +23,7 @@
#include <docfunc.hxx>
#include <TableFillingAndNavigationTools.hxx>
#include <ExponentialSmoothingDialog.hxx>
#include <scresid.hxx>
#include <strings.hrc>
ScExponentialSmoothingDialog::ScExponentialSmoothingDialog(
......
......@@ -23,6 +23,7 @@
#include <docfunc.hxx>
#include <TableFillingAndNavigationTools.hxx>
#include <FTestDialog.hxx>
#include <scresid.hxx>
#include <strings.hrc>
ScFTestDialog::ScFTestDialog(
......
......@@ -22,6 +22,7 @@
#include <docfunc.hxx>
#include <TableFillingAndNavigationTools.hxx>
#include <MatrixComparisonGenerator.hxx>
#include <scresid.hxx>
#include <strings.hrc>
namespace
......
......@@ -23,6 +23,7 @@
#include <docfunc.hxx>
#include <TableFillingAndNavigationTools.hxx>
#include <MovingAverageDialog.hxx>
#include <scresid.hxx>
#include <strings.hrc>
ScMovingAverageDialog::ScMovingAverageDialog(
......
......@@ -20,6 +20,7 @@
#include <uiitems.hxx>
#include <reffact.hxx>
#include <docfunc.hxx>
#include <scresid.hxx>
#include <strings.hrc>
#include <random>
......
......@@ -23,6 +23,7 @@
#include <docfunc.hxx>
#include <TableFillingAndNavigationTools.hxx>
#include <RegressionDialog.hxx>
#include <scresid.hxx>
#include <strings.hrc>
namespace
......
......@@ -20,6 +20,7 @@
#include <reffact.hxx>
#include <docfunc.hxx>
#include <SamplingDialog.hxx>
#include <scresid.hxx>
#include <strings.hrc>
ScSamplingDialog::ScSamplingDialog(
......
......@@ -23,6 +23,7 @@
#include <docfunc.hxx>
#include <TableFillingAndNavigationTools.hxx>
#include <TTestDialog.hxx>
#include <scresid.hxx>
#include <strings.hrc>
ScTTestDialog::ScTTestDialog(
......
......@@ -23,6 +23,7 @@
#include <docfunc.hxx>
#include <TableFillingAndNavigationTools.hxx>
#include <ZTestDialog.hxx>
#include <scresid.hxx>
#include <strings.hrc>
ScZTestDialog::ScZTestDialog(
......
......@@ -91,12 +91,10 @@
#include <scerrors.hrc>
#include <scstyles.hrc>
#include <globstr.hrc>
#include <strings.hrc>
#include <bitmaps.hlst>
#include <inputhdl.hxx>
#include <inputwin.hxx>
#include <msgpool.hxx>
#include <scresid.hxx>
#include <dwfunctr.hxx>
#include <formdata.hxx>
#include <tpprint.hxx>
......
......@@ -27,7 +27,6 @@
#include <tabpages.hxx>
#include <attrdlg.hxx>
#include <scresid.hxx>
#include <svx/svxdlg.hxx>
#include <svx/dialogs.hrc>
#include <svx/flagsdef.hxx>
......
......@@ -22,7 +22,6 @@
#include <global.hxx>
#include <document.hxx>
#include <attrib.hxx>
#include <scresid.hxx>
#include <sc.hrc>
#include <tabpages.hxx>
......
......@@ -33,8 +33,6 @@
#include <condformatdlgentry.hxx>
#include <condformatdlgitem.hxx>
#include <globstr.hrc>
ScCondFormatList::ScCondFormatList(vcl::Window* pParent, WinBits nStyle)
: Control(pParent, nStyle | WB_DIALOGCONTROL)
, mbHasScrollBar(false)
......
......@@ -31,7 +31,7 @@
#include <simpleformulacalc.hxx>
#include <colorformat.hxx>
#include <scresid.hxx>
#include <globstr.hrc>
#include <strings.hrc>
......
......@@ -8,7 +8,6 @@
*/
#include <condformatmgr.hxx>
#include <scresid.hxx>
#include <globstr.hrc>
#include <condformatdlg.hxx>
#include <document.hxx>
......
......@@ -33,7 +33,6 @@
using namespace com::sun::star;
#include <dapidata.hxx>
#include <scresid.hxx>
#include <sc.hrc>
#include <miscuno.hxx>
#include <dpsdbtab.hxx>
......
......@@ -20,7 +20,6 @@
#undef SC_DLLIMPLEMENTATION
#include <dapitype.hxx>
#include <scresid.hxx>
#include <sc.hrc>
using namespace com::sun::star;
......
......@@ -28,7 +28,6 @@
#include <reffact.hxx>
#include <document.hxx>
#include <scresid.hxx>
#include <globstr.hrc>
#include <rangenam.hxx>
#include <globalnames.hxx>
......
......@@ -22,7 +22,6 @@
#endif
#include <dpgroupdlg.hxx>
#include <scresid.hxx>
#include <sc.hrc>
#include <globstr.hrc>
......
......@@ -19,7 +19,6 @@
#include <imoptdlg.hxx>
#include <asciiopt.hxx>
#include <scresid.hxx>
#include <comphelper/string.hxx>
#include <osl/thread.h>
#include <rtl/tencinfo.h>
......
......@@ -33,7 +33,6 @@
#include <sc.hrc>
#include <strings.hrc>
#include <globstr.hrc>
#include <pfiltdlg.hxx>
#include <svl/zforlist.hxx>
......
......@@ -34,7 +34,6 @@
#include <tabvwsh.hxx>
#include <viewdata.hxx>
#include <document.hxx>
#include <scresid.hxx>
#include <scendlg.hxx>
ScNewScenarioDlg::ScNewScenarioDlg( vcl::Window* pParent, const OUString& rName, bool bEdit, bool bSheetProtected)
......
......@@ -21,7 +21,6 @@
#include <tpsort.hxx>
#include <sortdlg.hxx>
#include <scresid.hxx>
ScSortDlg::ScSortDlg(vcl::Window* pParent, const SfxItemSet* pArgSet)
: SfxTabDialog(pParent, "SortDialog", "modules/scalc/ui/sortdialog.ui", pArgSet)
......
......@@ -20,7 +20,6 @@
#undef SC_DLLIMPLEMENTATION
#include <tpsubt.hxx>
#include <scresid.hxx>
#include <subtdlg.hxx>
ScSubTotalDlg::ScSubTotalDlg(vcl::Window* pParent, const SfxItemSet* pArgSet)
......
......@@ -21,7 +21,6 @@
#include <document.hxx>
#include <docsh.hxx>
#include <scresid.hxx>
#include <tpstat.hxx>
......
......@@ -36,7 +36,6 @@
#include <docpool.hxx>
#include <drawview.hxx>
#include <gridwin.hxx>
#include <scresid.hxx>
#define ShellClass_ScChartShell
#include <scslots.hxx>
......
......@@ -49,7 +49,6 @@
#include <viewdata.hxx>
#include <tabvwsh.hxx>
#include <docsh.hxx>
#include <scresid.hxx>
#include <undotab.hxx>
#include <drwlayer.hxx>
#include <userdat.hxx>
......
......@@ -32,7 +32,6 @@
#include <document.hxx>
#include <docpool.hxx>
#include <drawview.hxx>
#include <scresid.hxx>
#include <svx/svdobj.hxx>
#include <vcl/EnumContext.hxx>
......
......@@ -70,7 +70,6 @@
#include <document.hxx>
#include <drawview.hxx>
#include <viewutil.hxx>
#include <scresid.hxx>
#include <tabvwsh.hxx>
#include <gridwin.hxx>
......
......@@ -34,7 +34,6 @@
#include <drtxtob.hxx>
#include <drawview.hxx>
#include <viewdata.hxx>
#include <scresid.hxx>
#include <gridwin.hxx>
#include <scabstdlg.hxx>
......
......@@ -40,8 +40,6 @@
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/point/b2dpoint.hxx>
#include <scresid.hxx>