summaryrefslogtreecommitdiff
path: root/padmin/source/newppdlg.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-01-07 14:43:14 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-01-07 14:43:14 +0000
commit2a9b558d0590d051f7efc5e492b4f6fabc965ad4 (patch)
tree23c79b434377a54f204e8438c99166727ed09117 /padmin/source/newppdlg.cxx
parentcd26d22ff4e7ea922f901b4cc9121928ee375cc6 (diff)
INTEGRATION: CWS geordi2q12 (1.8.64); FILE MERGED
2004/01/07 12:25:09 hr 1.8.64.1: #111934#: merge CWS mnemonics -> SRC680
Diffstat (limited to 'padmin/source/newppdlg.cxx')
-rw-r--r--padmin/source/newppdlg.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/padmin/source/newppdlg.cxx b/padmin/source/newppdlg.cxx
index 7756e0123c5d..295ed61d9f69 100644
--- a/padmin/source/newppdlg.cxx
+++ b/padmin/source/newppdlg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: newppdlg.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: vg $ $Date: 2003-05-28 12:36:18 $
+ * last change: $Author: rt $ $Date: 2004-01-07 15:43:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -71,6 +71,9 @@
#ifndef _SV_SVAPP_HXX
#include <vcl/svapp.hxx>
#endif
+#ifndef _SV_MNEMONIC_HXX
+#include <vcl/mnemonic.hxx>
+#endif
#ifndef _URLOBJ_HXX
#include <tools/urlobj.hxx>
#endif
@@ -121,8 +124,7 @@ PPDImportDialog::PPDImportDialog( Window* pParent ) :
String aText( m_aDriverTxt.GetText() );
aText.SearchAndReplaceAscii( "%s", Button::GetStandardText( BUTTON_OK ) );
- aText.EraseAllChars( '~' );
- m_aDriverTxt.SetText( aText );
+ m_aDriverTxt.SetText( MnemonicGenerator::EraseAllMnemonicChars( aText ) );
Config& rConfig = getPadminRC();
rConfig.SetGroup( PPDIMPORT_GROUP );