diff options
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; } }; // ============================================================================ |