[Libreoffice-commits] core.git: 6 commits - sd/inc sd/source slideshow/source

Caolán McNamara caolanm at redhat.com
Wed Feb 19 17:53:45 CET 2014


 sd/inc/sdmod.hxx                                                 |    1 -
 sd/source/ui/dlg/dlgass.cxx                                      |    2 --
 sd/source/ui/slideshow/slideshowimpl.cxx                         |    1 +
 sd/source/ui/slideshow/slideshowimpl.hxx                         |    1 -
 sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx |    2 --
 slideshow/source/engine/animationnodes/basecontainernode.cxx     |    1 +
 slideshow/source/engine/shapes/drawinglayeranimation.cxx         |    3 +++
 7 files changed, 5 insertions(+), 6 deletions(-)

New commits:
commit 419428f384add9b2429b6f811296ad16e2c4c2a4
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Feb 19 16:45:12 2014 +0000

    coverity#738820 bAutoSave is unused
    
    Change-Id: I98fca5611e47a4368e4947d29e703e661bfeebaa

diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx
index 518f086..477093c 100644
--- a/sd/inc/sdmod.hxx
+++ b/sd/inc/sdmod.hxx
@@ -125,7 +125,6 @@ protected:
     SvxSearchItem*          pSearchItem;
     SvNumberFormatter*      pNumberFormatter;
     SvStorageRef            xOptionStorage;
-    sal_Bool                    bAutoSave;
     sal_Bool                    bWaterCan;
     SfxErrorHandler*        mpErrorHdl;
     /** This device is used for printer independent layout.  It is virtual
commit b64e2d2a3020e39f29225ebf3be44a8a7fcf6976
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Feb 19 16:44:22 2014 +0000

    coverity#738822 mnTemplate is unused
    
    Change-Id: Ic9c4a520a5a3a849a16f68e033bae9ba83088f6e

diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx
index c47da15..a6f6674 100644
--- a/sd/source/ui/dlg/dlgass.cxx
+++ b/sd/source/ui/dlg/dlgass.cxx
@@ -230,8 +230,6 @@ public:
     sal_uInt16 mnShowPage;
     sal_Bool mbDocPreview;
 
-    sal_uLong mnTemplate;
-
     OUString maPageListFile;
 
     void UpdatePreview( sal_Bool bDocPreview );
commit d9568be3afbea59b366d4cc9b9cbf9aabfa118f9
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Feb 19 16:43:09 2014 +0000

    coverity#738826 Uninitialized scalar field
    
    Change-Id: Ib76b31ffb4c9708dc5f5d219c7a861a32f8851ff

diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index a047e43..54c4c02 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -521,6 +521,7 @@ SlideshowImpl::SlideshowImpl( const Reference< XPresentation2 >& xPresentation,
 , mbRehearseTimings(false)
 , mbDesignMode(false)
 , mbIsPaused(false)
+, mbWasPaused(false)
 , mbInputFreeze(false)
 , mbActive(sal_False)
 , maPresSettings( pDoc->getPresentationSettings() )
diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx
index 1b3f5d5..d4eeabb 100644
--- a/sd/source/ui/slideshow/slideshowimpl.hxx
+++ b/sd/source/ui/slideshow/slideshowimpl.hxx
@@ -369,7 +369,6 @@ private:
     bool            mbSlideBorderVisible;
     bool            mbSetOnlineSpelling;
     bool            mbDisposed;
-    bool            mbMouseIsDrawing;
     bool            mbAutoSaveWasOn;
     bool            mbRehearseTimings;
     bool            mbDesignMode;
commit 4db1cdd41cc4ed996c51e382313325e0db531a75
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Feb 19 16:34:36 2014 +0000

    coverity#738827 mbIsDeselectionPending unused
    
    Change-Id: Icfe7a8f49853ec7250de1c4c578038787eb8f241

diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx
index 0f6c119..e09f7d1 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx
@@ -135,8 +135,6 @@ private:
     */
     bool mbProcessingMouseButtonDown;
 
-    bool mbIsDeselectionPending;
-
     /** Remember the slide where the shift key was pressed and started a
         multiselection via keyboard.
     */
commit d5c30421ca603e9f0acc75ebef0c6fb7fc9ec1de
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Feb 19 16:26:30 2014 +0000

    coverity#738842 Uninitialized scalar field
    
    Change-Id: Ic362a2e18452920f1474880fc1c2aac8cc8f56b0

diff --git a/slideshow/source/engine/animationnodes/basecontainernode.cxx b/slideshow/source/engine/animationnodes/basecontainernode.cxx
index b2896aa..fc0a889 100644
--- a/slideshow/source/engine/animationnodes/basecontainernode.cxx
+++ b/slideshow/source/engine/animationnodes/basecontainernode.cxx
@@ -44,6 +44,7 @@ BaseContainerNode::BaseContainerNode(
     : BaseNode( xNode, rParent, rContext ),
       maChildren(),
       mnFinishedChildren(0),
+      mnLeftIterations(0),
       mbDurationIndefinite( isIndefiniteTiming( xNode->getEnd() ) &&
                             isIndefiniteTiming( xNode->getDuration() ) )
 {
commit aea2c1d59ed38f071ba0965dd3ffe767360cb428
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Feb 19 16:25:16 2014 +0000

    coverity#738843 Uninitialized scalar field
    
    Change-Id: I3323ceab5eacc02123384dc6bf24a7d565641a12

diff --git a/slideshow/source/engine/shapes/drawinglayeranimation.cxx b/slideshow/source/engine/shapes/drawinglayeranimation.cxx
index b5f36fb..c1b6b0e 100644
--- a/slideshow/source/engine/shapes/drawinglayeranimation.cxx
+++ b/slideshow/source/engine/shapes/drawinglayeranimation.cxx
@@ -746,10 +746,13 @@ ActivityImpl::ActivityImpl(
       mpParentDrawShape(pParentDrawShape),
       mpListener( new IntrinsicAnimationListener(*this) ),
       maTimer(rContext.mrEventQueue.getTimer()),
+      mfRotationAngle(0.0),
       mbIsShapeAnimated(false),
       mbIsDisposed(false),
       mbIsActive(true),
       meAnimKind(drawing::TextAnimationKind_NONE),
+      mbVisibleWhenStopped(false),
+      mbVisibleWhenStarted(false),
       mnStartTime(0L)
 {
     // get doctreenode:


More information about the Libreoffice-commits mailing list