[sword-svn] r2976 - trunk/src/modules
scribe at crosswire.org
scribe at crosswire.org
Tue Sep 10 07:09:44 MST 2013
Author: scribe
Date: 2013-09-10 07:09:44 -0700 (Tue, 10 Sep 2013)
New Revision: 2976
Modified:
trunk/src/modules/swmodule.cpp
Log:
updated to coding style (remove space indents, replacing with tabs)
Modified: trunk/src/modules/swmodule.cpp
===================================================================
--- trunk/src/modules/swmodule.cpp 2013-09-10 12:11:46 UTC (rev 2975)
+++ trunk/src/modules/swmodule.cpp 2013-09-10 14:09:44 UTC (rev 2976)
@@ -134,17 +134,17 @@
}
stripFilters->clear();
- rawFilters->clear();
- renderFilters->clear();
- optionFilters->clear();
- encodingFilters->clear();
+ rawFilters->clear();
+ renderFilters->clear();
+ optionFilters->clear();
+ encodingFilters->clear();
entryAttributes.clear();
- delete stripFilters;
- delete rawFilters;
- delete renderFilters;
- delete optionFilters;
- delete encodingFilters;
+ delete stripFilters;
+ delete rawFilters;
+ delete renderFilters;
+ delete optionFilters;
+ delete encodingFilters;
}
@@ -225,7 +225,7 @@
* RET: char direction
*/
char SWModule::getDirection() const {
- return direction;
+ return direction;
}
@@ -253,8 +253,8 @@
* */
char SWModule::display() {
- disp->display(*this);
- return 0;
+ disp->display(*this);
+ return 0;
}
/******************************************************************************
@@ -403,10 +403,10 @@
SWBuf lastBuf = "";
#ifdef USECXX11REGEX
- std::locale oldLocale;
- std::locale::global(std::locale("en_US.UTF-8"));
+ std::locale oldLocale;
+ std::locale::global(std::locale("en_US.UTF-8"));
- std::regex preg;
+ std::regex preg;
#else
regex_t preg;
#endif
@@ -420,10 +420,10 @@
// determine if we might be doing special strip searches. useful for knowing if we can use shortcuts
bool specialStrips = (getConfigEntry("LocalStripFilter")
- || (getConfig().has("GlobalOptionFilter", "UTF8GreekAccents"))
- || (getConfig().has("GlobalOptionFilter", "UTF8HebrewPoints"))
- || (getConfig().has("GlobalOptionFilter", "UTF8ArabicPoints"))
- || (strchr(istr, '<')));
+ || (getConfig().has("GlobalOptionFilter", "UTF8GreekAccents"))
+ || (getConfig().has("GlobalOptionFilter", "UTF8HebrewPoints"))
+ || (getConfig().has("GlobalOptionFilter", "UTF8ArabicPoints"))
+ || (strchr(istr, '<')));
setProcessEntryAttributes(searchType == -3);
@@ -1078,7 +1078,7 @@
VerseKey *vkcheck = 0;
vkcheck = SWDYNAMIC_CAST(VerseKey, key);
VerseKey *chapMax = 0;
- if (vkcheck) chapMax = (VerseKey *)vkcheck->clone();
+ if (vkcheck) chapMax = (VerseKey *)vkcheck->clone();
TreeKeyIdx *tkcheck = 0;
tkcheck = SWDYNAMIC_CAST(TreeKeyIdx, key);
@@ -1395,7 +1395,7 @@
if (searchKey)
delete searchKey;
- delete chapMax;
+ delete chapMax;
setProcessEntryAttributes(savePEA);
More information about the sword-cvs
mailing list