diff options
author | David Tardon <dtardon@redhat.com> | 2016-04-27 16:35:40 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-05-02 06:54:30 +0200 |
commit | ffacf4ba0f8c77cd66561962ab540f3e6b726649 (patch) | |
tree | 4422652f013dfa6dd0ab2082f2bb7c2a9e2ea299 /svx/source/svdraw/svdobj.cxx | |
parent | 5db489719d95e66dcf4fc8ff5c0cc518a6da9dad (diff) |
change brackets to match the rest of the file
Change-Id: Ib859d8a012522e4f07f503ded0ee80e725a24ab8
Diffstat (limited to 'svx/source/svdraw/svdobj.cxx')
-rw-r--r-- | svx/source/svdraw/svdobj.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx index 612855ee1ec6..4ffef623369d 100644 --- a/svx/source/svdraw/svdobj.cxx +++ b/svx/source/svdraw/svdobj.cxx @@ -448,11 +448,12 @@ void SdrObject::SetPage(SdrPage* pNewPage) SdrPage* pOldPage = pPage; pPage=pNewPage; - if (pPage!=nullptr) { + if (pPage!=nullptr) + { SdrModel* pMod=pPage->GetModel(); - if (pMod!=pModel && pMod!=nullptr) { + if (pMod!=pModel && pMod!=nullptr) SetModel(pMod); - }} + } // The creation of the UNO shape in SdrObject::getUnoShape is influenced // by pPage, so when the page changes we need to discard the cached UNO |