summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/docvor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/docvor.cxx')
-rw-r--r--sfx2/source/doc/docvor.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sfx2/source/doc/docvor.cxx b/sfx2/source/doc/docvor.cxx
index 1a6204506d85..b67d273f0a2c 100644
--- a/sfx2/source/doc/docvor.cxx
+++ b/sfx2/source/doc/docvor.cxx
@@ -2221,7 +2221,9 @@ IMPL_LINK( SfxOrganizeDlg_Impl, AddFiles_Impl, Button *, pButton )
(void)pButton; //unused
if ( pFileDlg )
delete pFileDlg;
- pFileDlg = new sfx2::FileDialogHelper( 0, String() );
+ pFileDlg = new sfx2::FileDialogHelper(
+ ui::dialogs::TemplateDescription::FILEOPEN_READONLY_VERSION,
+ 0, String() );
// add config and basic filter
static String sOpenBracket( DEFINE_CONST_UNICODE( " (" ) );