diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-05-13 18:17:54 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-05-13 19:27:00 +0200 |
commit | a699927c563b6448014e6e96c71d0eb9714136d7 (patch) | |
tree | 16710ffeb0506b1bf0a57e1a2347dac28a9199e9 /include/unotools | |
parent | 404e4d613ed62ee03b05db73b7e7783f5bccda12 (diff) |
Elide utl::TempFile_Impl
Change-Id: I8f14cd351c17abaa9d48144cdf8325afc250787b
Diffstat (limited to 'include/unotools')
-rw-r--r-- | include/unotools/tempfile.hxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/unotools/tempfile.hxx b/include/unotools/tempfile.hxx index 659cdc7919b5..3299e581b016 100644 --- a/include/unotools/tempfile.hxx +++ b/include/unotools/tempfile.hxx @@ -26,8 +26,6 @@ namespace utl { -struct TempFile_Impl; - /** The class TempFile gives access to temporary files in the local file system. Sometimes they are needed because a 3rd party code has a file name based interface, or some file access has to be done locally without transferring tons of bytes to or @@ -46,8 +44,11 @@ struct TempFile_Impl; class UNOTOOLS_DLLPUBLIC TempFile { - TempFile_Impl* pImp; - bool bKillingFileEnabled; + OUString aName; + OUString aURL; + SvStream* pStream; + bool bIsDirectory; + bool bKillingFileEnabled; // prevent copy c'tor TempFile( const TempFile& ); @@ -99,7 +100,7 @@ public: If no UCP is available for the local file system, an empty URL is returned. In this case you can't access the file as a UCB content ! */ - OUString GetURL() const; + OUString GetURL(); /** Returns the "physical" name of the tempfile in host notation ( should only be used for 3rd party code |