summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-01-08 06:53:31 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2020-01-08 13:18:43 +0100
commit22d656a45ce3d44d775196c70e7dae8aced90b3d (patch)
tree3bb302e4fa9e55283024118a6a090f7f4121b616
parent648fa0ab6bd5399422951f848ca86cb710b1bd52 (diff)
Fix typo/grammar
Change-Id: I8e7320224a9cb4ff9317b842a2c1c0b1a3ddcd17 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86390 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--framework/source/dispatch/dispatchprovider.cxx2
-rw-r--r--writerperfect/source/common/WPXSvInputStream.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/dispatch/dispatchprovider.cxx b/framework/source/dispatch/dispatchprovider.cxx
index c573cd487e48..9d86254061a7 100644
--- a/framework/source/dispatch/dispatchprovider.cxx
+++ b/framework/source/dispatch/dispatchprovider.cxx
@@ -325,7 +325,7 @@ css::uno::Reference< css::frame::XDispatch > DispatchProvider::implts_queryFrame
{
css::uno::Reference< css::frame::XDispatchProvider > xParent( xFrame->getCreator(), css::uno::UNO_QUERY );
// In case the frame is not a top one, is not based on system window and has a parent,
- // the parent frame should to be queried for the correct dispatcher.
+ // the parent frame should be queried for the correct dispatcher.
// See i93473
if (
!WindowHelper::isTopWindow(xFrame->getContainerWindow()) &&
diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx
index f1799f56bd19..3f37c89c11c3 100644
--- a/writerperfect/source/common/WPXSvInputStream.cxx
+++ b/writerperfect/source/common/WPXSvInputStream.cxx
@@ -77,7 +77,7 @@ namespace
OUString lcl_normalizeSubStreamPath(const OUString& rPath)
{
// accept paths which begin by '/'
- // TODO: maybe this should to a full normalization
+ // TODO: maybe this should do a full normalization
if (rPath.startsWith("/") && rPath.getLength() >= 2)
return rPath.copy(1);
return rPath;