diff options
-rw-r--r-- | include/unotools/tempfile.hxx | 2 | ||||
-rw-r--r-- | sw/source/ui/dbui/mmoutputpage.cxx | 2 | ||||
-rw-r--r-- | unotools/source/ucbhelper/tempfile.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/unotools/tempfile.hxx b/include/unotools/tempfile.hxx index 26c0581c73ff..659cdc7919b5 100644 --- a/include/unotools/tempfile.hxx +++ b/include/unotools/tempfile.hxx @@ -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 diff --git a/sw/source/ui/dbui/mmoutputpage.cxx b/sw/source/ui/dbui/mmoutputpage.cxx index c276b4bdc7b9..1e9da5fa3a70 100644 --- a/sw/source/ui/dbui/mmoutputpage.cxx +++ b/sw/source/ui/dbui/mmoutputpage.cxx @@ -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()) ); { diff --git a/unotools/source/ucbhelper/tempfile.cxx b/unotools/source/ucbhelper/tempfile.cxx index 60536779c79f..be2b8a15fc6a 100644 --- a/unotools/source/ucbhelper/tempfile.cxx +++ b/unotools/source/ucbhelper/tempfile.cxx @@ -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 ); |