diff options
author | Peter Burow <pb@openoffice.org> | 2000-10-12 11:48:45 +0000 |
---|---|---|
committer | Peter Burow <pb@openoffice.org> | 2000-10-12 11:48:45 +0000 |
commit | f411f821441af930b40920b35231461c53cefb9c (patch) | |
tree | a20bdb42575a1e6482374978fde594e287dc8771 /svx/source/dialog/pfiledlg.cxx | |
parent | gcc internal compiler error (diff) | |
download | core-f411f821441af930b40920b35231461c53cefb9c.tar.gz core-f411f821441af930b40920b35231461c53cefb9c.zip |
fix: #79209# set <All> as default filter
Diffstat (limited to 'svx/source/dialog/pfiledlg.cxx')
-rw-r--r-- | svx/source/dialog/pfiledlg.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/dialog/pfiledlg.cxx b/svx/source/dialog/pfiledlg.cxx index 9179296a14f1..8cc8eff17dd9 100644 --- a/svx/source/dialog/pfiledlg.cxx +++ b/svx/source/dialog/pfiledlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: pfiledlg.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: pb $ $Date: 2000-10-05 12:52:31 $ + * last change: $Author: pb $ $Date: 2000-10-12 12:48:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -187,12 +187,12 @@ SvxPluginFileDlg::SvxPluginFileDlg (Window *pParent, sal_uInt16 nKind ) } } - // Wildcat-Filter - AddFilter( SVX_RESSTR(STR_EXTFILTER_ALL), - UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "*.*" ) ) ); + // add the All-Filter + String aAllFilter( SVX_RESSTR(STR_EXTFILTER_ALL) ); + AddFilter( aAllFilter, UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "*.*" ) ) ); - // activate 1. filter - SetCurFilter (GetFilterName(GetFilterCount()-1)); + // and activate him + SetCurFilter( aAllFilter ); } /************************************************************************* |