summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-23 15:45:26 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-23 16:02:12 +0000
commitcf0acb943de74e165334b38fe58e001ce9a940f4 (patch)
treef4e329a88467f2824cacfab356b4f0f473554f2e /sd
parentcoverity#1158489 Uninitialized scalar field (diff)
downloadcore-cf0acb943de74e165334b38fe58e001ce9a940f4.tar.gz
core-cf0acb943de74e165334b38fe58e001ce9a940f4.zip
coverity#1158466 Uninitialized pointer field
Change-Id: I9b2d678203e8025d132a43d9c8d76e15e2db4144
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/sdtreelb.cxx6
-rw-r--r--sd/source/ui/inc/sdtreelb.hxx3
2 files changed, 5 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx
index 8fc8c71431c1..17b456b609ae 100644
--- a/sd/source/ui/dlg/sdtreelb.cxx
+++ b/sd/source/ui/dlg/sdtreelb.cxx
@@ -233,6 +233,8 @@ SdPageObjsTLB::SdPageObjsTLB( Window* pParentWin, const SdResId& rSdResId )
, maImgGraphic ( BitmapEx( SdResId( BMP_GRAPHIC ) ) )
, mbLinkableSelected ( sal_False )
, mpDropNavWin ( NULL )
+, mpFrame ( NULL )
+, mbSaveTreeItemState ( false )
, mbShowAllShapes ( false )
, mbShowAllPages ( false )
{
@@ -252,6 +254,7 @@ SdPageObjsTLB::SdPageObjsTLB( Window* pParentWin, const SdResId& rSdResId )
SdPageObjsTLB::SdPageObjsTLB( Window* pParentWin, WinBits nStyle )
: SvTreeListBox ( pParentWin, nStyle )
+, bisInSdNavigatorWin ( false )
, mpParent ( pParentWin )
, mpDoc ( NULL )
, mpBookmarkDoc ( NULL )
@@ -261,9 +264,10 @@ SdPageObjsTLB::SdPageObjsTLB( Window* pParentWin, WinBits nStyle )
, maImgGraphic ( BitmapEx( SdResId( BMP_GRAPHIC ) ) )
, mbLinkableSelected ( sal_False )
, mpDropNavWin ( NULL )
+, mpFrame ( NULL )
+, mbSaveTreeItemState ( false )
, mbShowAllShapes ( false )
, mbShowAllPages ( false )
-
{
// add lines to Tree-ListBox
SetStyle( GetStyle() | WB_TABSTOP | WB_BORDER | WB_HASLINES |
diff --git a/sd/source/ui/inc/sdtreelb.hxx b/sd/source/ui/inc/sdtreelb.hxx
index 4200282d9aca..99c78bd7a0ea 100644
--- a/sd/source/ui/inc/sdtreelb.hxx
+++ b/sd/source/ui/inc/sdtreelb.hxx
@@ -130,10 +130,8 @@ protected:
Image maImgOle;
Image maImgGraphic;
sal_Bool mbLinkableSelected;
- sal_Bool mbDragEnabled;
OUString maDocName;
::sd::DrawDocShellRef mxBookmarkDocShRef; ///< for the loading of bookmarks
- ::sd::DrawDocShell* mpDropDocSh;
SdNavigatorWin* mpDropNavWin;
SfxViewFrame* mpFrame;
vector<OUString> maTreeItem;
@@ -226,7 +224,6 @@ public:
std::vector<OUString> GetSelectEntryList (const sal_uInt16 nDepth) const;
SdDrawDocument* GetBookmarkDoc(SfxMedium* pMedium = NULL);
- ::sd::DrawDocShell* GetDropDocSh() { return(mpDropDocSh); }
sal_Bool IsLinkableSelected() const { return mbLinkableSelected; }