1 --- sfx2/source/dialog/filedlghelper.cxx 2008-04-15 16:18:43.000000000 +0200
2 +++ sfx2/source/dialog/filedlghelper.cxx 2008-05-08 08:03:49.000000000 +0200
7 - aValue = xDlg->getValue( ExtendedFilePickerElementIds::CHECKBOX_LINK, 0 );
8 sal_Bool bValue = sal_False;
10 - aUserData.SetToken( 0, ' ', String::CreateFromInt32( (sal_Int32) bValue ) );
12 aValue = xDlg->getValue( ExtendedFilePickerElementIds::CHECKBOX_PREVIEW, 0 );
15 @@ -2089,14 +2085,6 @@
19 - // respect the last "insert as link" state
20 - sal_Bool bLink = (sal_Bool) aUserData.GetToken( 0, ' ' ).ToInt32();
21 - if ( !xDlg->getValue( ExtendedFilePickerElementIds::CHECKBOX_LINK, 0 ).hasValue() )
24 - xDlg->setValue( ExtendedFilePickerElementIds::CHECKBOX_LINK, 0, aValue );
27 // respect the last "show preview" state
28 sal_Bool bShowPreview = (sal_Bool) aUserData.GetToken( 1, ' ' ).ToInt32();
29 if ( !xDlg->getValue( ExtendedFilePickerElementIds::CHECKBOX_PREVIEW, 0 ).hasValue() )