summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;