summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-13 15:09:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-13 19:27:00 +0200
commit404e4d613ed62ee03b05db73b7e7783f5bccda12 (patch)
tree40030227f657af4ea74ae57df185f06dc9372a43
parenta93bb27aa46c84410c8848a6118d5d63d47be92c (diff)
utl::TempFile::CreateTempName pParent is unused
Change-Id: Ide12ea21104af678dc541ed0e83970e7a2f5e694
-rw-r--r--include/unotools/tempfile.hxx2
-rw-r--r--sw/source/ui/dbui/mmoutputpage.cxx2
-rw-r--r--unotools/source/ucbhelper/tempfile.cxx4
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 );