Signed-off-by: Laurent Charrière <lcharriere@gmail.com>
---
xml2cmp/source/support/sistr.hxx | 4 ++--
xml2cmp/source/xcd/main.cxx | 4 ++--
xml2cmp/source/xcd/parse.cxx | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/xml2cmp/source/support/sistr.hxx b/xml2cmp/source/support/sistr.hxx
index 7ed5840..deb7d6e 100644
--- a/xml2cmp/source/support/sistr.hxx
+++ b/xml2cmp/source/support/sistr.hxx
@@ -51,8 +51,8 @@ class Simstr
// diverse utility functions
const char * str() const { return sz; }
- char * s(); // ATTENTION !!! // Only to be used, when a function needs a
'char*' but
- // nevertheless THAT WILL BE NOT CHANGED!
+ char * s(); // CAUTION!!! // Only use when a function needs a 'char*' but
+ // still will NOT MODIFY THE STRING!
// Typecasts to 'const char*' are performed
automatically.
int l() const; // Length of string without '\0' at end.
Simstr operator+(
diff --git a/xml2cmp/source/xcd/main.cxx b/xml2cmp/source/xcd/main.cxx
index 377cd9a..3f3a325 100644
--- a/xml2cmp/source/xcd/main.cxx
+++ b/xml2cmp/source/xcd/main.cxx
@@ -134,10 +134,10 @@ Do_IndexCommandLine(const CommandLine & i_rCommandLine)
i_rCommandLine.IdlRootPath(),
i_rCommandLine.IndexedTags() );
- std::cout << "Gather xml-files ..." << std::endl;
+ std::cout << "Gathering xml-files ..." << std::endl;
GatherFileNames( aFiles, i_rCommandLine.XmlSrcDirectory() );
- std::cout << "Create output ..." << std::endl;
+ std::cout << "Creating output ..." << std::endl;
aIndex.GatherData(aFiles);
aIndex.WriteOutput( i_rCommandLine.IndexOutputFile() );
diff --git a/xml2cmp/source/xcd/parse.cxx b/xml2cmp/source/xcd/parse.cxx
index 20198cf..9a7b4f6 100644
--- a/xml2cmp/source/xcd/parse.cxx
+++ b/xml2cmp/source/xcd/parse.cxx
@@ -216,7 +216,7 @@ X2CParser::Parse_SglAttr( Simstr & o_sAttrValue,
Pass_White();
if (*text == '>')
- SyntaxError("no attribute found, where one was expected");
+ SyntaxError("no attribute found where one was expected");
Simstr sAttrName;
Get_Attribute(o_sAttrValue, sAttrName);
if (sAttrName != i_sAttrName)
--
1.7.1
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.