summaryrefslogtreecommitdiff
path: root/sot/source
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source')
-rw-r--r--sot/source/sdstor/stg.cxx4
-rw-r--r--sot/source/sdstor/stgstrms.cxx4
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;