From 5644739b025a4ecf7c72b12d33598be49692b3c9 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien <hr@openoffice.org> Date: Tue, 23 Oct 2001 16:47:26 +0000 Subject: #92924#: gcc-3.0.1 needs lvalue --- padmin/source/padialog.cxx | 7 ++++--- 1 file 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(); -- cgit