summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--UnoControls/source/base/basecontainercontrol.cxx4
-rw-r--r--sc/source/ui/view/gridwin4.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/UnoControls/source/base/basecontainercontrol.cxx b/UnoControls/source/base/basecontainercontrol.cxx
index 9c6bef517e53..40bb1dc98166 100644
--- a/UnoControls/source/base/basecontainercontrol.cxx
+++ b/UnoControls/source/base/basecontainercontrol.cxx
@@ -208,10 +208,10 @@ void SAL_CALL BaseContainerControl::addControl ( const OUString& rName, const Re
pNewControl->xControl->setContext ( static_cast<OWeakObject*>(this) );
pNewControl->xControl->addEventListener ( static_cast< XEventListener* >( static_cast< XWindowListener* >( this ) ) );
- // when container has a peer ...
+ // when container has a peer...
if (getPeer().is())
{
- // .. then create a peer on child
+ // ... then create a peer on child
pNewControl->xControl->createPeer ( getPeer()->getToolkit(), getPeer() );
}
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index 542a4c6283c6..1ed36c4ed414 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -1118,7 +1118,7 @@ void ScGridWindow::PaintTile( VirtualDevice& rDevice,
// integer multiples of pixels.
//
// See also desktop/source/lib/init.cxx for details, where we have to set
- // the stuff accorndingly for the VirtualDevice creation.
+ // the stuff accordingly for the VirtualDevice creation.
// page break zoom, and aLogicMode in ScViewData - hardcode that to what
// we mean as 100% (256px tiles meaning 3840 twips)