diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-11-02 08:24:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-11-02 08:24:23 +0000 |
commit | 61128761b27beea9d6f550d8eaa23eefa2750108 (patch) | |
tree | 0bae6bf268ba41ee086cc74dbe88aeb9aadae8cd | |
parent | 86b1ccc71cd8bc38599576ce6acab9cfab4d9231 (diff) |
loplugin: unused UniStrings
Change-Id: Ia6a10bf30685f25a13c091f04566c62888524c94
-rw-r--r-- | sal/inc/sal/log-areas.dox | 1 | ||||
-rw-r--r-- | sd/source/filter/html/HtmlOptionsDialog.cxx | 4 | ||||
-rw-r--r-- | sd/source/filter/html/htmlex.cxx | 8 |
3 files changed, 3 insertions, 10 deletions
diff --git a/sal/inc/sal/log-areas.dox b/sal/inc/sal/log-areas.dox index 54597a50a0d1..777994e19707 100644 --- a/sal/inc/sal/log-areas.dox +++ b/sal/inc/sal/log-areas.dox @@ -59,6 +59,7 @@ certain functionality. @section Draw +@li @c sd @li @c sd.fwk @li @c sd.sls @li @c sd.tools diff --git a/sd/source/filter/html/HtmlOptionsDialog.cxx b/sd/source/filter/html/HtmlOptionsDialog.cxx index bc39ae88983a..cf2f9e4e48ea 100644 --- a/sd/source/filter/html/HtmlOptionsDialog.cxx +++ b/sd/source/filter/html/HtmlOptionsDialog.cxx @@ -261,9 +261,7 @@ void SdHtmlOptionsDialog::setSourceDocument( const Reference< XComponent >& xDoc throw ( IllegalArgumentException, RuntimeException ) { // 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->supportsService( "com.sun.star.presentation.PresentationDocument" ) ) diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx index babb586e702d..f63fb5e9d89f 100644 --- a/sd/source/filter/html/htmlex.cxx +++ b/sd/source/filter/html/htmlex.cxx @@ -877,7 +877,6 @@ void HtmlExport::ExportWebCast() CreateFileNames(); - String aEmpty; if(maCGIPath.Len() == 0) maCGIPath.Assign( sal_Unicode('.') ); @@ -890,7 +889,6 @@ void HtmlExport::ExportWebCast() } else { - String aEmpty2; if(maURLPath.Len() == 0) maURLPath.Assign( sal_Unicode('.') ); @@ -1858,9 +1856,6 @@ bool HtmlExport::CreateHtmlForPresPages() // ===================================================================== bool HtmlExport::CreateContentPage() { - // Parameter - String aEmpty; - if( mbDocColors ) SetDocColors(); @@ -2287,9 +2282,8 @@ bool HtmlExport::CreateFrames() if(mbNotes) { - String aEmpty; String aSlash( RTL_CONSTASCII_USTRINGPARAM( "//" ) ); - aFunction.SearchAndReplaceAll( aSlash, aEmpty); + aFunction.SearchAndReplaceAll(aSlash, OUString()); } // substitute HTML file extension |