https://bugs.documentfoundation.org/show_bug.cgi?id=167549

--- Comment #4 from Saburo <[email protected]> ---
I haven't tried it yet, but wouldn't changing FILEOPEN_READONLY_VERSION to
FILEOPEN_READONLY_VERSION_FILTEROPTIONS work?

https://opengrok.libreoffice.org/xref/core/sfx2/source/dialog/filedlghelper.cxx?r=4df292a3cabba02027b993a0805af7018c327182#1506

 // set the read-only flag. When inserting a file, this flag is always set
     if ( mbInsert )
         rpSet->Put( SfxBoolItem( SID_DOC_READONLY, true ) );
-    else if ( ( FILEOPEN_READONLY_VERSION == m_nDialogType ) &&
xCtrlAccess.is() )
+    else if ( ( FILEOPEN_READONLY_VERSION_FILTEROPTIONS == m_nDialogType ) &&
xCtrlAccess.is() )
     {

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to