summaryrefslogtreecommitdiff
path: root/svtools/source/uno/wizard
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/uno/wizard')
-rw-r--r--svtools/source/uno/wizard/unowizard.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svtools/source/uno/wizard/unowizard.cxx b/svtools/source/uno/wizard/unowizard.cxx
index ea028304737a..9c503d37e114 100644
--- a/svtools/source/uno/wizard/unowizard.cxx
+++ b/svtools/source/uno/wizard/unowizard.cxx
@@ -226,8 +226,7 @@ namespace {
if ( !aMultiplePaths.hasElements() )
{
- aMultiplePaths.realloc(1);
- aMultiplePaths[0] = aSinglePath;
+ aMultiplePaths = { aSinglePath };
}
lcl_checkPaths( aMultiplePaths, *this );
// if we survived this, the paths are valid, and we're done here ...