tpaction.cxx (c7be74b1) | tpaction.cxx (32698fcc) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 470 unchanged lines hidden (view full) --- 479 sfx2::FileDialogHelper aFileDialog(WB_OPEN | WB_3DLOOK | WB_STDMODAL ); 480 481 if (bDocument && !aFile.Len()) 482 aFile = SvtPathOptions().GetWorkPath(); 483 484 aFileDialog.SetDisplayDirectory( aFile ); 485 486 // The following is a fix for #1008001# and a workarround for | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 470 unchanged lines hidden (view full) --- 479 sfx2::FileDialogHelper aFileDialog(WB_OPEN | WB_3DLOOK | WB_STDMODAL ); 480 481 if (bDocument && !aFile.Len()) 482 aFile = SvtPathOptions().GetWorkPath(); 483 484 aFileDialog.SetDisplayDirectory( aFile ); 485 486 // The following is a fix for #1008001# and a workarround for |
487 // #i4306#: The addition of the implicitely existing "all files" | 487 // #i4306#: The addition of the implicitly existing "all files" |
488 // filter makes the (Windows system) open file dialog follow 489 // links on the desktop to directories. 490 aFileDialog.AddFilter ( 491 String (SfxResId (STR_SFX_FILTERNAME_ALL)), 492 String (RTL_CONSTASCII_USTRINGPARAM("*.*"))); 493 494 495 if( aFileDialog.Execute() == ERRCODE_NONE ) --- 429 unchanged lines hidden --- | 488 // filter makes the (Windows system) open file dialog follow 489 // links on the desktop to directories. 490 aFileDialog.AddFilter ( 491 String (SfxResId (STR_SFX_FILTERNAME_ALL)), 492 String (RTL_CONSTASCII_USTRINGPARAM("*.*"))); 493 494 495 if( aFileDialog.Execute() == ERRCODE_NONE ) --- 429 unchanged lines hidden --- |