Skip to content

Commit

Permalink
Maintenance cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Pilot-Pirx committed Sep 18, 2023
1 parent 4ff439b commit ce48dd1
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 32 deletions.
5 changes: 2 additions & 3 deletions main/filter/source/msfilter/svxmsbas.cxx
Expand Up @@ -24,7 +24,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_filter.hxx"

/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil -*- */
#include <tools/debug.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/app.hxx>
Expand Down Expand Up @@ -435,7 +434,7 @@ ::std::equal_to< ::rtl::OUString > > NameModuleInfoHash;
}
moduleData[ aModName ] = aSourceAny;
}
// Hack for missing codenames ( only know to happen in excel but... )
// Hack for missing codenames ( only known to happen in Excel but... )
// only makes sense to do this if we are importing non-commented basic
if ( !bAsComment )
{
Expand Down Expand Up @@ -489,4 +488,4 @@ ::std::equal_to< ::rtl::OUString > > NameModuleInfoHash;
return bRet;
}

/* vi:set tabstop=4 shiftwidth=4 expandtab: */
/* vim: set noet sw=4 ts=4: */
4 changes: 2 additions & 2 deletions main/idlc/source/options.cxx
Expand Up @@ -205,7 +205,7 @@ bool Options::setOption(char const * option, std::string const & rArg)
}

#ifdef WNT
/* Helper functiopn to convert windows paths including spaces, brackets etc. into
/* Helper function to convert windows paths including spaces, brackets etc. into
a windows short Url. The ucpp preprocessor has problems with such paths and returns
with error.
*/
Expand Down Expand Up @@ -436,4 +436,4 @@ const OString& Options::getOption(const OString& option)
}
return m_options[option];
}
/* vi:set tabstop=4 shiftwidth=4 expandtab: */
/* vim: set noet sw=4 ts=4: */
5 changes: 2 additions & 3 deletions main/l10ntools/source/help/HelpCompiler.cxx
Expand Up @@ -21,7 +21,6 @@




#include "HelpCompiler.hxx"
#include <limits.h>
#include <stdlib.h>
Expand Down Expand Up @@ -441,7 +440,7 @@ bool HelpCompiler::compile( void ) throw( HelpProcessingException )
if (modulename != "DEFAULT" && modulename != module)
continue;

// returns a clone of the document with swich-cases resolved
// returns a clone of the document with switch-cases resolved
xmlNodePtr docResolved = clone(xmlDocGetRootElement(docResolvedOrg), appl);
myparser aparser(documentId, fileName, title);
aparser.traverse(docResolved);
Expand Down Expand Up @@ -583,4 +582,4 @@ namespace fs
}
}

/* vi:set tabstop=4 shiftwidth=4 expandtab: */
/* vim: set noet sw=4 ts=4: */
2 changes: 1 addition & 1 deletion main/l10ntools/source/help/HelpCompiler.hxx
Expand Up @@ -313,4 +313,4 @@ private:

#endif

/* vi:set tabstop=4 shiftwidth=4 expandtab: */
/* vim: set noet sw=4 ts=4: */
12 changes: 3 additions & 9 deletions main/svtools/inc/svtools/svparser.hxx
Expand Up @@ -21,8 +21,6 @@



/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil -*- */

#ifndef _SVPARSER_HXX
#define _SVPARSER_HXX

Expand Down Expand Up @@ -72,13 +70,13 @@ protected:
// File geladen. d.h. alle
// DataAvailable Links muessen
// ignoriert werden.
// Wenn keibes der folgenden
// Wenn keines der folgenden
// Flags gesetzt ist, wird der
// Stream als ANSI gelesen,
// aber als CharSet DONTKNOW
// zurueckgegeben.
sal_Bool bUCS2BSrcEnc : 1; // oder als big-endian UCS2
sal_Bool bSwitchToUCS2 : 1; // Umschalten des ist erlaubt
sal_Bool bSwitchToUCS2 : 1; // Umschalten ist erlaubt

sal_Bool bRTF_InTextRead : 1; // only for RTF-Parser!!!

Expand Down Expand Up @@ -201,9 +199,7 @@ inline sal_uInt16 SvParser::GetCharSize() const


/*========================================================================
*
* SvKeyValue.
*
*======================================================================*/

SV_DECL_REF(SvKeyValueIterator)
Expand Down Expand Up @@ -248,9 +244,7 @@ public:
};

/*========================================================================
*
* SvKeyValueIterator.
*
*======================================================================*/
class SvKeyValueList_Impl;
class SVT_DLLPUBLIC SvKeyValueIterator : public SvRefBase,
Expand Down Expand Up @@ -278,4 +272,4 @@ SV_IMPL_REF(SvKeyValueIterator);

#endif //_SVPARSER_HXX

/* vi:set tabstop=4 shiftwidth=4 expandtab: */
/* vim: set noet sw=4 ts=4: */
12 changes: 5 additions & 7 deletions main/svtools/source/svrtf/parrtf.cxx
Expand Up @@ -24,8 +24,6 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_svtools.hxx"

/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil -*- */

#include <stdio.h> // for EOF
#include <rtl/tencinfo.h>
#include <tools/stream.hxx>
Expand All @@ -42,10 +40,10 @@ const int MAX_TOKEN_LEN = 128;

SvRTFParser::SvRTFParser( SvStream& rIn, sal_uInt8 nStackSize )
: SvParser( rIn, nStackSize ),
eUNICodeSet( RTL_TEXTENCODING_MS_1252 ), // default ist ANSI-CodeSet
eUNICodeSet( RTL_TEXTENCODING_MS_1252 ), // default is ANSI code set
nUCharOverread( 1 )
{
// default ist ANSI-CodeSet
// default is ANSI code set
SetSrcEncoding( RTL_TEXTENCODING_MS_1252 );
bRTF_InTextRead = false;
}
Expand Down Expand Up @@ -90,7 +88,7 @@ int SvRTFParser::_GetNextToken()
case ':': // subentry in an index entry
nRet = RTF_SUBENTRYINDEX;
break;
case '|': // formula-charakter
case '|': // formula-character
nRet = RTF_FORMULA;
break;

Expand Down Expand Up @@ -187,7 +185,7 @@ int SvRTFParser::_GetNextToken()
case RTF_UPR:
if (!_inSkipGroup) {
// UPR - overread the group with the ansi
// informations
// information
while( '{' != _GetNextToken() )
;
SkipGroup();
Expand Down Expand Up @@ -700,4 +698,4 @@ void SvRTFParser::RestoreState()
}
#endif

/* vi:set tabstop=4 shiftwidth=4 expandtab: */
/* vim: set noet sw=4 ts=4: */
12 changes: 5 additions & 7 deletions main/sw/source/filter/ascii/parasc.cxx
Expand Up @@ -23,8 +23,6 @@

// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil -*- */


#include <tools/stream.hxx>
#include <hintids.hxx>
Expand Down Expand Up @@ -211,7 +209,7 @@ sal_uLong SwASCIIParser::CallParser()
// default has changed or not. Even a comparison with the
// HTMLi template does not work, because the defaults are
// not copied when a new doc is created. The result of
// comparing pool defaults therfor would be that the
// comparing pool defaults therefor would be that the
// defaults are exported always if the have changed for
// text documents in general. That's not sensible, as well
// as it is not sensible to export them always.
Expand Down Expand Up @@ -386,7 +384,7 @@ sal_uLong SwASCIIParser::ReadChars()
pLastStt = ++pStt;
cLastCR = 0;
nLineLen = 0;
// JP 03.04.96: das letze am Ende nehmen wir nicht
// JP 03.04.96: das letzte am Ende nehmen wir nicht
if( !rInput.IsEof() || !(pEnd == pStt ||
( !*pEnd && pEnd == pStt+1 ) ) )
pDoc->SplitNode( *pPam->GetPoint(), false );
Expand All @@ -409,7 +407,7 @@ sal_uLong SwASCIIParser::ReadChars()
*pStt = 0;
++pStt;

// JP 03.04.96: das letze am Ende nehmen wir nicht
// JP 03.04.96: das letzte am Ende nehmen wir nicht
if( !rInput.IsEof() || pEnd != pStt )
bSplitNode = true;
}
Expand All @@ -435,7 +433,7 @@ sal_uLong SwASCIIParser::ReadChars()
else
bChkSplit = true;

// JP 03.04.96: das letze am Ende nehmen wir nicht
// JP 03.04.96: das letzte am Ende nehmen wir nicht
if( bChkSplit && ( !rInput.IsEof() || pEnd != pStt ))
bSplitNode = true;
}
Expand Down Expand Up @@ -520,4 +518,4 @@ void SwASCIIParser::InsertText( const String& rStr )
nScript |= pBreakIt->GetAllScriptsOfText( rStr );
}

/* vi:set tabstop=4 shiftwidth=4 expandtab: */
/* vim: set noet sw=4 ts=4: */

0 comments on commit ce48dd1

Please sign in to comment.