diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 13:30:38 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 13:30:38 +0000 |
commit | 5c6fe64ed55c9f1717bd855d5c114a9b9ab20d40 (patch) | |
tree | dd4e9e42e9b4aa0d62e0ce4350e6d57fd10ad2c6 /cosv | |
parent | 1a92801d576f057a5526a1b58194383e5f7195d5 (diff) |
INTEGRATION: CWS warnings01 (1.6.14); FILE MERGED
2005/11/07 12:09:07 sb 1.6.14.3: #i53898# Made code warning-free (additional -W switches for GCC).
2005/09/22 22:17:08 sb 1.6.14.2: RESYNC: (1.6-1.7); FILE MERGED
2005/08/30 13:13:57 sb 1.6.14.1: #i53898# Made code warning-free.
Diffstat (limited to 'cosv')
-rw-r--r-- | cosv/source/storage/ploc_dir.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cosv/source/storage/ploc_dir.cxx b/cosv/source/storage/ploc_dir.cxx index bbde7c0b3e1a..ee93b3cf8cdf 100644 --- a/cosv/source/storage/ploc_dir.cxx +++ b/cosv/source/storage/ploc_dir.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ploc_dir.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: rt $ $Date: 2005-09-08 08:07:30 $ + * last change: $Author: hr $ $Date: 2006-06-19 14:30:38 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -56,7 +56,7 @@ Directory::Directory( const Path & i_rPath ) } Directory::Directory( const Directory & i_rDir ) - : aPath(i_rDir.aPath) + : Persistent(), aPath(i_rDir.aPath) // sPath { } @@ -274,8 +274,8 @@ Directory::GetContainedDirectories( StringVector & o_rResult ) const if ( (aEntryStatus.st_mode & S_IFDIR) == S_IFDIR AND *pEntry->d_name != '.' ) { - String sNew(pEntry->d_name); - o_rResult.push_back(sNew); + String sNew2(pEntry->d_name); + o_rResult.push_back(sNew2); } // endif (aEntry.attrib == _A_SUBDIR) } // end while closedir( pDir ); |