utl::TempFile::CreateTempName pParent is unused
Change-Id: Ide12ea21104af678dc541ed0e83970e7a2f5e694
This commit is contained in:
parent
a93bb27aa4
commit
404e4d613e
@ -136,7 +136,7 @@ public:
|
||||
If you want to convert file name into a URL, always use class LocalFileHelper, but never use any
|
||||
conversion functions of osl.
|
||||
*/
|
||||
static OUString CreateTempName( const OUString* pParent=NULL );
|
||||
static OUString CreateTempName();
|
||||
|
||||
/**
|
||||
The TempNameBaseDirectory is a subfolder in the folder that is passed as a "physical" file name in the
|
||||
|
@ -1093,7 +1093,7 @@ IMPL_LINK(SwMailMergeOutputPage, SendDocumentsHdl_Impl, PushButton*, pButton)
|
||||
//then save it
|
||||
SfxStringItem aName(SID_FILE_NAME,
|
||||
URIHelper::SmartRel2Abs(
|
||||
INetURLObject(), utl::TempFile::CreateTempName(0),
|
||||
INetURLObject(), utl::TempFile::CreateTempName(),
|
||||
URIHelper::GetMaybeFileHdl()) );
|
||||
|
||||
{
|
||||
|
@ -317,10 +317,10 @@ void lcl_createName(TempFile_Impl& _rImpl,const OUString& rLeadingChars, bool _b
|
||||
}
|
||||
}
|
||||
|
||||
OUString TempFile::CreateTempName( const OUString* pParent )
|
||||
OUString TempFile::CreateTempName()
|
||||
{
|
||||
// get correct directory
|
||||
OUString aName = ConstructTempDir_Impl( pParent );
|
||||
OUString aName = ConstructTempDir_Impl( 0 );
|
||||
|
||||
// get TempFile name with default naming scheme
|
||||
CreateTempName_Impl( aName, false );
|
||||
|
Loading…
x
Reference in New Issue
Block a user