diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-03-25 23:03:49 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-03-25 23:58:12 +0200 |
commit | 07b5102e7b1423becc395660c9f5c02bfab6477a (patch) | |
tree | 90dbe0518f97b3ce5dfc22e20b2d03a8ef71b711 /chart2 | |
parent | 3f13d234dfcb43713a07c333bd685c0596435cc0 (diff) |
There are many ships in the port of Hamburg but "ownership" is not one
Change-Id: I971390d084b08293b21fdc35beb74482a1560bb8
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/ChartController.cxx | 4 | ||||
-rw-r--r-- | chart2/source/controller/main/ChartController.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index 4fe20ec4fbba..02f071dce1b7 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -165,7 +165,7 @@ ChartController::TheModel::~TheModel() { } -void ChartController::TheModel::SetOwnerShip( sal_Bool bGetsOwnership ) +void ChartController::TheModel::SetOwnership( sal_Bool bGetsOwnership ) { m_bOwnership = bGetsOwnership; m_bOwnershipIsWellKnown = sal_True; @@ -873,7 +873,7 @@ void ChartController::impl_deleteDrawViewController() { if( bGetsOwnership ) { - aModelRef->SetOwnerShip( bGetsOwnership ); + aModelRef->SetOwnership( bGetsOwnership ); } throw util::CloseVetoException(); diff --git a/chart2/source/controller/main/ChartController.hxx b/chart2/source/controller/main/ChartController.hxx index b6d1cf270bd3..21bad8fcafe0 100644 --- a/chart2/source/controller/main/ChartController.hxx +++ b/chart2/source/controller/main/ChartController.hxx @@ -506,7 +506,7 @@ private: virtual ~TheModel(); - void SetOwnerShip( sal_Bool bGetsOwnership ); + void SetOwnership( sal_Bool bGetsOwnership ); void addListener( ChartController* pController ); void removeListener( ChartController* pController ); void tryTermination(); |