summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/bastyp/fltfnc.cxx2
-rw-r--r--sfx2/source/dialog/backingcomp.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx
index 2899d4f66558..ba7cc8ac9330 100644
--- a/sfx2/source/bastyp/fltfnc.cxx
+++ b/sfx2/source/bastyp/fltfnc.cxx
@@ -398,7 +398,7 @@ ErrCode SfxFilterMatcher::GuessFilterControlDefaultUI( SfxMedium& rMedium, std:
try
{
// open the stream one times only ...
- // Otherwhise it will be tried more than once and show the same interaction more than once ...
+ // Otherwise it will be tried more than once and show the same interaction more than once ...
OUString sURL( rMedium.GetURLObject().GetMainURL( INetURLObject::DecodeMechanism::NONE ) );
uno::Reference< io::XInputStream > xInStream = rMedium.GetInputStream();
diff --git a/sfx2/source/dialog/backingcomp.cxx b/sfx2/source/dialog/backingcomp.cxx
index 37a2348cd11f..76086dc404c7 100644
--- a/sfx2/source/dialog/backingcomp.cxx
+++ b/sfx2/source/dialog/backingcomp.cxx
@@ -698,7 +698,7 @@ void SAL_CALL BackingComp::keyPressed( /*IN*/ const css::awt::KeyEvent& )
void SAL_CALL BackingComp::keyReleased( /*IN*/ const css::awt::KeyEvent& )
{
/* Attention
- Please use keyPressed() instead of this method. Otherwhise it would be possible, that
+ Please use keyPressed() instead of this method. Otherwise it would be possible, that
- a key input may be first switch to the backing mode
- and this component register itself as key listener too
- and it's first event will be a keyRealeased() for the already well known event, which switched to the backing mode!