Bugzilla – Attachment 78127 Details for
Bug 63629
[PATCH] Build fail when using -std=gnu++0x and recent boost
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Fix
libreoffice.patch (text/plain), 5.19 KB, created by
Hristo Venev
on 2013-04-17 09:21:38 UTC
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Hristo Venev
Created:
2013-04-17 09:21:38 UTC
Size:
5.19 KB
patch
obsolete
>--- vcl/source/gdi/svgdata.cxx >+++ vcl/source/gdi/svgdata.cxx >@@ -166,7 +166,7 @@ > > ////////////////////////////////////////////////////////////////////////////// > SvgData::SvgData(const OUString& rPath): >- maSvgDataArray(NULL), >+ maSvgDataArray(), > mnSvgDataArrayLength(0), > maPath(rPath), > maRange(), >--- solver/unxlngx6.pro/inc/comphelper/scoped_disposing_ptr.hxx >+++ solver/unxlngx6.pro/inc/comphelper/scoped_disposing_ptr.hxx >@@ -78,7 +78,7 @@ > > operator bool () const > { >- return m_aItem; >+ return static_cast<bool>(m_aItem); > } > > virtual ~scoped_disposing_ptr() >--- slideshow/source/inc/shapeattributelayer.hxx >+++ slideshow/source/inc/shapeattributelayer.hxx >@@ -467,7 +467,7 @@ > // ShapeAttributeLayer(const ShapeAttributeLayer&); > // ShapeAttributeLayer& operator=( const ShapeAttributeLayer& ); > >- bool haveChild() const { return mpChild; } >+ bool haveChild() const { return static_cast<bool>(mpChild); } > void updateStateIds(); > > template< typename T > T calcValue( const T& rCurrValue, >--- slideshow/source/engine/animatedsprite.cxx >+++ slideshow/source/engine/animatedsprite.cxx >@@ -151,7 +151,7 @@ > } > } > >- return mpSprite; >+ return static_cast<bool>(mpSprite); > } > > void AnimatedSprite::setPixelOffset( const ::basegfx::B2DSize& rPixelOffset ) >--- slideshow/source/inc/shapeattributelayerholder.hxx >+++ slideshow/source/inc/shapeattributelayerholder.hxx >@@ -83,7 +83,7 @@ > if( mpShape ) > mpAttributeLayer = mpShape->createAttributeLayer(); > >- return mpAttributeLayer; >+ return static_cast<bool>(mpAttributeLayer); > } > > ShapeAttributeLayerSharedPtr get() const >--- slideshow/source/engine/shapesubset.cxx >+++ slideshow/source/engine/shapesubset.cxx >@@ -104,7 +104,7 @@ > maTreeNode ); > } > >- return mpSubsetShape; >+ return static_cast<bool>(mpSubsetShape); > } > > void ShapeSubset::disableSubsetShape() >--- slideshow/source/engine/shapes/viewshape.cxx >+++ slideshow/source/engine/shapes/viewshape.cxx >@@ -178,7 +178,7 @@ > } > } > >- return io_rCacheEntry.mpRenderer; >+ return static_cast<bool>(io_rCacheEntry.mpRenderer); > } > > bool ViewShape::draw( const ::cppcanvas::CanvasSharedPtr& rDestinationCanvas, >--- slideshow/source/engine/slide/slideanimations.cxx >+++ slideshow/source/engine/slide/slideanimations.cxx >@@ -74,7 +74,7 @@ > > SHOW_NODE_TREE( mpRootNode ); > >- return mpRootNode; >+ return static_cast<bool>(mpRootNode); > } > > bool SlideAnimations::isAnimated() const >--- sw/source/core/inc/bookmrk.hxx >+++ sw/source/core/inc/bookmrk.hxx >@@ -75,7 +75,7 @@ > > virtual bool IsCoveringPosition(const SwPosition& rPos) const; > virtual bool IsExpanded() const >- { return m_pPos2; } >+ { return static_cast<bool>(m_pPos2); } > > virtual void SetName(const ::rtl::OUString& rName) > { m_aName = rName; } >--- sc/source/filter/excel/xechart.cxx >+++ sc/source/filter/excel/xechart.cxx >@@ -682,7 +682,7 @@ > > bool XclExpChEscherFormat::IsValid() const > { >- return maData.mxEscherSet; >+ return static_cast<bool>(maData.mxEscherSet); > } > > void XclExpChEscherFormat::Save( XclExpStream& rStrm ) >--- sc/source/filter/excel/xehelper.cxx >+++ sc/source/filter/excel/xehelper.cxx >@@ -303,7 +303,7 @@ > if( GetBiff() == EXC_BIFF8 ) // no HLINK records in BIFF2-BIFF7 > { > // there was/is already a HLINK record >- mbMultipleUrls = mxLinkRec; >+ mbMultipleUrls = static_cast<bool>(mxLinkRec); > > mxLinkRec.reset( new XclExpHyperlink( GetRoot(), rUrlField, maScPos ) ); > >--- sc/source/filter/excel/xichart.cxx >+++ sc/source/filter/excel/xichart.cxx >@@ -2689,7 +2689,7 @@ > maType.Finalize( bStockChart ); > > // extended type info >- maTypeInfo.Set( maType.GetTypeInfo(), mxChart3d, false ); >+ maTypeInfo.Set( maType.GetTypeInfo(), static_cast<bool>(mxChart3d), false ); > > // reverse series order for some unstacked 2D chart types > if( maTypeInfo.mbReverseSeries && !Is3dChart() && !maType.IsStacked() && !maType.IsPercent() ) >--- sc/source/filter/inc/xichart.hxx >+++ sc/source/filter/inc/xichart.hxx >@@ -1230,9 +1230,9 @@ > /** Returns true, if the axis contains caption labels. */ > inline bool HasLabels() const { return !mxTick || mxTick->HasLabels(); } > /** Returns true, if the axis shows its major grid lines. */ >- inline bool HasMajorGrid() const { return mxMajorGrid; } >+ inline bool HasMajorGrid() const { return static_cast<bool>(mxMajorGrid); } > /** Returns true, if the axis shows its minor grid lines. */ >- inline bool HasMinorGrid() const { return mxMinorGrid; } >+ inline bool HasMinorGrid() const { return static_cast<bool>(mxMinorGrid); } > > /** Creates an API axis object. */ > XAxisRef CreateAxis( const XclImpChTypeGroup& rTypeGroup, const XclImpChAxis* pCrossingAxis ) const;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 63629
:
78127
|
79453