diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2015-01-18 23:35:56 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-01-19 08:46:05 +0000 |
commit | 83e8d0166d4dba92aafead49c427d5ffddd38b72 (patch) | |
tree | 8a6cd1cc308b905612d4c4246760400aff083643 /svx | |
parent | 6271e6400ac9f78a323e959a6a295625f08b87cc (diff) |
Fix typo code Resouce->Resource
Change-Id: I6e68c13e4513c2f8cc38e237646db7dffc88fe3b
Reviewed-on: https://gerrit.libreoffice.org/13986
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/fmobj.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/form/fmobj.cxx b/svx/source/form/fmobj.cxx index 6e2627e3f12a..7d7bd1bfde04 100644 --- a/svx/source/form/fmobj.cxx +++ b/svx/source/form/fmobj.cxx @@ -443,14 +443,14 @@ namespace Reference< XInterface > FmFormObj::ensureModelEnv(const Reference< XInterface > & _rSourceContainer, const Reference<css::form::XForms>& _rTopLevelDestContainer) { - Reference< XInterface > xTopLevelSouce; - OUString sAccessPath = lcl_getFormComponentAccessPath(_rSourceContainer, xTopLevelSouce); - if (!xTopLevelSouce.is()) + Reference< XInterface > xTopLevelSource; + OUString sAccessPath = lcl_getFormComponentAccessPath(_rSourceContainer, xTopLevelSource); + if (!xTopLevelSource.is()) // something went wrong, maybe _rSourceContainer isn't part of a valid forms hierarchy return Reference< XInterface > (); Reference< XIndexContainer > xDestContainer(_rTopLevelDestContainer, UNO_QUERY_THROW); - Reference< XIndexContainer > xSourceContainer(xTopLevelSouce, UNO_QUERY); + Reference< XIndexContainer > xSourceContainer(xTopLevelSource, UNO_QUERY); DBG_ASSERT(xSourceContainer.is(), "FmFormObj::ensureModelEnv : the top level source is invalid !"); sal_Int32 nTokIndex = 0; |