diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-05-18 22:56:16 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-05-18 22:56:54 +0900 |
commit | 00f1180c9628b267bef5884b2e0b9635d7117a1b (patch) | |
tree | c610f2bf93d43bf4180d98749ccf00a471290137 /filter | |
parent | the page seems moved (diff) | |
download | core-00f1180c9628b267bef5884b2e0b9635d7117a1b.tar.gz core-00f1180c9628b267bef5884b2e0b9635d7117a1b.zip |
removed unused const rtl::OUString
Change-Id: If02be864f958de96ae1c54fe575b1828410390b1
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/msvbahelper.cxx | 2 | ||||
-rw-r--r-- | filter/source/pdf/pdfexport.cxx | 1 | ||||
-rw-r--r-- | filter/source/placeware/filter.cxx | 2 | ||||
-rw-r--r-- | filter/source/svg/svgfilter.cxx | 1 | ||||
-rw-r--r-- | filter/source/svg/svgimport.cxx | 1 | ||||
-rw-r--r-- | filter/source/t602/t602filter.cxx | 1 | ||||
-rw-r--r-- | filter/source/xmlfilterdetect/filterdetect.cxx | 2 | ||||
-rw-r--r-- | filter/source/xsltdialog/xmlfiltersettingsdialog.cxx | 1 |
8 files changed, 1 insertions, 10 deletions
diff --git a/filter/source/msfilter/msvbahelper.cxx b/filter/source/msfilter/msvbahelper.cxx index 8fec414f1ebf..31a22726540a 100644 --- a/filter/source/msfilter/msvbahelper.cxx +++ b/filter/source/msfilter/msvbahelper.cxx @@ -763,8 +763,6 @@ void applyShortCutKeyBinding ( const uno::Reference< frame::XModel >& rxModel, c rtl::OUString MacroName( rMacroName ); if ( !MacroName.isEmpty() ) { - ::rtl::OUString sSeparator(RTL_CONSTASCII_USTRINGPARAM("/")); - ::rtl::OUString sMacroSeparator(RTL_CONSTASCII_USTRINGPARAM("!")); ::rtl::OUString aMacroName = MacroName.trim(); if (0 == aMacroName.indexOf('!')) MacroName = aMacroName.copy(1).trim(); diff --git a/filter/source/pdf/pdfexport.cxx b/filter/source/pdf/pdfexport.cxx index b6f628e2e46e..db93010d1ee1 100644 --- a/filter/source/pdf/pdfexport.cxx +++ b/filter/source/pdf/pdfexport.cxx @@ -387,7 +387,6 @@ static OUString getMimetypeForDocument( const Reference< XMultiServiceFactory >& sal_Bool PDFExport::Export( const OUString& rFile, const Sequence< PropertyValue >& rFilterData ) { INetURLObject aURL( rFile ); - OUString aFile; sal_Bool bRet = sal_False; std::set< PDFWriter::ErrorCode > aErrors; diff --git a/filter/source/placeware/filter.cxx b/filter/source/placeware/filter.cxx index 8e207dc6b2c1..58afed7b331a 100644 --- a/filter/source/placeware/filter.cxx +++ b/filter/source/placeware/filter.cxx @@ -91,7 +91,7 @@ sal_Bool SAL_CALL PlaceWareExportFilter::filter( const ::com::sun::star::uno::Se { sal_Int32 nLength = aDescriptor.getLength(); const PropertyValue * pValue = aDescriptor.getConstArray(); - OUString sFileName, sURL; + OUString sURL; Reference < XInterface > xInteractionHandler; Reference < XOutputStream > xOutputStream; Reference < XStatusIndicator > xStatusIndicator; diff --git a/filter/source/svg/svgfilter.cxx b/filter/source/svg/svgfilter.cxx index 28b7400f960b..89ca2c356c44 100644 --- a/filter/source/svg/svgfilter.cxx +++ b/filter/source/svg/svgfilter.cxx @@ -267,7 +267,6 @@ void SAL_CALL SVGFilter::setTargetDocument( const Reference< XComponent >& xDoc rtl::OUString SAL_CALL SVGFilter::detect( Sequence< PropertyValue >& io_rDescriptor ) throw (RuntimeException) { uno::Reference< io::XInputStream > xInput; - rtl::OUString aURL; const beans::PropertyValue* pAttribs = io_rDescriptor.getConstArray(); const sal_Int32 nAttribs = io_rDescriptor.getLength(); diff --git a/filter/source/svg/svgimport.cxx b/filter/source/svg/svgimport.cxx index a0582ce18cce..cd84f4720655 100644 --- a/filter/source/svg/svgimport.cxx +++ b/filter/source/svg/svgimport.cxx @@ -54,7 +54,6 @@ using namespace ::svgi; sal_Bool SVGFilter::implImport( const Sequence< PropertyValue >& rDescriptor ) throw (RuntimeException) { - rtl::OUString aURL; uno::Reference< io::XInputStream > xInputStream; uno::Reference< task::XStatusIndicator > xStatus; const sal_Int32 nLength = rDescriptor.getLength(); diff --git a/filter/source/t602/t602filter.cxx b/filter/source/t602/t602filter.cxx index 78f44f8893af..9a567ae246ad 100644 --- a/filter/source/t602/t602filter.cxx +++ b/filter/source/t602/t602filter.cxx @@ -258,7 +258,6 @@ sal_Bool SAL_CALL T602ImportFilter::importImpl( const Sequence< ::com::sun::star sal_Int32 nLength = aDescriptor.getLength(); const PropertyValue * pValue = aDescriptor.getConstArray(); - OUString sURL; for ( sal_Int32 i = 0 ; i < nLength; i++) { if ( pValue[i].Name == "InputStream" ) diff --git a/filter/source/xmlfilterdetect/filterdetect.cxx b/filter/source/xmlfilterdetect/filterdetect.cxx index 66c07da73102..6d0abe1e41f0 100644 --- a/filter/source/xmlfilterdetect/filterdetect.cxx +++ b/filter/source/xmlfilterdetect/filterdetect.cxx @@ -141,11 +141,9 @@ bool isXMLStream(const ::rtl::OString& aHeaderStrm) { ::rtl::OUString sTypeName; ::rtl::OUString sUrl; - ::rtl::OUString originalTypeName; Sequence<PropertyValue > lProps ; com::sun::star::uno::Reference< com::sun::star::io::XInputStream > xInStream; - ::rtl::OUString temp; const PropertyValue * pValue = aArguments.getConstArray(); sal_Int32 nLength; ::rtl::OString resultString; diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx index 4950c47e2d53..558ac0d94e82 100644 --- a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx +++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx @@ -744,7 +744,6 @@ bool XMLFilterSettingsDialog::insertOrEdit( filter_info_impl* pNewInfo, const fi sal_Int32 nIndex; for( nIndex = 0; nIndex < nCount; nIndex++ ) { - OUString aName( aSequence[nIndex].Name ); if ( aSequence[nIndex].Name == "Types" ) { Sequence< OUString > aTypes; |