Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 454274 | Differences between
and this patch

Collapse All | Expand All

(-)libreoffice-4.0.1.2-orig/sw/source/core/inc/bookmrk.hxx (-1 / +1 lines)
Lines 75-81 Link Here
75
75
76
            virtual bool IsCoveringPosition(const SwPosition& rPos) const;
76
            virtual bool IsCoveringPosition(const SwPosition& rPos) const;
77
            virtual bool IsExpanded() const
77
            virtual bool IsExpanded() const
78
                { return m_pPos2; }
78
                { return static_cast< bool >(m_pPos2); }
79
79
80
            virtual void SetName(const ::rtl::OUString& rName)
80
            virtual void SetName(const ::rtl::OUString& rName)
81
                { m_aName = rName; }
81
                { m_aName = rName; }
(-)libreoffice-4.0.1.2-orig/sc/source/filter/inc/xichart.hxx (-2 / +2 lines)
Lines 1230-1238 Link Here
1230
    /** Returns true, if the axis contains caption labels. */
1230
    /** Returns true, if the axis contains caption labels. */
1231
    inline bool         HasLabels() const { return !mxTick || mxTick->HasLabels(); }
1231
    inline bool         HasLabels() const { return !mxTick || mxTick->HasLabels(); }
1232
    /** Returns true, if the axis shows its major grid lines. */
1232
    /** Returns true, if the axis shows its major grid lines. */
1233
    inline bool         HasMajorGrid() const { return mxMajorGrid; }
1233
    inline bool         HasMajorGrid() const { return static_cast< bool >(mxMajorGrid); }
1234
    /** Returns true, if the axis shows its minor grid lines. */
1234
    /** Returns true, if the axis shows its minor grid lines. */
1235
    inline bool         HasMinorGrid() const { return mxMinorGrid; }
1235
    inline bool         HasMinorGrid() const { return static_cast< bool >(mxMinorGrid); }
1236
1236
1237
    /** Creates an API axis object. */
1237
    /** Creates an API axis object. */
1238
    XAxisRef            CreateAxis( const XclImpChTypeGroup& rTypeGroup, const XclImpChAxis* pCrossingAxis ) const;
1238
    XAxisRef            CreateAxis( const XclImpChTypeGroup& rTypeGroup, const XclImpChAxis* pCrossingAxis ) const;
(-)libreoffice-4.0.1.2-orig/sc/source/filter/excel/xichart.cxx (-1 / +1 lines)
Lines 2688-2694 Link Here
2688
    maType.Finalize( bStockChart );
2688
    maType.Finalize( bStockChart );
2689
2689
2690
    // extended type info
2690
    // extended type info
2691
    maTypeInfo.Set( maType.GetTypeInfo(), mxChart3d, false );
2691
    maTypeInfo.Set( maType.GetTypeInfo(), static_cast< bool >(mxChart3d), false );
2692
2692
2693
    // reverse series order for some unstacked 2D chart types
2693
    // reverse series order for some unstacked 2D chart types
2694
    if( maTypeInfo.mbReverseSeries && !Is3dChart() && !maType.IsStacked() && !maType.IsPercent() )
2694
    if( maTypeInfo.mbReverseSeries && !Is3dChart() && !maType.IsStacked() && !maType.IsPercent() )
(-)libreoffice-4.0.1.2-orig/sc/source/filter/excel/xehelper.cxx (-1 / +1 lines)
Lines 303-309 Link Here
303
    if( GetBiff() == EXC_BIFF8 )    // no HLINK records in BIFF2-BIFF7
303
    if( GetBiff() == EXC_BIFF8 )    // no HLINK records in BIFF2-BIFF7
304
    {
304
    {
305
        // there was/is already a HLINK record
305
        // there was/is already a HLINK record
306
        mbMultipleUrls = mxLinkRec;
306
        mbMultipleUrls = static_cast< bool >(mxLinkRec);
307
307
308
        mxLinkRec.reset( new XclExpHyperlink( GetRoot(), rUrlField, maScPos ) );
308
        mxLinkRec.reset( new XclExpHyperlink( GetRoot(), rUrlField, maScPos ) );
309
309
(-)libreoffice-4.0.1.2-orig/sc/source/filter/excel/xechart.cxx (-1 / +1 lines)
Lines 682-688 Link Here
682
682
683
bool XclExpChEscherFormat::IsValid() const
683
bool XclExpChEscherFormat::IsValid() const
684
{
684
{
685
    return maData.mxEscherSet;
685
    return static_cast< bool >(maData.mxEscherSet);
686
}
686
}
687
687
688
void XclExpChEscherFormat::Save( XclExpStream& rStrm )
688
void XclExpChEscherFormat::Save( XclExpStream& rStrm )
(-)libreoffice-4.0.1.2-orig/slideshow/source/engine/slide/slideanimations.cxx (-1 / +1 lines)
Lines 74-80 Link Here
74
74
75
            SHOW_NODE_TREE( mpRootNode );
75
            SHOW_NODE_TREE( mpRootNode );
76
76
77
            return mpRootNode;
77
            return static_cast< bool >(mpRootNode);
78
        }
78
        }
79
79
80
        bool SlideAnimations::isAnimated() const
80
        bool SlideAnimations::isAnimated() const
(-)libreoffice-4.0.1.2-orig/editeng/source/editeng/eerdll.cxx (-1 / +1 lines)
Lines 195-201 Link Here
195
195
196
OutputDevice* GlobalEditData::GetStdRefDevice()
196
OutputDevice* GlobalEditData::GetStdRefDevice()
197
{
197
{
198
    if ( !m_aStdRefDevice )
198
    if ( !static_cast< bool >(m_aStdRefDevice) )
199
    {
199
    {
200
        m_aStdRefDevice.reset(new VirtualDevice);
200
        m_aStdRefDevice.reset(new VirtualDevice);
201
        m_aStdRefDevice->SetMapMode( MAP_TWIP );
201
        m_aStdRefDevice->SetMapMode( MAP_TWIP );
(-)libreoffice-4.0.1.2-orig/slideshow/source/engine/shapes/viewshape.cxx (-1 / +1 lines)
Lines 178-184 Link Here
178
                }
178
                }
179
            }
179
            }
180
180
181
            return io_rCacheEntry.mpRenderer;
181
            return static_cast< bool >(io_rCacheEntry.mpRenderer);
182
        }
182
        }
183
183
184
        bool ViewShape::draw( const ::cppcanvas::CanvasSharedPtr&   rDestinationCanvas,
184
        bool ViewShape::draw( const ::cppcanvas::CanvasSharedPtr&   rDestinationCanvas,
(-)libreoffice-4.0.1.2-orig/slideshow/source/engine/shapesubset.cxx (-1 / +1 lines)
Lines 104-110 Link Here
104
                    maTreeNode );
104
                    maTreeNode );
105
            }
105
            }
106
106
107
            return mpSubsetShape;
107
            return static_cast< bool >(mpSubsetShape);
108
        }
108
        }
109
109
110
        void ShapeSubset::disableSubsetShape()
110
        void ShapeSubset::disableSubsetShape()
(-)libreoffice-4.0.1.2-orig/slideshow/source/inc/shapeattributelayerholder.hxx (-1 / +1 lines)
Lines 83-89 Link Here
83
                if( mpShape )
83
                if( mpShape )
84
                    mpAttributeLayer = mpShape->createAttributeLayer();
84
                    mpAttributeLayer = mpShape->createAttributeLayer();
85
85
86
                return mpAttributeLayer;
86
                return static_cast< bool >(mpAttributeLayer);
87
            }
87
            }
88
88
89
            ShapeAttributeLayerSharedPtr get() const
89
            ShapeAttributeLayerSharedPtr get() const
(-)libreoffice-4.0.1.2-orig/slideshow/source/engine/animatedsprite.cxx (-1 / +1 lines)
Lines 151-157 Link Here
151
                }
151
                }
152
            }
152
            }
153
153
154
            return mpSprite;
154
            return static_cast< bool >(mpSprite);
155
        }
155
        }
156
156
157
        void AnimatedSprite::setPixelOffset( const ::basegfx::B2DSize& rPixelOffset )
157
        void AnimatedSprite::setPixelOffset( const ::basegfx::B2DSize& rPixelOffset )
(-)libreoffice-4.0.1.2-orig/slideshow/source/inc/shapeattributelayer.hxx (-1 / +1 lines)
Lines 467-473 Link Here
467
            // ShapeAttributeLayer(const ShapeAttributeLayer&);
467
            // ShapeAttributeLayer(const ShapeAttributeLayer&);
468
            // ShapeAttributeLayer& operator=( const ShapeAttributeLayer& );
468
            // ShapeAttributeLayer& operator=( const ShapeAttributeLayer& );
469
469
470
            bool haveChild() const { return mpChild; }
470
            bool haveChild() const { return static_cast< bool >(mpChild); }
471
            void updateStateIds();
471
            void updateStateIds();
472
472
473
            template< typename T > T calcValue( const T&                   rCurrValue,
473
            template< typename T > T calcValue( const T&                   rCurrValue,
(-)libreoffice-4.0.1.2-orig/comphelper/inc/comphelper/scoped_disposing_ptr.hxx (-1 / +1 lines)
Lines 78-84 Link Here
78
78
79
    operator bool () const
79
    operator bool () const
80
    {
80
    {
81
        return m_aItem;
81
        return static_cast< bool >(m_aItem);
82
    }
82
    }
83
83
84
    virtual ~scoped_disposing_ptr()
84
    virtual ~scoped_disposing_ptr()
(-)libreoffice-4.0.1.2-orig/vcl/source/gdi/svgdata.cxx (-1 / +1 lines)
Lines 166-172 Link Here
166
166
167
//////////////////////////////////////////////////////////////////////////////
167
//////////////////////////////////////////////////////////////////////////////
168
SvgData::SvgData(const OUString& rPath):
168
SvgData::SvgData(const OUString& rPath):
169
    maSvgDataArray(NULL),
169
    maSvgDataArray(static_cast< unsigned char * >(NULL)),
170
    mnSvgDataArrayLength(0),
170
    mnSvgDataArrayLength(0),
171
    maPath(rPath),
171
    maPath(rPath),
172
    maRange(),
172
    maRange(),

Return to bug 454274