Kaydet (Commit) 3f2ac501 authored tarafından Caolán McNamara's avatar Caolán McNamara

tdf#121713 give filter a name

Change-Id: Ia1a45e7292a61efd21c4a7351af1a681b92e886e
Reviewed-on: https://gerrit.libreoffice.org/64077
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst b4111e9b
......@@ -391,6 +391,9 @@
#define RID_SVXSTR_SHADOW_STYLE_TOPLEFT NC_("RID_SVXSTR_SHADOW_STYLE_TOPLEFT", "Cast Shadow to Top Left")
#define RID_SVXSTR_SIGNATURELINE_SIGNED_BY NC_("RID_SVXSTR_SIGNATURELINE_SIGNED_BY", "Signed by: %1")
#define RID_SVXSTR_OPENCL_RESTART NC_("RID_SVXSTR_OPENCL_RESTART", "For the OpenCL changes to take effect, %PRODUCTNAME must be restarted.")
#define RID_SVXSTR_FILTER_ALL NC_("RID_SVXSTR_FILTER_ALL", "All files")
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -98,10 +98,7 @@ IMPL_LINK_NOARG(SvInsertOleDlg, BrowseHdl, weld::Button&, void)
// add filter
try
{
xFilePicker->appendFilter(
OUString(),
"*.*"
);
xFilePicker->appendFilter(CuiResId(RID_SVXSTR_FILTER_ALL), "*.*");
}
catch( const IllegalArgumentException& )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment