summaryrefslogtreecommitdiff
path: root/wizards/source/webwizard/Bullets.xba
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/source/webwizard/Bullets.xba')
-rw-r--r--wizards/source/webwizard/Bullets.xba4
1 files changed, 3 insertions, 1 deletions
diff --git a/wizards/source/webwizard/Bullets.xba b/wizards/source/webwizard/Bullets.xba
index 64953a4610a2..78b8fa0b0d52 100644
--- a/wizards/source/webwizard/Bullets.xba
+++ b/wizards/source/webwizard/Bullets.xba
@@ -99,7 +99,9 @@ Dim oSize as New com.sun.star.awt.Size
bDoReplace = True
BulletName = FileNameoutofPath(oLevel(i).Value)
If bIsFirstRun Then
- FileCopy(oLevel(i).Value, SavePath & BulletName)
+ If oUcb.exists(SavePath & Bulletname) Then
+ FileCopy(oLevel(i).Value, SavePath & BulletName)
+ End If
End If
oNewBuffer(i).Value = BulletName
' ElseIf oLevel(i).Name = "GraphicSize" Then