diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-09-29 13:11:26 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-09-29 13:22:57 +0200 |
commit | 8de6948e4f67b65d0320f7ec08ab9ad8328b2411 (patch) | |
tree | a0727d9ed0cfb35861b3074950b1e285176f5c4d /oox | |
parent | Added #include "unotest/oustringostreaminserter.hxx" back in (will be needed ... (diff) | |
download | core-8de6948e4f67b65d0320f7ec08ab9ad8328b2411.tar.gz core-8de6948e4f67b65d0320f7ec08ab9ad8328b2411.zip |
fix trunk gcc compile errors
Diffstat (limited to 'oox')
-rw-r--r-- | oox/inc/oox/drawingml/chart/modelbase.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/oox/inc/oox/drawingml/chart/modelbase.hxx b/oox/inc/oox/drawingml/chart/modelbase.hxx index a91b52c3ea56..206ee6bff657 100644 --- a/oox/inc/oox/drawingml/chart/modelbase.hxx +++ b/oox/inc/oox/drawingml/chart/modelbase.hxx @@ -51,13 +51,13 @@ public: inline bool is() const { return this->get() != 0; } - inline ModelType& create() { reset( new ModelType ); return **this; } + inline ModelType& create() { this->reset( new ModelType ); return **this; } template< typename Param1Type > - inline ModelType& create( const Param1Type& rParam1 ) { reset( new ModelType( rParam1 ) ); return **this; } + inline ModelType& create( const Param1Type& rParam1 ) { this->reset( new ModelType( rParam1 ) ); return **this; } - inline ModelType& getOrCreate() { if( !*this ) reset( new ModelType ); return **this; } + inline ModelType& getOrCreate() { if( !*this ) this->reset( new ModelType ); return **this; } template< typename Param1Type > - inline ModelType& getOrCreate( const Param1Type& rParam1 ) { if( !*this ) reset( new ModelType( rParam1 ) ); return **this; } + inline ModelType& getOrCreate( const Param1Type& rParam1 ) { if( !*this ) this->reset( new ModelType( rParam1 ) ); return **this; } }; // ============================================================================ |