summaryrefslogtreecommitdiff
path: root/fpicker/source/win32/VistaFilePickerImpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/win32/VistaFilePickerImpl.cxx')
-rw-r--r--fpicker/source/win32/VistaFilePickerImpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/win32/VistaFilePickerImpl.cxx b/fpicker/source/win32/VistaFilePickerImpl.cxx
index d6e10115ac82..7d3b4d014450 100644
--- a/fpicker/source/win32/VistaFilePickerImpl.cxx
+++ b/fpicker/source/win32/VistaFilePickerImpl.cxx
@@ -996,7 +996,7 @@ void VistaFilePickerImpl::impl_sta_ShowDialogModal(const RequestRef& rRequest)
{
const sal_Int32 idx = sFilter.indexOf('.');
if (idx >= 0)
- aFileURL += sFilter.copy(idx);
+ aFileURL += sFilter.subView(idx);
}
}
}