View | Details | Raw Unified | Return to issue 46480
Collapse All | Expand All

(-)a/main/sfx2/source/doc/docfile.cxx (-2 / +1 lines)
Lines 2125-2132 void SfxMedium::DoBackup_Impl() Link Here
2125
		{
2125
		{
2126
        	// save as ".bak" file
2126
        	// save as ".bak" file
2127
        	INetURLObject aDest( aBakDir );
2127
        	INetURLObject aDest( aBakDir );
2128
        	aDest.insertName( aSource.getName() );
2128
        	aDest.insertName( aSource.getName() + DEFINE_CONST_UNICODE( ".bak" ));
2129
        	aDest.setExtension( DEFINE_CONST_UNICODE( "bak" ) );
2130
        	String aFileName = aDest.getName( INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET );
2129
        	String aFileName = aDest.getName( INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET );
2131
2130
2132
        	// create a content for the source file
2131
        	// create a content for the source file

Return to issue 46480