summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bridges/test/testcomp.cxx2
-rw-r--r--desktop/source/app/appinit.cxx1
-rw-r--r--desktop/source/app/langselect.cxx1
-rw-r--r--desktop/source/migration/migration.cxx1
-rw-r--r--extensions/source/bibliography/bibconfig.cxx1
-rw-r--r--extensions/source/bibliography/datman.cxx2
-rw-r--r--filter/source/msfilter/msvbahelper.cxx2
-rw-r--r--filter/source/pdf/pdfexport.cxx1
-rw-r--r--filter/source/placeware/filter.cxx2
-rw-r--r--filter/source/svg/svgfilter.cxx1
-rw-r--r--filter/source/svg/svgimport.cxx1
-rw-r--r--filter/source/t602/t602filter.cxx1
-rw-r--r--filter/source/xmlfilterdetect/filterdetect.cxx2
-rw-r--r--filter/source/xsltdialog/xmlfiltersettingsdialog.cxx1
-rw-r--r--forms/source/component/ComboBox.cxx1
-rw-r--r--forms/source/xforms/xpathlib/xpathlib.cxx3
-rw-r--r--framework/source/accelerators/moduleacceleratorconfiguration.cxx1
-rw-r--r--framework/source/dispatch/menudispatcher.cxx2
-rw-r--r--framework/source/fwe/xml/toolboxdocumenthandler.cxx1
-rw-r--r--framework/source/fwi/uielement/constitemcontainer.cxx1
-rw-r--r--framework/source/services/license.cxx4
-rw-r--r--framework/source/services/substitutepathvars.cxx3
-rw-r--r--framework/source/uielement/addonstoolbarmanager.cxx2
-rw-r--r--framework/source/uielement/fontsizemenucontroller.cxx1
-rw-r--r--framework/source/uielement/langselectionmenucontroller.cxx1
-rw-r--r--framework/source/uielement/statusbarmanager.cxx3
-rw-r--r--framework/source/uielement/toolbarmanager.cxx2
-rw-r--r--xmloff/source/chart/SchXMLParagraphContext.cxx1
-rw-r--r--xmloff/source/draw/XMLImageMapContext.cxx2
-rw-r--r--xmloff/source/draw/layerimp.cxx2
-rw-r--r--xmloff/source/style/ImageStyle.cxx3
-rw-r--r--xmloff/source/transform/ChartPlotAreaOASISTContext.cxx1
-rw-r--r--xmloff/source/transform/ChartPlotAreaOOoTContext.cxx1
33 files changed, 1 insertions, 53 deletions
diff --git a/bridges/test/testcomp.cxx b/bridges/test/testcomp.cxx
index 914ca82b3c84..26885b295224 100644
--- a/bridges/test/testcomp.cxx
+++ b/bridges/test/testcomp.cxx
@@ -552,8 +552,6 @@ void testOnewayPerformanceOnTwoInterfaces(
void testPerformance( const Reference < XCallMe > &rRemote,
const Reference < XCallMe > &rLocal )
{
- OUString aTestString;
-
sal_Int32 nDoSomething = 1;
sal_Int32 nCalls = 80000;
double dRemote, dLocal,dAfterExecution;
diff --git a/desktop/source/app/appinit.cxx b/desktop/source/app/appinit.cxx
index 6741f04b0eb3..f1896956ddbd 100644
--- a/desktop/source/app/appinit.cxx
+++ b/desktop/source/app/appinit.cxx
@@ -206,7 +206,6 @@ void Desktop::RegisterServices()
RTL_LOGFILE_CONTEXT( aLog, "desktop (cd100003) ::registerServices" );
// read command line parameters
- ::rtl::OUString aClientDisplay;
sal_Bool bHeadlessMode = sal_False;
// interpret command line arguments
diff --git a/desktop/source/app/langselect.cxx b/desktop/source/app/langselect.cxx
index b74643479b94..4bfa8b5d597e 100644
--- a/desktop/source/app/langselect.cxx
+++ b/desktop/source/app/langselect.cxx
@@ -435,7 +435,6 @@ sal_Bool LanguageSelection::isInstalledLanguage(OUString& usLocale, sal_Bool bEx
if (!bInstalled && !bExact)
{
// no exact match was found, well try to find a substitute
- OUString aInstalledLocale;
for (sal_Int32 i=0; i<seqLanguages.getLength(); i++)
{
if (usLocale.indexOf(seqLanguages[i]) == 0)
diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx
index bb4d6e80570e..583edec17049 100644
--- a/desktop/source/migration/migration.cxx
+++ b/desktop/source/migration/migration.cxx
@@ -1143,7 +1143,6 @@ void MigrationImpl::compareOldAndNewConfig(const ::rtl::OUString& sParent,
sSibling = it->m_sCommandURL;
}
- ::rtl::OUString sNewSibling;
uno::Reference< container::XIndexContainer > xPopup;
for (it = vNewItems.begin(); it!=vNewItems.end(); ++it)
{
diff --git a/extensions/source/bibliography/bibconfig.cxx b/extensions/source/bibliography/bibconfig.cxx
index b97c91090385..3492e834e66b 100644
--- a/extensions/source/bibliography/bibconfig.cxx
+++ b/extensions/source/bibliography/bibconfig.cxx
@@ -256,7 +256,6 @@ void BibConfig::Commit()
}
PutProperties(aPropertyNames, aValues);
ClearNodeSet( C2U(cDataSourceHistory));
- OUString sEmpty;
Sequence< PropertyValue > aNodeValues(pMappingsArr->Count() * 3);
PropertyValue* pNodeValues = aNodeValues.getArray();
diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx
index 27369e9cbc1a..b036674ff92d 100644
--- a/extensions/source/bibliography/datman.cxx
+++ b/extensions/source/bibliography/datman.cxx
@@ -125,7 +125,6 @@ Reference< XConnection > getConnection(const ::rtl::OUString& _rURL)
if (xDataSource.is())
{
// need user/pwd for this
- ::rtl::OUString sUser, sPwd;
Reference< XPropertySet > xDataSourceProps(xDataSource, UNO_QUERY);
Reference< XCompletedConnection > xComplConn(xDataSource, UNO_QUERY);
try
@@ -1079,7 +1078,6 @@ void BibDataManager::startQueryWith(const ::rtl::OUString& rQuery)
void BibDataManager::setActiveDataSource(const ::rtl::OUString& rURL)
{
- ::rtl::OUString uTable;
::rtl::OUString sTmp(aDataSourceURL);
aDataSourceURL = rURL;
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;
diff --git a/forms/source/component/ComboBox.cxx b/forms/source/component/ComboBox.cxx
index 0ba7df850e1f..7a2c4d4aef08 100644
--- a/forms/source/component/ComboBox.cxx
+++ b/forms/source/component/ComboBox.cxx
@@ -418,7 +418,6 @@ void SAL_CALL OComboBoxModel::read(const Reference<stario::XObjectInputStream>&
// ListSource
if (nVersion < 0x0003)
{
- ::rtl::OUString sListSource;
_rxInStream >> m_aListSource;
}
else // nVersion == 4
diff --git a/forms/source/xforms/xpathlib/xpathlib.cxx b/forms/source/xforms/xpathlib/xpathlib.cxx
index 8fb3fedcfba0..30860023c7d5 100644
--- a/forms/source/xforms/xpathlib/xpathlib.cxx
+++ b/forms/source/xforms/xpathlib/xpathlib.cxx
@@ -311,9 +311,6 @@ static sal_Bool parseDateTime(const ::rtl::OUString& aString, DateTime& aDateTim
sal_Int32 nDateLength = 10;
sal_Int32 nTimeLength = 8;
- ::rtl::OUString aDateTimeSep(RTL_CONSTASCII_USTRINGPARAM("T"));
- ::rtl::OUString aDateSep(RTL_CONSTASCII_USTRINGPARAM("-"));
- ::rtl::OUString aTimeSep(RTL_CONSTASCII_USTRINGPARAM(":"));
::rtl::OUString aUTCString(RTL_CONSTASCII_USTRINGPARAM("Z"));
::rtl::OUString aDateString = aDateTimeString.copy(0, nDateLength);
diff --git a/framework/source/accelerators/moduleacceleratorconfiguration.cxx b/framework/source/accelerators/moduleacceleratorconfiguration.cxx
index 7100685aa89a..dcdb2a4a3e4e 100644
--- a/framework/source/accelerators/moduleacceleratorconfiguration.cxx
+++ b/framework/source/accelerators/moduleacceleratorconfiguration.cxx
@@ -132,7 +132,6 @@ void ModuleAcceleratorConfiguration::impl_ts_fillCache()
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "framework", "Ocke.Janssen@sun.com", "ModuleAcceleratorConfiguration::impl_ts_fillCache" );
// SAFE -> ----------------------------------
ReadGuard aReadLock(m_aLock);
- ::rtl::OUString sModule = m_sModule;
m_sModuleCFG = m_sModule;
aReadLock.unlock();
// <- SAFE ----------------------------------
diff --git a/framework/source/dispatch/menudispatcher.cxx b/framework/source/dispatch/menudispatcher.cxx
index 7a46065d6a18..f1f42624c85f 100644
--- a/framework/source/dispatch/menudispatcher.cxx
+++ b/framework/source/dispatch/menudispatcher.cxx
@@ -330,8 +330,6 @@ sal_Bool MenuDispatcher::impl_setMenuBar( MenuBar* pMenuBar, sal_Bool bMenuFromR
sal_uInt16 nPos = pMenuBar->GetItemPos( SLOTID_MDIWINDOWLIST );
if ( nPos != MENU_ITEM_NOTFOUND )
{
- OUString aNoContext;
-
uno::Reference< XModel > xModel;
uno::Reference< XController > xController( xFrame->getController(), UNO_QUERY );
diff --git a/framework/source/fwe/xml/toolboxdocumenthandler.cxx b/framework/source/fwe/xml/toolboxdocumenthandler.cxx
index 6a0e32b5e994..3ac73e238192 100644
--- a/framework/source/fwe/xml/toolboxdocumenthandler.cxx
+++ b/framework/source/fwe/xml/toolboxdocumenthandler.cxx
@@ -307,7 +307,6 @@ throw( SAXException, RuntimeException )
throw SAXException( aErrorMessage, Reference< XInterface >(), Any() );
}
- ::rtl::OUString aAttribute;
sal_Bool bAttributeURL = sal_False;
m_bToolBarItemStartFound = sal_True;
diff --git a/framework/source/fwi/uielement/constitemcontainer.cxx b/framework/source/fwi/uielement/constitemcontainer.cxx
index 070799e371ff..414f0aba7ff8 100644
--- a/framework/source/fwi/uielement/constitemcontainer.cxx
+++ b/framework/source/fwi/uielement/constitemcontainer.cxx
@@ -163,7 +163,6 @@ ConstItemContainer::ConstItemContainer( const Reference< XIndexAccess >& rSource
Reference< XPropertySet > xPropSet( rSourceContainer, UNO_QUERY );
if ( xPropSet.is() )
{
- rtl::OUString aUIName;
xPropSet->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "UIName" ))) >>= m_aUIName;
}
}
diff --git a/framework/source/services/license.cxx b/framework/source/services/license.cxx
index fdf60e270349..a8cbc53a082b 100644
--- a/framework/source/services/license.cxx
+++ b/framework/source/services/license.cxx
@@ -209,9 +209,6 @@ static sal_Bool _parseDateTime(const ::rtl::OUString& aString, DateTime& aDateTi
sal_Int32 nDateLength = 10;
sal_Int32 nTimeLength = 8;
- ::rtl::OUString aDateTimeSep(RTL_CONSTASCII_USTRINGPARAM("T"));
- ::rtl::OUString aDateSep(RTL_CONSTASCII_USTRINGPARAM("-"));
- ::rtl::OUString aTimeSep(RTL_CONSTASCII_USTRINGPARAM(":"));
::rtl::OUString aUTCString(RTL_CONSTASCII_USTRINGPARAM("Z"));
::rtl::OUString aDateString = aDateTimeString.copy(0, nDateLength);
@@ -296,7 +293,6 @@ css::uno::Any SAL_CALL License::execute(const css::uno::Sequence< css::beans::Na
// open org.openoffice.Setup/Office/ooLicenseAcceptDate
::rtl::OUString sConfigSrvc = SERVICENAME_CFGPROVIDER;
::rtl::OUString sAccessSrvc(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.configuration.ConfigurationUpdateAccess"));
- ::rtl::OUString sReadSrvc = SERVICENAME_CFGREADACCESS;
// get configuration provider
Reference< XMultiServiceFactory > theConfigProvider = Reference< XMultiServiceFactory >(
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index b96bb715b87a..42f27f7b1f96 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -1173,10 +1173,7 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable
aPreDefPathVariables.m_FixedVar[PREDEFVAR_BRANDBASEURL]);
Any aAny;
- ::rtl::OUString aOfficePath;
- ::rtl::OUString aUserPath;
::rtl::OUString aTmp;
- ::rtl::OUString aTmp2;
String aResult;
// Get inspath and userpath from bootstrap mechanism in every case as file URL
diff --git a/framework/source/uielement/addonstoolbarmanager.cxx b/framework/source/uielement/addonstoolbarmanager.cxx
index 4f698299e820..d006d140908f 100644
--- a/framework/source/uielement/addonstoolbarmanager.cxx
+++ b/framework/source/uielement/addonstoolbarmanager.cxx
@@ -258,8 +258,6 @@ void AddonsToolBarManager::FillToolbar( const Sequence< Sequence< PropertyValue
Reference< XWindow > xToolbarWindow = VCLUnoHelper::GetInterface( m_pToolBar );
for ( sal_uInt32 n = 0; n < (sal_uInt32)rAddonToolbar.getLength(); n++ )
{
- rtl::OUString aValueName;
-
rtl::OUString aURL;
rtl::OUString aTitle;
rtl::OUString aImageId;
diff --git a/framework/source/uielement/fontsizemenucontroller.cxx b/framework/source/uielement/fontsizemenucontroller.cxx
index c71ace37ec4c..f9bbc8500dc7 100644
--- a/framework/source/uielement/fontsizemenucontroller.cxx
+++ b/framework/source/uielement/fontsizemenucontroller.cxx
@@ -192,7 +192,6 @@ void FontSizeMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu >& r
// first insert font size names (for simplified/traditional chinese)
float fPoint;
- rtl::OUString aHeightString;
FontSizeNames aFontSizeNames( Application::GetSettings().GetUILanguage() );
m_pHeightArray = new long[nSizeCount+aFontSizeNames.Count()];
rtl::OUString aCommand;
diff --git a/framework/source/uielement/langselectionmenucontroller.cxx b/framework/source/uielement/langselectionmenucontroller.cxx
index f0917fb8e9da..9d1cd2ac76d7 100644
--- a/framework/source/uielement/langselectionmenucontroller.cxx
+++ b/framework/source/uielement/langselectionmenucontroller.cxx
@@ -134,7 +134,6 @@ void SAL_CALL LanguageSelectionMenuController::statusChanged( const FeatureState
m_bShowMenu = sal_True;
m_nScriptType = LS_SCRIPT_LATIN | LS_SCRIPT_ASIAN | LS_SCRIPT_COMPLEX; //set the default value
- OUString aStrValue;
Sequence< OUString > aSeq;
if ( Event.State >>= aSeq )
diff --git a/framework/source/uielement/statusbarmanager.cxx b/framework/source/uielement/statusbarmanager.cxx
index 9afe6d95e7ca..f726f32d2a40 100644
--- a/framework/source/uielement/statusbarmanager.cxx
+++ b/framework/source/uielement/statusbarmanager.cxx
@@ -71,8 +71,6 @@
using namespace ::com::sun::star;
namespace css = ::com::sun::star;
-static const char HELPID_PREFIX[] = "helpid:";
-
// Property names of a menu/menu item ItemDescriptor
static const char ITEM_DESCRIPTOR_COMMANDURL[] = "CommandURL";
static const char ITEM_DESCRIPTOR_HELPURL[] = "HelpURL";
@@ -463,7 +461,6 @@ void StatusBarManager::FillStatusBar( const uno::Reference< container::XIndexAcc
return;
sal_uInt16 nId( 1 );
- rtl::OUString aHelpIdPrefix( RTL_CONSTASCII_USTRINGPARAM( HELPID_PREFIX ));
RemoveControllers();
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx
index e3e595051d68..874eca876029 100644
--- a/framework/source/uielement/toolbarmanager.cxx
+++ b/framework/source/uielement/toolbarmanager.cxx
@@ -130,7 +130,6 @@ static const sal_Int32 ITEM_DESCRIPTOR_VISIBLE_LEN = RTL_CONSTASCII_LENGTH(I
static const sal_Int32 ITEM_DESCRIPTOR_WIDTH_LEN = RTL_CONSTASCII_LENGTH(ITEM_DESCRIPTOR_WIDTH);
static const sal_Int32 ITEM_DESCRIPTOR_STYLE_LEN = RTL_CONSTASCII_LENGTH(ITEM_DESCRIPTOR_STYLE);
-static const char HELPID_PREFIX[] = "helpid:";
static const char HELPID_PREFIX_TESTTOOL[] = ".HelpId:";
static const sal_uInt16 STARTID_CUSTOMIZE_POPUPMENU = 1000;
@@ -1209,7 +1208,6 @@ void ToolBarManager::FillToolbar( const Reference< XIndexAccess >& rItemContaine
return;
sal_uInt16 nId( 1 );
- ::rtl::OUString aHelpIdPrefix( RTL_CONSTASCII_USTRINGPARAM( HELPID_PREFIX ));
Reference< XModuleManager > xModuleManager( Reference< XModuleManager >(
m_xServiceManager->createInstance( SERVICENAME_MODULEMANAGER ), UNO_QUERY ));
diff --git a/xmloff/source/chart/SchXMLParagraphContext.cxx b/xmloff/source/chart/SchXMLParagraphContext.cxx
index 0bfff91d30f9..03143527a285 100644
--- a/xmloff/source/chart/SchXMLParagraphContext.cxx
+++ b/xmloff/source/chart/SchXMLParagraphContext.cxx
@@ -58,7 +58,6 @@ void SchXMLParagraphContext::StartElement( const uno::Reference< xml::sax::XAttr
if( mpId )
{
sal_Int16 nAttrCount = xAttrList.is()? xAttrList->getLength(): 0;
- rtl::OUString aValue;
bool bHaveXmlId( false );
for( sal_Int16 i = 0; i < nAttrCount; i++ )
diff --git a/xmloff/source/draw/XMLImageMapContext.cxx b/xmloff/source/draw/XMLImageMapContext.cxx
index 15c7ec34fa91..2e46f0940910 100644
--- a/xmloff/source/draw/XMLImageMapContext.cxx
+++ b/xmloff/source/draw/XMLImageMapContext.cxx
@@ -123,8 +123,6 @@ protected:
const ::rtl::OUString sTarget;
const ::rtl::OUString sURL;
- ::rtl::OUString sServiceName;
-
Reference<XIndexContainer> xImageMap; /// the image map
Reference<XPropertySet> xMapEntry; /// one map-entry (one area)
diff --git a/xmloff/source/draw/layerimp.cxx b/xmloff/source/draw/layerimp.cxx
index c101642b07f8..72162b95029b 100644
--- a/xmloff/source/draw/layerimp.cxx
+++ b/xmloff/source/draw/layerimp.cxx
@@ -78,8 +78,6 @@ SdXMLLayerContext::SdXMLLayerContext( SvXMLImport& rImport, sal_uInt16 nPrefix,
: SvXMLImportContext(rImport, nPrefix, rLocalName)
, mxLayerManager( xLayerManager )
{
- OUString aName;
-
const sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0;
for(sal_Int16 i=0; i < nAttrCount; i++)
{
diff --git a/xmloff/source/style/ImageStyle.cxx b/xmloff/source/style/ImageStyle.cxx
index 29b9d5222cb3..c457551e5b3c 100644
--- a/xmloff/source/style/ImageStyle.cxx
+++ b/xmloff/source/style/ImageStyle.cxx
@@ -81,9 +81,6 @@ sal_Bool XMLImageStyle::ImpExportXML( const OUString& rStrName, const uno::Any&
{
if( rValue >>= sImageURL )
{
- OUString aStrValue;
- OUStringBuffer aOut;
-
// Name
sal_Bool bEncoded = sal_False;
rExport.AddAttribute( XML_NAMESPACE_DRAW, XML_NAME,
diff --git a/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx b/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx
index 7a50d34d77a9..3a664064af88 100644
--- a/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx
+++ b/xmloff/source/transform/ChartPlotAreaOASISTContext.cxx
@@ -109,7 +109,6 @@ XMLTransformerContext * XMLAxisOASISContext::CreateChildContext(
void XMLAxisOASISContext::StartElement(
const Reference< xml::sax::XAttributeList >& rAttrList )
{
- OUString aLocation, aMacroName;
Reference< xml::sax::XAttributeList > xAttrList( rAttrList );
XMLMutableAttributeList *pMutableAttrList = 0;
sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0;
diff --git a/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx b/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx
index e4a711b09fb9..d36cf0e2074a 100644
--- a/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx
+++ b/xmloff/source/transform/ChartPlotAreaOOoTContext.cxx
@@ -73,7 +73,6 @@ XMLAxisOOoContext::~XMLAxisOOoContext()
void XMLAxisOOoContext::StartElement(
const Reference< xml::sax::XAttributeList >& rAttrList )
{
- OUString aLocation, aMacroName;
Reference< xml::sax::XAttributeList > xAttrList( rAttrList );
XMLMutableAttributeList *pMutableAttrList = 0;
sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0;