diff options
author | sj <sj@openoffice.org> | 2010-09-06 17:25:36 +0200 |
---|---|---|
committer | sj <sj@openoffice.org> | 2010-09-06 17:25:36 +0200 |
commit | 818f46505d4d4d23a37e7cb492b0e34b11afd44e (patch) | |
tree | 1b218d02fc5c293a773355b583fa30a6cc2ae983 /sdext/source/minimizer/informationdialog.cxx | |
parent | 2c454f28690c46f014e25ae6cae3702109232de5 (diff) |
impress199: #i114275# unbranding presentation minimizer extension
Diffstat (limited to 'sdext/source/minimizer/informationdialog.cxx')
-rw-r--r-- | sdext/source/minimizer/informationdialog.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sdext/source/minimizer/informationdialog.cxx b/sdext/source/minimizer/informationdialog.cxx index 3c4dbf69895d..089c81f55a6a 100644 --- a/sdext/source/minimizer/informationdialog.cxx +++ b/sdext/source/minimizer/informationdialog.cxx @@ -265,7 +265,7 @@ void InformationDialog::InitDialog() Any( sal_True ), Any( sal_Int32( 245 ) ), Any( sal_Int32( 115 ) ), - Any( getString( STR_ABOUT2 ) ), + Any( getString( STR_SUN_OPTIMIZATION_WIZARD2 ) ), Any( sal_Int32( DIALOG_WIDTH ) ) }; sal_Int32 nCount = sizeof( pNames ) / sizeof( OUString ); @@ -321,7 +321,6 @@ void InformationDialog::InitDialog() const OUString aOldSizePlaceholder( RTL_CONSTASCII_USTRINGPARAM( "%OLDFILESIZE" ) ); const OUString aNewSizePlaceholder( RTL_CONSTASCII_USTRINGPARAM( "%NEWFILESIZE" ) ); const OUString aTitlePlaceholder( aTitle.getLength() ? OUString::createFromAscii( "%TITLE" ) : OUString::createFromAscii( "'%TITLE'" ) ); - const OUString aExtensionPlaceholder( RTL_CONSTASCII_USTRINGPARAM( "%EXTENSIONNAME" ) ); sal_Int32 i = aInfoString.indexOf( aOldSizePlaceholder, 0 ); if ( i >= 0 ) @@ -335,10 +334,6 @@ void InformationDialog::InitDialog() if ( k >= 0 ) aInfoString = aInfoString.replaceAt( k, aTitlePlaceholder.getLength(), aTitle ); - sal_Int32 l = aInfoString.indexOf( aExtensionPlaceholder, 0 ); - if ( l >= 0 ) - aInfoString = aInfoString.replaceAt( l, aExtensionPlaceholder.getLength(), getString( STR_SUN_OPTIMIZATION_WIZARD2 ) ); - com::sun::star::uno::Reference< com::sun::star::awt::XItemListener > xItemListener; InsertImage( *this, rtl::OUString( rtl::OUString::createFromAscii( "aboutimage" ) ), ImpGetStandardImage( rtl::OUString::createFromAscii( "private:standardimage/query" ) ), 5, 5, 25, 25 ); InsertFixedText( *this, rtl::OUString( rtl::OUString::createFromAscii( "fixedtext" ) ), aInfoString, PAGE_POS_X, 6, PAGE_WIDTH, 24, sal_True, 0 ); |