diff options
author | Palenik Mihály <palenik.mihaly@gmail.com> | 2013-07-16 16:37:36 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2013-07-16 18:40:45 +0000 |
commit | 9c0a390489dd99aee4beaf73845740776b8083aa (patch) | |
tree | 6c833c56639e77c7fe6e7fcd6c7be9a39d96c200 /sot | |
parent | 22adf4e70a4b4a8d188909f39b386e738e3cd37e (diff) |
fdo#63133: Write tools/tempfile.hxx out
I deleted TempFile class and changed it to utl::TempFile class
-which in unotools/tempfile.hxx- in the followings: Storage,
StgTmpStrm, SwXMailMerge classes; and RenderAsEMF function.
I modified header in precompiled_sw.hxx.
Change-Id: I3dae5333dc42538e1b905f6a6bbc85534c591dc1
Reviewed-on: https://gerrit.libreoffice.org/4938
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stg.cxx | 4 | ||||
-rw-r--r-- | sot/source/sdstor/stgstrms.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx index 2fcf0d58c619..e5d49edb9043 100644 --- a/sot/source/sdstor/stg.cxx +++ b/sot/source/sdstor/stg.cxx @@ -20,7 +20,7 @@ #include <sot/storinfo.hxx> #include <osl/file.hxx> -#include <tools/tempfile.hxx> +#include <unotools/tempfile.hxx> #include <tools/stream.hxx> #include <tools/debug.hxx> @@ -371,7 +371,7 @@ Storage::Storage( const OUString& rFile, StreamMode m, bool bDirect ) if( aName.isEmpty() ) { // no name = temporary name! - aName = TempFile::CreateTempName(); + aName = utl::TempFile::CreateTempName(); bTemp = true; } // the root storage creates the I/O system diff --git a/sot/source/sdstor/stgstrms.cxx b/sot/source/sdstor/stgstrms.cxx index 1561204e1e3e..1afbf2125527 100644 --- a/sot/source/sdstor/stgstrms.cxx +++ b/sot/source/sdstor/stgstrms.cxx @@ -22,7 +22,7 @@ #include <string.h> // memcpy() #include <sal/log.hxx> #include <osl/file.hxx> -#include <tools/tempfile.hxx> +#include <unotools/tempfile.hxx> #include "sot/stg.hxx" #include "stgelem.hxx" @@ -1186,7 +1186,7 @@ void StgTmpStrm::SetSize( sal_uLong n ) { if( n > THRESHOLD ) { - aName = TempFile::CreateTempName(); + aName = utl::TempFile::CreateTempName(); SvFileStream* s = new SvFileStream( aName, STREAM_READWRITE ); sal_uLong nCur = Tell(); sal_uLong i = nEndOfData; |