Kaydet (Commit) 404e4d61 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

utl::TempFile::CreateTempName pParent is unused

Change-Id: Ide12ea21104af678dc541ed0e83970e7a2f5e694
üst a93bb27a
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment