summaryrefslogtreecommitdiff
path: root/autodoc/source/inc/tools
diff options
context:
space:
mode:
Diffstat (limited to 'autodoc/source/inc/tools')
-rw-r--r--autodoc/source/inc/tools/filecoll.hxx12
-rw-r--r--autodoc/source/inc/tools/tkpchars.hxx56
2 files changed, 34 insertions, 34 deletions
diff --git a/autodoc/source/inc/tools/filecoll.hxx b/autodoc/source/inc/tools/filecoll.hxx
index c30f864a242f..89756c524586 100644
--- a/autodoc/source/inc/tools/filecoll.hxx
+++ b/autodoc/source/inc/tools/filecoll.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -42,15 +42,15 @@ class FileCollector : public autodoc::FileCollector_Ifc
public:
// LIFECYCLE
FileCollector(
- uintt i_nRoughNrOfFiles = 0 );
+ uintt i_nRoughNrOfFiles = 0 );
// OPERATIONS
virtual uintt AddFilesFrom(
- const char * i_sRootDir,
- const char * i_sFilter,
- E_SearchMode i_eSearchMode );
+ const char * i_sRootDir,
+ const char * i_sFilter,
+ E_SearchMode i_eSearchMode );
virtual uintt AddFile(
- const char * i_sFilePath );
+ const char * i_sFilePath );
virtual void EraseAll();
// INQUIRY
diff --git a/autodoc/source/inc/tools/tkpchars.hxx b/autodoc/source/inc/tools/tkpchars.hxx
index 780352b888b3..a1aa7970d238 100644
--- a/autodoc/source/inc/tools/tkpchars.hxx
+++ b/autodoc/source/inc/tools/tkpchars.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -38,7 +38,7 @@
-/** @descr
+/** @descr
dpSource:
@@ -54,7 +54,7 @@
c := The current cursor position.
- @needs cosv.lib
+ @needs cosv.lib
@use This class can be used by any parser to get the chars of a
text one by one and separate them to tokens.
@@ -72,13 +72,13 @@ class CharacterSource
If in_rSource is a file, it has to be open of course.
After loading the text, the CurChar() is set on the begin of the text.
**/
- void LoadText(
- csv::bstream & io_rSource);
+ void LoadText(
+ csv::bstream & io_rSource);
void InsertTextAtCurPos(
const char * i_sText2Insert );
- /// @return CurChar() after moving forward one char.
+ /// @return CurChar() after moving forward one char.
char MoveOn();
/** @return
The token which starts at the char which was CurChar(), when
@@ -87,52 +87,52 @@ class CharacterSource
Value is valid until the next call of CutToken() or ~CharacterSource().
**/
- const char * CutToken();
+ const char * CutToken();
// INQUIRY
char CurChar() const;
/// @return The result of the last CutToken(). Or NULL, if there was none yet.
- const char * CurToken() const;
+ const char * CurToken() const;
// INQUIRY
/// @return true, if
- bool IsFinished() const;
+ bool IsFinished() const;
private:
struct S_SourceState
{
- DYN char * dpSource;
- intt nSourceSize;
+ DYN char * dpSource;
+ intt nSourceSize;
- intt nCurPos;
- intt nLastCut;
- intt nLastTokenStart;
- char cCharAtLastCut;
+ intt nCurPos;
+ intt nLastCut;
+ intt nLastTokenStart;
+ char cCharAtLastCut;
S_SourceState(
- DYN char * dpSource,
- intt nSourceSize,
- intt nCurPos,
- intt nLastCut,
- intt nLastTokenStart,
- char cCharAtLastCut );
+ DYN char * dpSource,
+ intt nSourceSize,
+ intt nCurPos,
+ intt nLastCut,
+ intt nLastTokenStart,
+ char cCharAtLastCut );
};
void BeginSource();
- intt CurPos() const;
+ intt CurPos() const;
char MoveOn_OverStack();
// DATA
std::stack< S_SourceState >
aSourcesStack;
- DYN char * dpSource;
- intt nSourceSize;
+ DYN char * dpSource;
+ intt nSourceSize;
- intt nCurPos;
- intt nLastCut;
- intt nLastTokenStart;
- char cCharAtLastCut;
+ intt nCurPos;
+ intt nLastCut;
+ intt nLastTokenStart;
+ char cCharAtLastCut;
};