Some cppcheck cleaning
Change-Id: I9ce4af18d1cdbf694093309a026fd6c738590b82
This commit is contained in:
@@ -325,6 +325,7 @@ SfxMedium_Impl::SfxMedium_Impl( SfxMedium* pAntiImplP ) :
|
|||||||
bIsStorage( false ),
|
bIsStorage( false ),
|
||||||
bUseInteractionHandler( true ),
|
bUseInteractionHandler( true ),
|
||||||
bAllowDefaultIntHdl( false ),
|
bAllowDefaultIntHdl( false ),
|
||||||
|
bDisposeStorage( false ),
|
||||||
bStorageBasedOnInStream( false ),
|
bStorageBasedOnInStream( false ),
|
||||||
m_bSalvageMode( false ),
|
m_bSalvageMode( false ),
|
||||||
m_bVersionsAlreadyLoaded( false ),
|
m_bVersionsAlreadyLoaded( false ),
|
||||||
|
@@ -618,12 +618,11 @@ void SfxDocTplService_Impl::getDirList()
|
|||||||
sal_Bool SfxDocTplService_Impl::needsUpdate()
|
sal_Bool SfxDocTplService_Impl::needsUpdate()
|
||||||
{
|
{
|
||||||
OUString aPropName( PROPERTY_NEEDSUPDATE );
|
OUString aPropName( PROPERTY_NEEDSUPDATE );
|
||||||
sal_Bool bHasProperty = sal_False;
|
|
||||||
sal_Bool bNeedsUpdate = sal_True;
|
sal_Bool bNeedsUpdate = sal_True;
|
||||||
Any aValue;
|
Any aValue;
|
||||||
|
|
||||||
// Get the template dir list
|
// Get the template dir list
|
||||||
bHasProperty = getProperty( maRootContent, aPropName, aValue );
|
sal_Bool bHasProperty = getProperty( maRootContent, aPropName, aValue );
|
||||||
|
|
||||||
if ( bHasProperty )
|
if ( bHasProperty )
|
||||||
aValue >>= bNeedsUpdate;
|
aValue >>= bNeedsUpdate;
|
||||||
|
Reference in New Issue
Block a user