summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/source/fsys/tempfile.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/source/fsys/tempfile.cxx b/tools/source/fsys/tempfile.cxx
index 7a69e2e7696c..0a38cb6fbb57 100644
--- a/tools/source/fsys/tempfile.cxx
+++ b/tools/source/fsys/tempfile.cxx
@@ -169,11 +169,7 @@ String TempFile::CreateTempName( const String* pParent )
// get TempFile name with default naming scheme
CreateTempName_Impl( aName, sal_False );
- // convert to file URL
- rtl::OUString aTmp;
- if ( aName.Len() )
- aTmp = aName;
- return aTmp;
+ return aName;
}
TempFile::TempFile( const String* pParent, sal_Bool bDirectory )