summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-25 23:03:49 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-25 23:58:12 +0200
commit07b5102e7b1423becc395660c9f5c02bfab6477a (patch)
tree90dbe0518f97b3ce5dfc22e20b2d03a8ef71b711 /chart2
parent3f13d234dfcb43713a07c333bd685c0596435cc0 (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.cxx4
-rw-r--r--chart2/source/controller/main/ChartController.hxx2
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();