[sword-cvs] sword/include versekey.h,1.29,1.30
sword@www.crosswire.org
sword@www.crosswire.org
Tue, 12 Aug 2003 22:27:04 -0700
Update of /usr/local/cvsroot/sword/include
In directory www:/tmp/cvs-serv7697/include
Modified Files:
versekey.h
Log Message:
Index: versekey.h
===================================================================
RCS file: /usr/local/cvsroot/sword/include/versekey.h,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- versekey.h 28 Feb 2003 13:12:43 -0000 1.29
+++ versekey.h 13 Aug 2003 05:27:02 -0000 1.30
@@ -71,24 +71,20 @@
* Class VerseKey
* The SWKey implementation used for verse based modules like Bibles or commentaries.
*/
-class SWDLLEXPORT VerseKey:public SWKey
-{
- class LocaleCache
- {
+class SWDLLEXPORT VerseKey:public SWKey {
+ class LocaleCache {
public:
char *name;
unsigned int abbrevsCnt;
SWLocale *locale;
- LocaleCache()
- {
+ LocaleCache() {
name = 0;
abbrevsCnt = 0;
locale = 0;
}
- virtual ~LocaleCache()
- {
+ virtual ~LocaleCache() {
if (name)
- delete[]name;
+ delete[]name;
}
};