summaryrefslogtreecommitdiffstats
path: root/Source/cmListCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-05-12 15:56:09 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-05-12 15:56:09 (GMT)
commit7dc8a92246ced17f9f3cf6161f2ef07bdda51014 (patch)
treefd7f79bd2ffe4fe9d60d302403aeb317661c9d8a /Source/cmListCommand.cxx
parent4b176d7f45bc436caccfd582d98c0bf0123a6bb2 (diff)
downloadCMake-7dc8a92246ced17f9f3cf6161f2ef07bdda51014.zip
CMake-7dc8a92246ced17f9f3cf6161f2ef07bdda51014.tar.gz
CMake-7dc8a92246ced17f9f3cf6161f2ef07bdda51014.tar.bz2
STYLE: fix line length
Diffstat (limited to 'Source/cmListCommand.cxx')
-rw-r--r--Source/cmListCommand.cxx18
1 files changed, 13 insertions, 5 deletions
diff --git a/Source/cmListCommand.cxx b/Source/cmListCommand.cxx
index 6516f20..1a1a9d8 100644
--- a/Source/cmListCommand.cxx
+++ b/Source/cmListCommand.cxx
@@ -153,7 +153,9 @@ bool cmListCommand::HandleGetCommand(std::vector<std::string> const& args)
if ( item < 0 || nitem <= (size_t)item )
{
cmOStringStream str;
- str << "index: " << item << " out of range (-" << varArgsExpanded.size() << ", " << varArgsExpanded.size()-1 << ")";
+ str << "index: " << item << " out of range (-"
+ << varArgsExpanded.size() << ", "
+ << varArgsExpanded.size()-1 << ")";
this->SetError(str.str().c_str());
return false;
}
@@ -221,7 +223,9 @@ bool cmListCommand::HandleInsertCommand(std::vector<std::string> const& args)
if ( item < 0 || nitem <= (size_t)item )
{
cmOStringStream str;
- str << "index: " << item << " out of range (-" << varArgsExpanded.size() << ", " << varArgsExpanded.size()-1 << ")";
+ str << "index: " << item << " out of range (-"
+ << varArgsExpanded.size() << ", "
+ << varArgsExpanded.size()-1 << ")";
this->SetError(str.str().c_str());
return false;
}
@@ -293,11 +297,13 @@ bool cmListCommand::HandleRemoveCommand(std::vector<std::string> const& args)
}
//----------------------------------------------------------------------------
-bool cmListCommand::HandleRemoveItemCommand(std::vector<std::string> const& args)
+bool cmListCommand
+::HandleRemoveItemCommand(std::vector<std::string> const& args)
{
if(args.size() < 3)
{
- this->SetError("sub-command REMOVE_ITEM requires at least two arguments.");
+ this->SetError("sub-command REMOVE_ITEM requires at least "
+ "two arguments.");
return false;
}
@@ -322,7 +328,9 @@ bool cmListCommand::HandleRemoveItemCommand(std::vector<std::string> const& args
if ( item < 0 || nitem <= (size_t)item )
{
cmOStringStream str;
- str << "index: " << item << " out of range (-" << varArgsExpanded.size() << ", " << varArgsExpanded.size()-1 << ")";
+ str << "index: " << item << " out of range (-"
+ << varArgsExpanded.size() << ", "
+ << varArgsExpanded.size()-1 << ")";
this->SetError(str.str().c_str());
return false;
}