summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-02-06 07:58:08 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-02-06 07:58:08 +0100
commitb3e64c3708fa19a87a0df31f6dbc4ea4753b23d6 (patch)
tree4c5042d7f6bc8e125ac45220bd185d7650aefba3 /cui
parentFix 'bSkipBreaks' is assigned a value that is never used (diff)
downloadcore-b3e64c3708fa19a87a0df31f6dbc4ea4753b23d6.tar.gz
core-b3e64c3708fa19a87a0df31f6dbc4ea4753b23d6.zip
Some cppcheck cleaning
Change-Id: I1b80271473166755e8f0afaa7af8ffc7bea394b3
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/cfg.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 5ecfba5cbc63..20956aee716c 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -1793,7 +1793,6 @@ void SvxConfigPage::Reset( const SfxItemSet& )
for ( sal_Int32 i = 0; i < aFrameList.getLength(); ++i )
{
- SaveInData* pData = NULL;
uno::Reference < frame::XFrame > xf = aFrameList[i];
if ( xf.is() && xf != m_xFrame )
@@ -1833,7 +1832,7 @@ void SvxConfigPage::Reset( const SfxItemSet& )
if ( xDocCfgMgr.is() )
{
- pData = CreateSaveInData( xDocCfgMgr, xCfgMgr, aModuleId, sal_True );
+ SaveInData* pData = CreateSaveInData( xDocCfgMgr, xCfgMgr, aModuleId, sal_True );
if ( pData && !pData->IsReadOnly() )
{