diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-09 12:02:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-09 12:12:22 +0000 |
commit | ea86f1ca5c627da45da49e20f27ef112febc41e8 (patch) | |
tree | 0590319de1339d6677bf472b2d6dcd6a40a11cd6 /sot | |
parent | 9a30cb2161506e003f14592d83075ab9d30516c1 (diff) |
defaults are good enough
and protected isn't necessary
Change-Id: I6219632fe1da36d484864c2500e9ac14978f2cb8
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/base/filelist.cxx | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/sot/source/base/filelist.cxx b/sot/source/base/filelist.cxx index b22e2c62acda..8760d7aaa730 100644 --- a/sot/source/base/filelist.cxx +++ b/sot/source/base/filelist.cxx @@ -24,35 +24,6 @@ #include <osl/diagnose.h> #include <osl/thread.h> -/************************************************************************* -|* -|* FileList - Ctor/Dtor -|* -\*************************************************************************/ - -FileList::~FileList() -{ - ClearAll(); -} - -void FileList::ClearAll() -{ - aStrList.clear(); -} - -/************************************************************************* -|* -|* FileList - Zuweisungsoperator -|* -\*************************************************************************/ - -FileList& FileList::operator=( const FileList& rFileList ) -{ - for (const auto & i : rFileList.aStrList) - aStrList.push_back( i ); - return *this; -} - /****************************************************************************** |* |* Stream-Operatoren @@ -67,7 +38,7 @@ FileList& FileList::operator=( const FileList& rFileList ) resolved by the Windows clipboard bridge.*/ SvStream& ReadFileList( SvStream& rIStm, FileList& rFileList ) { - rFileList.ClearAll(); + rFileList.clear(); OUStringBuffer sBuf(512); sal_uInt16 c; |