New Defects reported by Coverity Scan for LibreOffice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Please find the latest report on new defect(s) introduced to LibreOffice found with Coverity Scan.

19 new defect(s) introduced to LibreOffice found with Coverity Scan.
23 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 19 of 19 defect(s)


** CID 1559884:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1559884:  Uninitialized variables  (UNINIT)
/sw/source/uibase/sidebar/PageSizeControl.cxx: 124 in sw::sidebar::PageSizeControl::PageSizeControl(PageSizePopup *, weld::Widget *)()
118             bool bLandscape = false;
119             const SvxSizeItem* pSize(nullptr);
120             if (SfxViewFrame* pViewFrm = SfxViewFrame::Current())
121             {
122                 SfxPoolItemHolder aResult;
123                 pViewFrm->GetBindings().GetDispatcher()->QueryState(SID_ATTR_PAGE, aResult );
>>>     CID 1559884:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "aResult.m_bDeleted" when calling "getItem".
124                 bLandscape = static_cast<const SvxPageItem*>(aResult.getItem())->IsLandscape();
125                 pViewFrm->GetBindings().GetDispatcher()->QueryState(SID_ATTR_PAGE_SIZE, aResult);
126                 pSize = static_cast<const SvxSizeItem*>(aResult.getItem());
127             }
128     
129             const LocaleDataWrapper& localeDataWrapper = Application::GetSettings().GetLocaleDataWrapper();

** CID 1559883:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1559883:  Uninitialized variables  (UNINIT)
/sw/source/uibase/sidebar/PageColumnControl.cxx: 44 in sw::sidebar::PageColumnControl::PageColumnControl(PageColumnPopup *, weld::Widget *)()
38     {
39         bool bLandscape = false;
40         if (SfxViewFrame* pViewFrm = SfxViewFrame::Current())
41         {
42             SfxPoolItemHolder aResult;
43             pViewFrm->GetBindings().GetDispatcher()->QueryState(SID_ATTR_PAGE, aResult);
>>>     CID 1559883:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "aResult.m_bDeleted" when calling "getItem".
44             const SvxPageItem* pPageItem(static_cast<const SvxPageItem*>(aResult.getItem()));
45             bLandscape = pPageItem->IsLandscape();
46         }
47     
48         if ( bLandscape )
49         {

** CID 1559882:  Uninitialized members  (UNINIT_CTOR)
/svl/source/items/itemset.cxx: 103 in SfxPoolItemHolder::SfxPoolItemHolder(const SfxPoolItemHolder&)()


________________________________________________________________________________________________________
*** CID 1559882:  Uninitialized members  (UNINIT_CTOR)
/svl/source/items/itemset.cxx: 103 in SfxPoolItemHolder::SfxPoolItemHolder(const SfxPoolItemHolder&)()
97         assert(!rHolder.isDeleted() && "Destructed instance used (!)");
98         nAllocatedSfxPoolItemHolderCount++;
99         nUsedSfxPoolItemHolderCount++;
100     #endif
101         if (nullptr != m_pItem)
102             m_pItem = implCreateItemEntry(*m_pPool, m_pItem, m_pItem->Which(), false);
>>>     CID 1559882:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "m_bDeleted" is not initialized in this constructor nor in any functions that it calls.
103     }
104     
105     SfxPoolItemHolder::~SfxPoolItemHolder()
106     {
107     #ifdef DBG_UTIL
108         assert(!isDeleted() && "Destructed instance used (!)");

** CID 1559881:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1559881:  Uninitialized variables  (UNINIT)
/sw/source/uibase/sidebar/PageSizeControl.cxx: 202 in sw::sidebar::PageSizeControl::ExecuteSizeChange(Paper)()
196         SfxViewFrame* pViewFrm = SfxViewFrame::Current();
197         if (!pViewFrm)
198             return;
199     
200         SfxPoolItemHolder aResult;
201         pViewFrm->GetBindings().GetDispatcher()->QueryState(SID_ATTR_PAGE, aResult);
>>>     CID 1559881:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "aResult.m_bDeleted" when calling "getItem".
202         const SvxPageItem* pItem(static_cast<const SvxPageItem*>(aResult.getItem()));
203         bLandscape = pItem->IsLandscape();
204     
205         SvxSizeItem aPageSizeItem(SID_ATTR_PAGE_SIZE);
206         Size aPageSize = SvxPaperInfo::GetPaperSize( ePaper, eUnit );
207         if ( bLandscape )

** CID 1559880:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1559880:  Uninitialized variables  (UNINIT)
/sd/source/ui/unoidl/unomodel.cxx: 2472 in SdXImpressDocument::isMasterViewMode()()
2466             return false;
2467     
2468         if (pViewSh->GetDispatcher())
2469         {
2470             SfxPoolItemHolder aResult;
2471             pViewSh->GetDispatcher()->QueryState(SID_SLIDE_MASTER_MODE, aResult);
>>>     CID 1559880:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "aResult.m_bDeleted" when calling "getItem".
2472             const SfxBoolItem* isMasterViewMode(static_cast<const SfxBoolItem*>(aResult.getItem()));
2473             if (isMasterViewMode && isMasterViewMode->GetValue())
2474                 return true;
2475         }
2476         return false;
2477     }

** CID 1559879:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1559879:  Uninitialized variables  (UNINIT)
/sw/source/uibase/sidebar/PageOrientationControl.cxx: 111 in sw::sidebar::PageOrientationControl::ExecuteOrientationChange(bool)()
105     
106         if ( mxUndoManager.is() )
107             mxUndoManager->enterUndoContext( "" );
108     
109         SfxPoolItemHolder aResult;
110         pViewFrm->GetBindings().GetDispatcher()->QueryState(SID_ATTR_PAGE_SIZE, aResult);
>>>     CID 1559879:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "aResult.m_bDeleted" when calling "getItem".
111         mpPageSizeItem.reset(static_cast<const SvxSizeItem*>(aResult.getItem())->Clone());
112     
113         // Prevent accidental toggling of page orientation
114         if ((mpPageSizeItem->GetWidth() > mpPageSizeItem->GetHeight()) == bLandscape)
115         {
116             if ( mxUndoManager.is() )

** CID 1559878:    (UNINIT)


________________________________________________________________________________________________________
*** CID 1559878:    (UNINIT)
/sfx2/source/control/unoctitm.cxx: 705 in SfxDispatchController_Impl::dispatch(const com::sun::star::util::URL &, const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> &, const com::sun::star::uno::Reference<com::sun::star::frame::XDispatchResultListener> &)()
699                 eMapUnit = GetCoreMetric( SfxGetpApp()->GetPool(), GetId() );
700                 // AppDispatcher
701                 SfxAllItemSet aSet( SfxGetpApp()->GetPool() );
702                 TransformParameters( GetId(), lNewArgs, aSet );
703     
704                 if ( aSet.Count() )
>>>     CID 1559878:    (UNINIT)
>>>     Using uninitialized value "aItem.m_bDeleted" when calling "operator =".
705                     aItem = pDispatcher->Execute(GetId(), nCall, &aSet, &aInternalSet, nModifier);
706                 else
707                     // SfxRequests take empty sets as argument sets, GetArgs() returning non-zero!
708                     aItem = pDispatcher->Execute(GetId(), nCall, nullptr, &aInternalSet, nModifier);
709     
710                 // no bindings, no invalidate ( usually done in SfxDispatcher::Call_Impl()! )
/sfx2/source/control/unoctitm.cxx: 708 in SfxDispatchController_Impl::dispatch(const com::sun::star::util::URL &, const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> &, const com::sun::star::uno::Reference<com::sun::star::frame::XDispatchResultListener> &)()
702                 TransformParameters( GetId(), lNewArgs, aSet );
703     
704                 if ( aSet.Count() )
705                     aItem = pDispatcher->Execute(GetId(), nCall, &aSet, &aInternalSet, nModifier);
706                 else
707                     // SfxRequests take empty sets as argument sets, GetArgs() returning non-zero!
>>>     CID 1559878:    (UNINIT)
>>>     Using uninitialized value "aItem.m_bDeleted" when calling "operator =".
708                     aItem = pDispatcher->Execute(GetId(), nCall, nullptr, &aInternalSet, nModifier);
709     
710                 // no bindings, no invalidate ( usually done in SfxDispatcher::Call_Impl()! )
711                 if (SfxApplication* pApp = SfxApplication::Get())
712                 {
713                     SfxDispatcher* pAppDispat = pApp->GetAppDispatcher_Impl();

** CID 1559877:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1559877:  Uninitialized variables  (UNINIT)
/sd/source/ui/unoidl/unomodule.cxx: 52 in SdUnoModule::dispatchWithNotification(const com::sun::star::util::URL &, const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> &, const com::sun::star::uno::Reference<com::sun::star::frame::XDispatchResultListener> &)()
46         if ( !pSlot )
47             aState = frame::DispatchResultState::FAILURE;
48         else
49         {
50             SfxRequest aReq( pSlot, aArgs, SfxCallMode::SYNCHRON, SD_MOD()->GetPool() );
51             const SfxPoolItemHolder aResult(SD_MOD()->ExecuteSlot(aReq));
>>>     CID 1559877:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "aResult.m_bDeleted" when calling "getItem".
52             if (nullptr != aResult.getItem())
53                 aState = frame::DispatchResultState::SUCCESS;
54             else
55                 aState = frame::DispatchResultState::FAILURE;
56         }
57     

** CID 1559876:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1559876:  Uninitialized variables  (UNINIT)
/desktop/source/lib/init.cxx: 914 in <unnamed>::ExecuteOrientationChange()()
908     
909         if ( mxUndoManager.is() )
910             mxUndoManager->enterUndoContext( "" );
911     
912         SfxPoolItemHolder aResult;
913         pViewFrm->GetBindings().GetDispatcher()->QueryState(SID_ATTR_PAGE_SIZE, aResult);
>>>     CID 1559876:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "aResult.m_bDeleted" when calling "getItem".
914         std::unique_ptr<SvxSizeItem> pPageSizeItem(static_cast<const SvxSizeItem*>(aResult.getItem())->Clone());
915     
916         pViewFrm->GetBindings().GetDispatcher()->QueryState(SID_ATTR_PAGE_LRSPACE, aResult);
917         std::unique_ptr<SvxLongLRSpaceItem> pPageLRMarginItem(static_cast<const SvxLongLRSpaceItem*>(aResult.getItem())->Clone());
918     
919         pViewFrm->GetBindings().GetDispatcher()->QueryState(SID_ATTR_PAGE_ULSPACE, aResult);

** CID 1559875:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1559875:  Uninitialized variables  (UNINIT)
/sfx2/source/control/unoctitm.cxx: 718 in SfxDispatchController_Impl::dispatch(const com::sun::star::util::URL &, const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> &, const com::sun::star::uno::Reference<com::sun::star::frame::XDispatchResultListener> &)()
712                 {
713                     SfxDispatcher* pAppDispat = pApp->GetAppDispatcher_Impl();
714                     if ( pAppDispat )
715                     {
716                         SfxPoolItemHolder aResult;
717                         SfxItemState eState(pDispatcher->QueryState(GetId(), aResult));
>>>     CID 1559875:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "aResult.m_bDeleted" when calling "getItem".
718                         StateChangedAtToolBoxControl(GetId(), eState, aResult.getItem());
719                     }
720                 }
721     
722                 bSuccess = (nullptr != aItem.getItem());
723             }

** CID 1559874:    (UNINIT)


________________________________________________________________________________________________________
*** CID 1559874:    (UNINIT)
/sw/source/uibase/sidebar/PageSizeControl.cxx: 52 in <unnamed>::lcl_GetFieldUnit()()
46         FieldUnit lcl_GetFieldUnit()
47         {
48             if (SfxViewFrame* pViewFrm = SfxViewFrame::Current())
49             {
50                 SfxPoolItemHolder aResult;
51                 const SfxItemState eState(pViewFrm->GetBindings().GetDispatcher()->QueryState(SID_ATTR_METRIC, aResult));
>>>     CID 1559874:    (UNINIT)
>>>     Using uninitialized value "aResult.m_bDeleted" when calling "getItem".
52                 const SfxUInt16Item* pItem(static_cast<const SfxUInt16Item*>(aResult.getItem()));
53     
54                 if (pItem && eState >= SfxItemState::DEFAULT)
55                     return static_cast<FieldUnit>(pItem->GetValue());
56             }
57             return SfxModule::GetCurrentFieldUnit();
/sw/source/uibase/sidebar/PageMarginControl.cxx: 60 in <unnamed>::lcl_GetFieldUnit()()
54         FieldUnit lcl_GetFieldUnit()
55         {
56             if (SfxViewFrame* pViewFrm = SfxViewFrame::Current())
57             {
58                 SfxPoolItemHolder aResult;
59                 const SfxItemState eState(pViewFrm->GetBindings().GetDispatcher()->QueryState(SID_ATTR_METRIC, aResult));
>>>     CID 1559874:    (UNINIT)
>>>     Using uninitialized value "aResult.m_bDeleted" when calling "getItem".
60                 const SfxUInt16Item* pItem(static_cast<const SfxUInt16Item*>(aResult.getItem()));
61                 if (pItem && eState >= SfxItemState::DEFAULT)
62                     return static_cast<FieldUnit>(pItem->GetValue());
63             }
64             return SfxModule::GetCurrentFieldUnit();
65         }

** CID 1559873:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1559873:  Uninitialized variables  (UNINIT)
/svx/source/sidebar/text/TextUnderlineControl.cxx: 107 in svx::<unnamed>::GetUnderlineColor()()
101     Color GetUnderlineColor()
102     {
103         if (SfxViewFrame* pViewFrm = SfxViewFrame::Current())
104         {
105             SfxPoolItemHolder aResult;
106             pViewFrm->GetBindings().GetDispatcher()->QueryState(SID_ATTR_CHAR_UNDERLINE, aResult);
>>>     CID 1559873:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "aResult.m_bDeleted" when calling "getItem".
107             const SvxUnderlineItem* pUnderlineItem(static_cast<const SvxUnderlineItem*>(aResult.getItem()));
108     
109             if (pUnderlineItem)
110                 return pUnderlineItem->GetColor();
111         }
112     

** CID 1559872:  Uninitialized members  (UNINIT_CTOR)
/svl/source/items/itemset.cxx: 87 in SfxPoolItemHolder::SfxPoolItemHolder(SfxItemPool &, const SfxPoolItem *, bool)()


________________________________________________________________________________________________________
*** CID 1559872:  Uninitialized members  (UNINIT_CTOR)
/svl/source/items/itemset.cxx: 87 in SfxPoolItemHolder::SfxPoolItemHolder(SfxItemPool &, const SfxPoolItem *, bool)()
81     #ifdef DBG_UTIL
82         nAllocatedSfxPoolItemHolderCount++;
83         nUsedSfxPoolItemHolderCount++;
84     #endif
85         if (nullptr != m_pItem)
86             m_pItem = implCreateItemEntry(*m_pPool, m_pItem, m_pItem->Which(), bPassingOwnership);
>>>     CID 1559872:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "m_bDeleted" is not initialized in this constructor nor in any functions that it calls.
87     }
88     
89     SfxPoolItemHolder::SfxPoolItemHolder(const SfxPoolItemHolder& rHolder)
90     : m_pPool(rHolder.m_pPool)
91     , m_pItem(rHolder.m_pItem)
92     #ifdef DBG_UTIL

** CID 1559871:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1559871:  Uninitialized variables  (UNINIT)
/sw/source/uibase/sidebar/PageMarginControl.cxx: 134 in sw::sidebar::PageMarginControl::PageMarginControl(PageMarginPopup *, weld::Widget *)()
128         const SvxLongLRSpaceItem* pLRItem = nullptr;
129         const SvxLongULSpaceItem* pULItem = nullptr;
130         if (SfxViewFrame* pViewFrm = SfxViewFrame::Current())
131         {
132             SfxPoolItemHolder aResult;
133             pViewFrm->GetBindings().GetDispatcher()->QueryState(SID_ATTR_PAGE, aResult);
>>>     CID 1559871:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "aResult.m_bDeleted" when calling "getItem".
134             const SvxPageItem* pPageItem(static_cast<const SvxPageItem*>(aResult.getItem()));
135             bLandscape = pPageItem->IsLandscape();
136             m_bMirrored = pPageItem->GetPageUsage() == SvxPageUsage::Mirror;
137     
138             pViewFrm->GetBindings().GetDispatcher()->QueryState(SID_ATTR_PAGE_SIZE, aResult);
139             pSize = static_cast<const SvxSizeItem*>(aResult.getItem());

** CID 1559870:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1559870:  Uninitialized variables  (UNINIT)
/sw/source/uibase/dialog/watermarkdialog.cxx: 84 in SwWatermarkDialog::InitFields()()
78     
79         m_xOKButton->connect_clicked(LINK(this, SwWatermarkDialog, OKButtonHdl));
80     
81         // Get watermark properties
82         SfxPoolItemHolder aResult;
83         const SfxItemState eState(m_rBindings.GetDispatcher()->QueryState(SID_WATERMARK, aResult));
>>>     CID 1559870:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "aResult.m_bDeleted" when calling "getItem".
84         const SfxWatermarkItem* pWatermark(static_cast<const SfxWatermarkItem*>(aResult.getItem()));
85     
86         if( !(eState >= SfxItemState::DEFAULT && pWatermark && pWatermark->Which() == SID_WATERMARK))
87             return;
88     
89         const OUString& sText = pWatermark->GetText();

** CID 1559869:    (UNINIT)


________________________________________________________________________________________________________
*** CID 1559869:    (UNINIT)
/sfx2/source/appl/appopen.cxx: 553 in SfxApplication::NewDocExec_Impl(SfxRequest &)()
547                 aRet = GetDispatcher_Impl()->ExecuteList(SID_OPENDOC, eMode,
548                     {&aName, &aTarget, &aReferer, &aTemplName, &aTemplRegionName});
549             }
550             else
551             {
552                 SfxStringItem aName( SID_FILE_NAME, "private:factory" );
>>>     CID 1559869:    (UNINIT)
>>>     Using uninitialized value "aRet.m_bDeleted" when calling "operator =".
553                 aRet = GetDispatcher_Impl()->ExecuteList(SID_OPENDOC, eMode,
554                         { &aName, &aTarget, &aReferer } );
555             }
556     
557             if ( nullptr != aRet.getItem() )
558                 rReq.SetReturnValue( *aRet.getItem() );
/sfx2/source/appl/appopen.cxx: 547 in SfxApplication::NewDocExec_Impl(SfxRequest &)()
541             {
542                 DBG_ASSERT( aObj.GetProtocol() != INetProtocol::NotValid, "Illegal URL!" );
543     
544                 SfxStringItem aName( SID_FILE_NAME, aObj.GetMainURL( INetURLObject::DecodeMechanism::NONE ) );
545                 SfxStringItem aTemplName( SID_TEMPLATE_NAME, aTemplateName );
546                 SfxStringItem aTemplRegionName( SID_TEMPLATE_REGIONNAME, aTemplateRegion );
>>>     CID 1559869:    (UNINIT)
>>>     Using uninitialized value "aRet.m_bDeleted" when calling "operator =".
547                 aRet = GetDispatcher_Impl()->ExecuteList(SID_OPENDOC, eMode,
548                     {&aName, &aTarget, &aReferer, &aTemplName, &aTemplRegionName});
549             }
550             else
551             {
552                 SfxStringItem aName( SID_FILE_NAME, "private:factory" );

** CID 1559868:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1559868:  Uninitialized variables  (UNINIT)
/cui/source/options/treeopt.cxx: 1429 in OfaTreeOptionsDialog::CreateItemSet(unsigned short)()
1423     
1424                 SfxViewFrame* pViewFrame = SfxViewFrame::Current();
1425                 if ( pViewFrame )
1426                 {
1427                     SfxPoolItemHolder aResult;
1428                     const SfxItemState aState(pViewFrame->GetDispatcher()->QueryState(SID_ATTR_YEAR2000, aResult));
>>>     CID 1559868:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "aResult.m_bDeleted" when calling "getItem".
1429                     const SfxUInt16Item* pItem(static_cast<const SfxUInt16Item*>(aResult.getItem()));
1430     
1431                     // miscellaneous - Year2000
1432                     if(SfxItemState::DEFAULT <= aState && nullptr != pItem)
1433                         pRet->Put( SfxUInt16Item( SID_ATTR_YEAR2000, pItem->GetValue() ) );
1434                     else

** CID 1559867:  Uninitialized members  (UNINIT_CTOR)
/svl/source/items/itemset.cxx: 72 in SfxPoolItemHolder::SfxPoolItemHolder()()


________________________________________________________________________________________________________
*** CID 1559867:  Uninitialized members  (UNINIT_CTOR)
/svl/source/items/itemset.cxx: 72 in SfxPoolItemHolder::SfxPoolItemHolder()()
66     #endif
67     {
68     #ifdef DBG_UTIL
69         nAllocatedSfxPoolItemHolderCount++;
70         nUsedSfxPoolItemHolderCount++;
71     #endif
>>>     CID 1559867:  Uninitialized members  (UNINIT_CTOR)
>>>     Non-static class member "m_bDeleted" is not initialized in this constructor nor in any functions that it calls.
72     }
73     
74     SfxPoolItemHolder::SfxPoolItemHolder(SfxItemPool& rPool, const SfxPoolItem* pItem, bool bPassingOwnership)
75     : m_pPool(&rPool)
76     , m_pItem(pItem)
77     #ifdef DBG_UTIL

** CID 1559866:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1559866:  Uninitialized variables  (UNINIT)
/sfx2/source/doc/objserv.cxx: 1074 in SfxObjectShell::ExecFile_Impl(SfxRequest &)()
1068                         SfxViewShell::Current()->SetStoringHelper(xHelper);
1069     
1070                     QueryHiddenInformation(bIsPDFExport ? HiddenWarningFact::WhenCreatingPDF : HiddenWarningFact::WhenSaving);
1071                     SfxPoolItemHolder aItem;
1072                     if (SID_DIRECTEXPORTDOCASPDF == nId)
1073                         aItem = GetSlotState(SID_MAIL_PREPAREEXPORT);
>>>     CID 1559866:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "aItem.m_bDeleted" when calling "getItem".
1074                     const SfxBoolItem* pItem(dynamic_cast<const SfxBoolItem*>(aItem.getItem()));
1075     
1076                     // Fetch value from the pool item early, because GUIStoreModel() can free the pool
1077                     // item as part of spinning the main loop if a dialog is opened.
1078                     const bool bMailPrepareExport(nullptr != pItem && pItem->GetValue());
1079                     if (bMailPrepareExport)


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50ypSs1kiFPuCn2xFdlMIFBirii0zZ9j2-2F9F2XPBcBm2BNnPiSHxWPOELPnIxzXoBNaw-3Du-u4_OTq2XUZbbipYjyLSo6GRo-2FpVxQ9OzkDINu9UTS-2FQhSdO0F0jQniitrGlNxDIzPJiPisTytWuZxOkPHswrxqaBhRBP16RDz-2Bnwv7yYvboNqDmZVEAFvP7j9bX8pYBGjNwa-2FSLq5EuVS6B3o5VnPC1Bqly7PN1DLj0J0dAYyNynnGQ8ZgH-2BAGzucVWu9XUgqBWX4xRJ1-2FpdhcfX-2Brv0PxpvK85-2BmskHKhzO5MLk0drtzM-3D




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux