diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-28 21:27:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-29 09:56:07 +0100 |
commit | 11de7bc8c8091a434b046cb8377b5d9d06ca97a5 (patch) | |
tree | eca8801eb186340413c24cb1024787e33a319d14 /svtools | |
parent | ByteString::GetQuotedToken isn't actually implemented, remove from api (diff) | |
download | core-11de7bc8c8091a434b046cb8377b5d9d06ca97a5.tar.gz core-11de7bc8c8091a434b046cb8377b5d9d06ca97a5.zip |
deconfuse this api somewhat
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/dialogs/filedlg2.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/dialogs/filedlg2.cxx b/svtools/source/dialogs/filedlg2.cxx index 7323ce91e428..4723344fa7ed 100644 --- a/svtools/source/dialogs/filedlg2.cxx +++ b/svtools/source/dialogs/filedlg2.cxx @@ -904,7 +904,7 @@ IMPL_LINK( ImpFileDialog, DblClickHdl, ListBox *, pBox ) // Neue Maske setzen, und Listboxen updaten size_t nCurPos = pTypeList->GetSelectEntryPos(); if( nCurPos+1 > aFilterList.size() ) - aMask = UniString::CreateFromAscii( ALLFILES ); + aMask.setGlob(UniString::CreateFromAscii( ALLFILES )); else { UniString aFilterListMask = aFilterList[ nCurPos ]->aMask; @@ -943,7 +943,7 @@ IMPL_LINK( ImpFileDialog, ClickHdl, Button*, pBtn ) // -> abschneiden und merken if( FileStat( aFile ).GetKind() & (FSYS_KIND_FILE | FSYS_KIND_WILD) || !aFile.Exists() ) { - aMask = aFile.CutName(); + aMask.setGlob(aFile.CutName()); } // Neue Maske und neues Verzeichnis setzen, und Listboxen updaten @@ -1147,7 +1147,7 @@ void ImpFileDialog::SetPath( UniString const & rPath ) // -> abschneiden und merken if( FileStat( aFile ).GetKind() & (FSYS_KIND_FILE | FSYS_KIND_WILD) || !aFile.Exists() ) { - aMask = aFile.CutName(); + aMask.setGlob(aFile.CutName()); // Neue Maske und neues Verzeichnis setzen, und Listboxen updaten if( pDirList ) @@ -1232,10 +1232,10 @@ void ImpFileDialog::PreExecute() aMask = WildCard( aFilterListMask, ';' ); } else - aMask = UniString::CreateFromAscii( ALLFILES ); + aMask.setGlob(UniString::CreateFromAscii( ALLFILES )); } else - aMask = UniString::CreateFromAscii( ALLFILES ); + aMask.setGlob(UniString::CreateFromAscii( ALLFILES )); // Neue Maske setzen if( pEdit->GetText().Len() == 0 ) |