diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-26 10:41:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-26 20:47:12 +0200 |
commit | 91f11350eda817add24948ce7a4145eff58d8743 (patch) | |
tree | 58dbe2af41e06b9a9da192efef6d941d6bf1027f /svtools | |
parent | e06807f51d157844b357dab1bbf960cc55162330 (diff) |
rename createOnShotInstance->createOneShotInstance
Change-Id: I8848784cd867714019f90bb7fc57ca7289e51f81
Reviewed-on: https://gerrit.libreoffice.org/43873
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/misc/acceleratorexecute.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/misc/acceleratorexecute.cxx b/svtools/source/misc/acceleratorexecute.cxx index 3d2bca6a156c..d30e2393032d 100644 --- a/svtools/source/misc/acceleratorexecute.cxx +++ b/svtools/source/misc/acceleratorexecute.cxx @@ -58,7 +58,7 @@ class AsyncAccelExec : public cppu::WeakImplHelper<css::lang::XEventListener> This instance can be forced to execute it's internal set request asynchronous. After that it deletes itself ! */ - static AsyncAccelExec* createOnShotInstance(const css::uno::Reference<css::lang::XComponent>& xFrame, + static AsyncAccelExec* createOneShotInstance(const css::uno::Reference<css::lang::XComponent>& xFrame, const css::uno::Reference<css::frame::XDispatch>& xDispatch, const css::util::URL& rURL); @@ -203,7 +203,7 @@ bool AcceleratorExecute::execute(const css::awt::KeyEvent& aAWTKey) { // Note: Such instance can be used one times only and destroy itself afterwards .-) css::uno::Reference<css::lang::XComponent> xFrame(xProvider, css::uno::UNO_QUERY); - AsyncAccelExec* pExec = AsyncAccelExec::createOnShotInstance(xFrame, xDispatch, aURL); + AsyncAccelExec* pExec = AsyncAccelExec::createOneShotInstance(xFrame, xDispatch, aURL); pExec->execAsync(); } @@ -440,7 +440,7 @@ AsyncAccelExec::AsyncAccelExec(const css::uno::Reference<css::lang::XComponent>& { } -AsyncAccelExec* AsyncAccelExec::createOnShotInstance(const css::uno::Reference<css::lang::XComponent> &xFrame, +AsyncAccelExec* AsyncAccelExec::createOneShotInstance(const css::uno::Reference<css::lang::XComponent> &xFrame, const css::uno::Reference< css::frame::XDispatch >& xDispatch, const css::util::URL& rURL) { |