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

(-)a/drawinglayer/source/primitive2d/textlayoutdevice.cxx (-1 / +1 lines)
Lines 130-136 namespace drawinglayer Link Here
130
        {
130
        {
131
            scoped_timed_RefDev& rStdRefDevice = the_scoped_timed_RefDev::get();
131
            scoped_timed_RefDev& rStdRefDevice = the_scoped_timed_RefDev::get();
132
132
133
            if(!rStdRefDevice())
133
            if(!rStdRefDevice.get())
134
                rStdRefDevice.reset(new ImpTimedRefDev(rStdRefDevice));
134
                rStdRefDevice.reset(new ImpTimedRefDev(rStdRefDevice));
135
135
136
            return rStdRefDevice->acquireVirtualDevice();
136
            return rStdRefDevice->acquireVirtualDevice();
(-)a/editeng/source/editeng/eerdll.cxx (-1 / +1 lines)
Lines 195-201 uno::Reference< linguistic2::XLanguageGuessing > GlobalEditData::GetLanguageGues Link Here
195
195
196
OutputDevice* GlobalEditData::GetStdRefDevice()
196
OutputDevice* GlobalEditData::GetStdRefDevice()
197
{
197
{
198
    if ( !m_aStdRefDevice() )
198
    if ( !m_aStdRefDevice.get() )
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 );
(-)a/sc/source/filter/excel/xechart.cxx (-1 / +1 lines)
Lines 682-688 void XclExpChEscherFormat::Convert( const ScfPropertySet& rPropSet, XclChObjectT Link Here
682
682
683
bool XclExpChEscherFormat::IsValid() const
683
bool XclExpChEscherFormat::IsValid() const
684
{
684
{
685
    return maData.mxEscherSet;
685
    return maData.mxEscherSet.get();
686
}
686
}
687
687
688
void XclExpChEscherFormat::Save( XclExpStream& rStrm )
688
void XclExpChEscherFormat::Save( XclExpStream& rStrm )
(-)a/sc/source/filter/excel/xehelper.cxx (-1 / +1 lines)
Lines 303-309 rtl::OUString XclExpHyperlinkHelper::ProcessUrlField( const SvxURLField& rUrlFie 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 = mxLinkRec.get();
307
307
308
        mxLinkRec.reset( new XclExpHyperlink( GetRoot(), rUrlField, maScPos ) );
308
        mxLinkRec.reset( new XclExpHyperlink( GetRoot(), rUrlField, maScPos ) );
309
309
(-)a/sc/source/filter/excel/xichart.cxx (-1 / +1 lines)
Lines 2688-2694 void XclImpChTypeGroup::Finalize() 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(), mxChart3d.get(), 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() )
(-)a/sc/source/filter/inc/xichart.hxx (-2 / +2 lines)
Lines 1230-1238 public: 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 mxMajorGrid.get(); }
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 mxMinorGrid.get(); }
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;
(-)a/slideshow/source/engine/animatedsprite.cxx (-1 / +1 lines)
Lines 151-157 namespace slideshow Link Here
151
                }
151
                }
152
            }
152
            }
153
153
154
            return mpSprite;
154
            return mpSprite.get();
155
        }
155
        }
156
156
157
        void AnimatedSprite::setPixelOffset( const ::basegfx::B2DSize& rPixelOffset )
157
        void AnimatedSprite::setPixelOffset( const ::basegfx::B2DSize& rPixelOffset )
(-)a/slideshow/source/engine/animationnodes/animationnodefactory.cxx (-1 / +1 lines)
Lines 97-103 protected: Link Here
97
97
98
        // TODO(Q1): This yields circular references, which, it seems, is
98
        // TODO(Q1): This yields circular references, which, it seems, is
99
        // unavoidable here
99
        // unavoidable here
100
        if( pChild )
100
        if( pChild.get() )
101
            mrParent->appendChildNode( pChild );
101
            mrParent->appendChildNode( pChild );
102
    }
102
    }
103
103
(-)a/slideshow/source/engine/shapes/viewshape.cxx (-1 / +1 lines)
Lines 178-184 namespace slideshow Link Here
178
                }
178
                }
179
            }
179
            }
180
180
181
            return io_rCacheEntry.mpRenderer;
181
            return io_rCacheEntry.mpRenderer.get();
182
        }
182
        }
183
183
184
        bool ViewShape::draw( const ::cppcanvas::CanvasSharedPtr&   rDestinationCanvas,
184
        bool ViewShape::draw( const ::cppcanvas::CanvasSharedPtr&   rDestinationCanvas,
(-)a/slideshow/source/engine/shapesubset.cxx (-1 / +1 lines)
Lines 104-110 namespace slideshow Link Here
104
                    maTreeNode );
104
                    maTreeNode );
105
            }
105
            }
106
106
107
            return mpSubsetShape;
107
            return mpSubsetShape.get();
108
        }
108
        }
109
109
110
        void ShapeSubset::disableSubsetShape()
110
        void ShapeSubset::disableSubsetShape()
(-)a/slideshow/source/engine/slide/slideanimations.cxx (-2 / +2 lines)
Lines 74-85 namespace slideshow Link Here
74
74
75
            SHOW_NODE_TREE( mpRootNode );
75
            SHOW_NODE_TREE( mpRootNode );
76
76
77
            return mpRootNode;
77
            return mpRootNode.get();
78
        }
78
        }
79
79
80
        bool SlideAnimations::isAnimated() const
80
        bool SlideAnimations::isAnimated() const
81
        {
81
        {
82
            if( !mpRootNode )
82
            if( !mpRootNode.get() )
83
                return false; // no animations there
83
                return false; // no animations there
84
84
85
            // query root node about pending animations
85
            // query root node about pending animations
(-)a/slideshow/source/inc/shapeattributelayer.hxx (-1 / +1 lines)
Lines 467-473 namespace slideshow 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 mpChild.get(); }
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,
(-)a/sw/source/core/inc/bookmrk.hxx (-1 / +1 lines)
Lines 75-81 namespace sw { 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 m_pPos2.get(); }
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; }
(-)a/vcl/source/gdi/svgdata.cxx (-1 / +1 lines)
Lines 166-172 SvgData::SvgData(const SvgDataArray& rSvgDataArray, sal_uInt32 nSvgDataArrayLeng Link Here
166
166
167
//////////////////////////////////////////////////////////////////////////////
167
//////////////////////////////////////////////////////////////////////////////
168
SvgData::SvgData(const OUString& rPath):
168
SvgData::SvgData(const OUString& rPath):
169
    maSvgDataArray(NULL),
169
    maSvgDataArray(),
170
    mnSvgDataArrayLength(0),
170
    mnSvgDataArrayLength(0),
171
    maPath(rPath),
171
    maPath(rPath),
172
    maRange(),
172
    maRange(),

Return to bug 454274