Kaydet (Commit) 61128761 authored tarafından Caolán McNamara's avatar Caolán McNamara

loplugin: unused UniStrings

Change-Id: Ia6a10bf30685f25a13c091f04566c62888524c94
üst 86b1ccc7
...@@ -59,6 +59,7 @@ certain functionality. ...@@ -59,6 +59,7 @@ certain functionality.
@section Draw @section Draw
@li @c sd
@li @c sd.fwk @li @c sd.fwk
@li @c sd.sls @li @c sd.sls
@li @c sd.tools @li @c sd.tools
......
...@@ -261,9 +261,7 @@ void SdHtmlOptionsDialog::setSourceDocument( const Reference< XComponent >& xDoc ...@@ -261,9 +261,7 @@ void SdHtmlOptionsDialog::setSourceDocument( const Reference< XComponent >& xDoc
throw ( IllegalArgumentException, RuntimeException ) throw ( IllegalArgumentException, RuntimeException )
{ {
// try to set the corresponding metric unit // try to set the corresponding metric unit
String aConfigPath; Reference< XServiceInfo > xServiceInfo(xDoc, UNO_QUERY);
Reference< XServiceInfo > xServiceInfo
( xDoc, UNO_QUERY );
if ( xServiceInfo.is() ) if ( xServiceInfo.is() )
{ {
if ( xServiceInfo->supportsService( "com.sun.star.presentation.PresentationDocument" ) ) if ( xServiceInfo->supportsService( "com.sun.star.presentation.PresentationDocument" ) )
......
...@@ -877,7 +877,6 @@ void HtmlExport::ExportWebCast() ...@@ -877,7 +877,6 @@ void HtmlExport::ExportWebCast()
CreateFileNames(); CreateFileNames();
String aEmpty;
if(maCGIPath.Len() == 0) if(maCGIPath.Len() == 0)
maCGIPath.Assign( sal_Unicode('.') ); maCGIPath.Assign( sal_Unicode('.') );
...@@ -890,7 +889,6 @@ void HtmlExport::ExportWebCast() ...@@ -890,7 +889,6 @@ void HtmlExport::ExportWebCast()
} }
else else
{ {
String aEmpty2;
if(maURLPath.Len() == 0) if(maURLPath.Len() == 0)
maURLPath.Assign( sal_Unicode('.') ); maURLPath.Assign( sal_Unicode('.') );
...@@ -1858,9 +1856,6 @@ bool HtmlExport::CreateHtmlForPresPages() ...@@ -1858,9 +1856,6 @@ bool HtmlExport::CreateHtmlForPresPages()
// ===================================================================== // =====================================================================
bool HtmlExport::CreateContentPage() bool HtmlExport::CreateContentPage()
{ {
// Parameter
String aEmpty;
if( mbDocColors ) if( mbDocColors )
SetDocColors(); SetDocColors();
...@@ -2287,9 +2282,8 @@ bool HtmlExport::CreateFrames() ...@@ -2287,9 +2282,8 @@ bool HtmlExport::CreateFrames()
if(mbNotes) if(mbNotes)
{ {
String aEmpty;
String aSlash( RTL_CONSTASCII_USTRINGPARAM( "//" ) ); String aSlash( RTL_CONSTASCII_USTRINGPARAM( "//" ) );
aFunction.SearchAndReplaceAll( aSlash, aEmpty); aFunction.SearchAndReplaceAll(aSlash, OUString());
} }
// substitute HTML file extension // substitute HTML file extension
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment