diff options
Diffstat (limited to 'sd/source/ui/framework')
-rw-r--r-- | sd/source/ui/framework/factories/BasicViewFactory.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/framework/factories/BasicViewFactory.cxx b/sd/source/ui/framework/factories/BasicViewFactory.cxx index d97c62d06d8e..581260d347c4 100644 --- a/sd/source/ui/framework/factories/BasicViewFactory.cxx +++ b/sd/source/ui/framework/factories/BasicViewFactory.cxx @@ -471,15 +471,15 @@ std::shared_ptr<BasicViewFactory::ViewDescriptor> BasicViewFactory::GetViewFromC // remove it from the cache. if (pDescriptor != nullptr) { - bool bRelocationSuccessfull (false); + bool bRelocationSuccessful (false); Reference<XRelocatableResource> xResource (pDescriptor->mxView, UNO_QUERY); if (xResource.is() && rxPane.is()) { if (xResource->relocateToAnchor(rxPane)) - bRelocationSuccessfull = true; + bRelocationSuccessful = true; } - if ( ! bRelocationSuccessfull) + if ( ! bRelocationSuccessful) { ReleaseView(pDescriptor, true); pDescriptor.reset(); |