diff options
Diffstat (limited to 'unodevtools/source/skeletonmaker')
-rw-r--r-- | unodevtools/source/skeletonmaker/skeletoncommon.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/unodevtools/source/skeletonmaker/skeletoncommon.cxx b/unodevtools/source/skeletonmaker/skeletoncommon.cxx index 98d388681ddf..90efd23e3168 100644 --- a/unodevtools/source/skeletonmaker/skeletoncommon.cxx +++ b/unodevtools/source/skeletonmaker/skeletoncommon.cxx @@ -81,9 +81,8 @@ bool getOutputStream(ProgramOptions const & options, { throw CannotDumpException( "cannot open " + b2u(targetSourceFileName) + " for writing"); - } else { - tmpSourceFileName = file.getName(); } + tmpSourceFileName = file.getName(); file.close(); *ppOutputStream = new std::ofstream(tmpSourceFileName.getStr(), std::ios_base::binary); |