diff options
-rw-r--r-- | padmin/source/helper.cxx | 6 | ||||
-rw-r--r-- | padmin/source/newppdlg.cxx | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/padmin/source/helper.cxx b/padmin/source/helper.cxx index fbcde509c03a..ae5af28a972c 100644 --- a/padmin/source/helper.cxx +++ b/padmin/source/helper.cxx @@ -2,9 +2,9 @@ * * $RCSfile: helper.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: pl $ $Date: 2002-09-11 15:57:15 $ + * last change: $Author: rt $ $Date: 2002-12-02 17:30:36 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -330,7 +330,7 @@ bool padmin::chooseDirectory( Window* pParent, String& rInOutPath ) } } INetURLObject aObj( rInOutPath, INET_PROT_FILE, INetURLObject::ENCODE_ALL ); - xFolderPicker->setDisplayDirectory( aObj.GetMainURL() ); + xFolderPicker->setDisplayDirectory( aObj.GetMainURL(INetURLObject::DECODE_TO_IURI) ); if( xFolderPicker->execute() == ExecutableDialogResults::OK ) { aObj = INetURLObject( xFolderPicker->getDirectory() ); diff --git a/padmin/source/newppdlg.cxx b/padmin/source/newppdlg.cxx index b613f7d04321..9db507c8d7d9 100644 --- a/padmin/source/newppdlg.cxx +++ b/padmin/source/newppdlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: newppdlg.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: pl $ $Date: 2002-09-03 13:33:00 $ + * last change: $Author: rt $ $Date: 2002-12-02 17:33:44 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -237,14 +237,14 @@ IMPL_LINK( PPDImportDialog, ClickBtnHdl, PushButton*, pButton ) INetURLObject aFile( *(String*)m_aDriverLB.GetEntryData( m_aDriverLB.GetSelectEntryPos( i ) ), INET_PROT_FILE, INetURLObject::ENCODE_ALL ); - OUString aFromUni( aFile.GetMainURL() ); + OUString aFromUni( aFile.GetMainURL(INetURLObject::DECODE_TO_IURI) ); do { INetURLObject aToFile( *writeDir, INET_PROT_FILE, INetURLObject::ENCODE_ALL ); aToFile.Append( aFile.GetName() ); aToFile.setExtension( String::CreateFromAscii( "PPD" ) ); - OUString aToUni( aToFile.GetMainURL() ); + OUString aToUni( aToFile.GetMainURL(INetURLObject::DECODE_TO_IURI) ); if( ! File::copy( aFromUni, aToUni ) ) break; ++writeDir; |