summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appcfg.cxx1
-rw-r--r--sfx2/source/appl/newhelp.cxx2
-rw-r--r--sfx2/source/appl/shutdowniconunx.cxx1
-rw-r--r--sfx2/source/bastyp/fltfnc.cxx1
-rw-r--r--sfx2/source/bastyp/sfxhtml.cxx2
-rw-r--r--sfx2/source/dialog/filtergrouping.cxx2
-rw-r--r--sfx2/source/doc/graphhelp.cxx1
-rw-r--r--sfx2/source/doc/sfxbasemodel.cxx1
-rw-r--r--sfx2/source/view/frame.cxx1
9 files changed, 0 insertions, 12 deletions
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx
index db94288714e9..11441cd3b651 100644
--- a/sfx2/source/appl/appcfg.cxx
+++ b/sfx2/source/appl/appcfg.cxx
@@ -512,7 +512,6 @@ void SfxApplication::SetOptions_Impl( const SfxItemSet& rSet )
SvtSaveOptions aSaveOptions;
SvtHelpOptions aHelpOptions;
SvtSecurityOptions aSecurityOptions;
- SvtPathOptions aPathOptions;
SvtMiscOptions aMiscOptions;
boost::shared_ptr< comphelper::ConfigurationChanges > batch(
comphelper::ConfigurationChanges::create());
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index 4187f67017c7..066de34dd46b 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -300,7 +300,6 @@ ContentListBox_Impl::~ContentListBox_Impl()
SvTreeListEntry* pEntry = GetEntry( nPos++ );
while ( pEntry )
{
- ::rtl::OUString aTemp( GetEntryText( pEntry ) );
ClearChildren( pEntry );
delete (ContentEntry_Impl*)pEntry->GetUserData();
pEntry = GetEntry( nPos++ );
@@ -339,7 +338,6 @@ void ContentListBox_Impl::ClearChildren( SvTreeListEntry* pParent )
SvTreeListEntry* pEntry = FirstChild( pParent );
while ( pEntry )
{
- ::rtl::OUString aTemp( GetEntryText( pEntry ) );
ClearChildren( pEntry );
delete (ContentEntry_Impl*)pEntry->GetUserData();
pEntry = NextSibling( pEntry );
diff --git a/sfx2/source/appl/shutdowniconunx.cxx b/sfx2/source/appl/shutdowniconunx.cxx
index 7a89ed881df8..42f0c3853553 100644
--- a/sfx2/source/appl/shutdowniconunx.cxx
+++ b/sfx2/source/appl/shutdowniconunx.cxx
@@ -275,7 +275,6 @@ static void populate_menu( GtkWidget *pMenu )
add_item (pMenuShell, "dummy", &aULabel,
SV_ICON_ID_TEMPLATE, G_CALLBACK( open_template_cb ));
- OString aLabel;
GtkWidget *pMenuItem;
pMenuItem = gtk_separator_menu_item_new();
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx
index 97dbaec47ab6..bc102314d2bc 100644
--- a/sfx2/source/bastyp/fltfnc.cxx
+++ b/sfx2/source/bastyp/fltfnc.cxx
@@ -199,7 +199,6 @@ const SfxFilter* SfxFilterContainer::GetDefaultFilter_Impl( const String& rName
// For the following code we need some additional informations.
String sServiceName = aOpt.GetFactoryName(eFactory);
- String sShortName = aOpt.GetFactoryShortName(eFactory);
String sDefaultFilter = aOpt.GetFactoryDefaultFilter(eFactory);
// Try to get the default filter. Dont fiorget to verify it.
diff --git a/sfx2/source/bastyp/sfxhtml.cxx b/sfx2/source/bastyp/sfxhtml.cxx
index a71fa4adeee2..4fa1288f62cd 100644
--- a/sfx2/source/bastyp/sfxhtml.cxx
+++ b/sfx2/source/bastyp/sfxhtml.cxx
@@ -236,8 +236,6 @@ void SfxHTMLParser::StartFileDownload(const OUString& rURL)
sal_Bool SfxHTMLParser::FinishFileDownload( String& rStr )
{
- String aStr;
-
sal_Bool bOK = pDLMedium && pDLMedium->GetErrorCode()==0;
if( bOK )
{
diff --git a/sfx2/source/dialog/filtergrouping.cxx b/sfx2/source/dialog/filtergrouping.cxx
index 46700f1c1f46..7add2fc0f180 100644
--- a/sfx2/source/dialog/filtergrouping.cxx
+++ b/sfx2/source/dialog/filtergrouping.cxx
@@ -764,7 +764,6 @@ namespace sfx2
//--------------------------------------------------------------------
sal_Bool lcl_hasAllFilesFilter( TSortedFilterList& _rFilterMatcher, String& /* [out] */ _rAllFilterName )
{
- ::rtl::OUString sUIName;
sal_Bool bHasAll = sal_False;
_rAllFilterName = SfxResId( STR_SFX_FILTERNAME_ALL ).toString();
@@ -1001,7 +1000,6 @@ namespace sfx2
sUIName = pFilter->GetUIName();
sExtensions = pFilter->GetWildcard().getGlob();
ExportFilter aExportFilter( sUIName, sExtensions );
- String aExt = sExtensions;
if ( nHTMLIndex == -1 &&
( sTypeName.equals( sWriterHTMLType ) || sTypeName.equals( sGraphicHTMLType ) ) )
diff --git a/sfx2/source/doc/graphhelp.cxx b/sfx2/source/doc/graphhelp.cxx
index cd6225c674d6..40c6385fd2c7 100644
--- a/sfx2/source/doc/graphhelp.cxx
+++ b/sfx2/source/doc/graphhelp.cxx
@@ -292,7 +292,6 @@ sal_Bool GraphicHelper::createThumb_Impl( const GDIMetaFile& rMtf,
const Point aBRPix( aVDev.LogicToPixel( Point( rMtf.GetPrefSize().Width() - 1, rMtf.GetPrefSize().Height() - 1 ), rMtf.GetPrefMapMode() ) );
Size aDrawSize( aVDev.LogicToPixel( rMtf.GetPrefSize(), rMtf.GetPrefMapMode() ) );
Size aSizePix( labs( aBRPix.X() - aTLPix.X() ) + 1, labs( aBRPix.Y() - aTLPix.Y() ) + 1 );
- Point aPosPix;
if ( !rBmpEx.IsEmpty() )
rBmpEx.SetEmpty();
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index cb7d3ae035da..525da28f73be 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -3443,7 +3443,6 @@ sal_Bool SfxBaseModel::hasValidSignatures() const
static void GetCommandFromSequence( rtl::OUString& rCommand, sal_Int32& nIndex, const uno::Sequence< beans::PropertyValue >& rSeqPropValue )
{
- rtl::OUString aCommand;
nIndex = -1;
for ( sal_Int32 i = 0; i < rSeqPropValue.getLength(); i++ )
diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx
index 5b8bf1a7ff0a..071312aefaad 100644
--- a/sfx2/source/view/frame.cxx
+++ b/sfx2/source/view/frame.cxx
@@ -414,7 +414,6 @@ void SfxFrame::UpdateDescriptor( SfxObjectShell *pDoc )
// Mark FileOpen parameter
SfxItemSet* pItemSet = pMed->GetItemSet();
- String aMedName( pMed->GetName() );
const SfxFilter* pFilter = pMed->GetOrigFilter();
String aFilter;