summaryrefslogtreecommitdiff
path: root/padmin/source/padialog.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2001-10-23 16:47:26 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2001-10-23 16:47:26 +0000
commit5644739b025a4ecf7c72b12d33598be49692b3c9 (patch)
tree0cb6a508ec7008bda47062f4d3a4531b0ca812be /padmin/source/padialog.cxx
parentd348fe4abc5d9caa96d5bfb73beffb3dffcc5316 (diff)
#92924#: gcc-3.0.1 needs lvalue
Diffstat (limited to 'padmin/source/padialog.cxx')
-rw-r--r--padmin/source/padialog.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/padmin/source/padialog.cxx b/padmin/source/padialog.cxx
index 61ea27d8e87d..5021cf83eeb9 100644
--- a/padmin/source/padialog.cxx
+++ b/padmin/source/padialog.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: padialog.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: pl $ $Date: 2001-07-09 15:46:37 $
+ * last change: $Author: hr $ $Date: 2001-10-23 17:47:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -626,8 +626,9 @@ void PADialog::RenameDevice()
if( ! aPrinter.Len() )
return;
+ String aTmpString( PaResId( RID_QRY_PRTNAME ) );
QueryString aQuery( this,
- String( PaResId( RID_QRY_PRTNAME ) ),
+ aTmpString,
aPrinter );
aQuery.SetText( m_aRenameStr );
aQuery.Execute();