summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2014-11-10 15:05:25 +0100
committerNoel Grandin <noelgrandin@gmail.com>2014-11-12 11:04:11 +0000
commitda40cac540e7d735edbe9069b3c8ec6af4530208 (patch)
treef2abda7281129e13f588c77b18780a7090c8405f /sfx2
parentbb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff)
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/qa/complex/sfx2/DocumentProperties.java2
-rw-r--r--sfx2/source/appl/appdde.cxx2
-rw-r--r--sfx2/source/appl/appopen.cxx4
-rw-r--r--sfx2/source/appl/appquit.cxx2
-rw-r--r--sfx2/source/appl/childwin.cxx2
-rw-r--r--sfx2/source/appl/lnkbase2.cxx2
-rw-r--r--sfx2/source/appl/newhelp.cxx2
-rw-r--r--sfx2/source/appl/workwin.cxx10
-rw-r--r--sfx2/source/control/bindings.cxx4
-rw-r--r--sfx2/source/control/dispatch.cxx12
-rw-r--r--sfx2/source/control/request.cxx6
-rw-r--r--sfx2/source/dialog/backingwindow.cxx4
-rw-r--r--sfx2/source/dialog/basedlgs.cxx2
-rw-r--r--sfx2/source/dialog/dockwin.cxx2
-rw-r--r--sfx2/source/dialog/splitwin.cxx4
-rw-r--r--sfx2/source/dialog/tabdlg.cxx2
-rw-r--r--sfx2/source/doc/docfile.cxx4
-rw-r--r--sfx2/source/doc/doctempl.cxx2
-rw-r--r--sfx2/source/doc/objserv.cxx4
-rw-r--r--sfx2/source/doc/objstor.cxx8
-rw-r--r--sfx2/source/doc/objxtor.cxx4
-rw-r--r--sfx2/source/doc/sfxbasemodel.cxx6
-rw-r--r--sfx2/source/menu/virtmenu.cxx2
-rw-r--r--sfx2/source/notify/globalevents.cxx4
-rw-r--r--sfx2/source/sidebar/FocusManager.hxx2
-rw-r--r--sfx2/source/sidebar/ResourceManager.hxx2
-rw-r--r--sfx2/source/sidebar/TabItem.hxx2
-rw-r--r--sfx2/source/statbar/stbitem.cxx2
-rw-r--r--sfx2/source/toolbox/tbxitem.cxx2
-rw-r--r--sfx2/source/view/frame.cxx2
-rw-r--r--sfx2/source/view/ipclient.cxx2
-rw-r--r--sfx2/source/view/viewsh.cxx2
32 files changed, 56 insertions, 56 deletions
diff --git a/sfx2/qa/complex/sfx2/DocumentProperties.java b/sfx2/qa/complex/sfx2/DocumentProperties.java
index ded17fb662b1..8edda78be1ce 100644
--- a/sfx2/qa/complex/sfx2/DocumentProperties.java
+++ b/sfx2/qa/complex/sfx2/DocumentProperties.java
@@ -262,7 +262,7 @@ public class DocumentProperties
xDP.setModificationDate(dt);
assertEquals(
"setModificationDate", dt.Year, xDP.getModificationDate().Year);
- str = "i didnt do it";
+ str = "i did not do it";
xDP.setPrintedBy(str);
assertEquals("setPrintedBy", str, xDP.getPrintedBy());
dt.Year = 2024;
diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx
index 9b740da95135..e7d43427291e 100644
--- a/sfx2/source/appl/appdde.cxx
+++ b/sfx2/source/appl/appdde.cxx
@@ -236,7 +236,7 @@ namespace {
/* [Description]
Checks if 'rCmd' of the event 'rEvent' is (without '(') and then assemble
- this data into a <ApplicationEvent>, which is then excecuted through
+ this data into a <ApplicationEvent>, which is then executed through
<Application::AppEvent()>. If 'rCmd' is the given event 'rEvent', then
TRUE is returned, otherwise FALSE.
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx
index 0df4a09bcc9d..742d84195511 100644
--- a/sfx2/source/appl/appopen.cxx
+++ b/sfx2/source/appl/appopen.cxx
@@ -1009,7 +1009,7 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
}
Reference < XController > xController;
- // if a frame is given, it must be used for the starting point of the targetting mechanism
+ // if a frame is given, it must be used for the starting point of the targeting mechanism
// this code is also used if asynchronous loading is possible, because loadComponent always is synchron
if ( !xTargetFrame.is() )
{
@@ -1057,7 +1057,7 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
if( bHidden || pLinkItem || rReq.IsSynchronCall() )
{
// if loading must be done synchron, we must wait for completion to get a return value
- // find frame by myself; I must konw the exact frame to get the controller for the return value from it
+ // find frame by myself; I must know the exact frame to get the controller for the return value from it
Reference < XComponent > xComp;
try
diff --git a/sfx2/source/appl/appquit.cxx b/sfx2/source/appl/appquit.cxx
index 18b04e5543e5..1fba87125583 100644
--- a/sfx2/source/appl/appquit.cxx
+++ b/sfx2/source/appl/appquit.cxx
@@ -91,7 +91,7 @@ void SfxApplication::Deinitialize()
Exit();
// Release Controller and others
- // then the remaining components should alse disapear ( Beamer! )
+ // then the remaining components should also disapear ( Beamer! )
#if HAVE_FEATURE_SCRIPTING
BasicManagerRepository::resetApplicationBasicManager();
diff --git a/sfx2/source/appl/childwin.cxx b/sfx2/source/appl/childwin.cxx
index e2cb96804f0d..66d2bb39a53c 100644
--- a/sfx2/source/appl/childwin.cxx
+++ b/sfx2/source/appl/childwin.cxx
@@ -726,7 +726,7 @@ void SfxChildWindow::SetFrame( const ::com::sun::star::uno::Reference< ::com::su
if( pImp->xFrame.is() )
pImp->xFrame->removeEventListener( pImp->xListener );
- // If new frame isnt NULL -> we must guarantee valid listener for disposing events.
+ // If new frame is not NULL -> we must guarantee valid listener for disposing events.
// Use already existing or create new one.
if( rFrame.is() )
if( !pImp->xListener.is() )
diff --git a/sfx2/source/appl/lnkbase2.cxx b/sfx2/source/appl/lnkbase2.cxx
index cc1cdfcbd478..1bcd28faeb01 100644
--- a/sfx2/source/appl/lnkbase2.cxx
+++ b/sfx2/source/appl/lnkbase2.cxx
@@ -144,7 +144,7 @@ SvBaseLink::SvBaseLink( sal_uInt16 nUpdateMode, sal_uIntPtr nContentType )
bVisible = bSynchron = bUseCache = true;
bWasLastEditOK = false;
- // It it going to be a Ole-Link,
+ // It is going to be a Ole-Link,
pImplData->ClientType.nUpdateMode = nUpdateMode;
pImplData->ClientType.nCntntType = nContentType;
pImplData->ClientType.bIntrnlLnk = false;
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index 4ee115da5368..f2d935fb3635 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -2665,7 +2665,7 @@ void SfxHelpWindow_Impl::MakeLayout()
/* #i55528#
Hide() / Show() will produce strange effects.
The returned size (used later to be written back into the configuration)
- isnt the right after a resize during the window is hidden.
+ is not the right after a resize during the window is hidden.
If this resize is done if the window is visible evyrthing works as aspected.
Some VCL-patches could not solve this problem so I've established the
workaround: resize the help window if it's visible .-)
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index 69b5f8eb41c2..32c33e2e79e6 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -670,7 +670,7 @@ void SfxWorkWindow::Lock_Impl( bool bLock )
void SfxWorkWindow::DeleteControllers_Impl()
{
- // Lock SplitWindows (which means supressing the Resize-Reaction of the
+ // Lock SplitWindows (which means suppressing the Resize-Reaction of the
// DockingWindows)
sal_uInt16 n;
for ( n=0; n<SFX_SPLITWINDOWS_MAX; n++ )
@@ -1313,7 +1313,7 @@ bool SfxWorkWindow::IsPluginMode( SfxObjectShell* pObjShell )
void SfxWorkWindow::UpdateObjectBars_Impl()
{
- // Lock SplitWindows (which means supressing the Resize-Reaction of the
+ // Lock SplitWindows (which means suppressing the Resize-Reaction of the
// DockingWindows)
sal_uInt16 n;
for ( n=0; n<SFX_SPLITWINDOWS_MAX; n++ )
@@ -2604,7 +2604,7 @@ void SfxWorkWindow::ArrangeAutoHideWindows( SfxSplitWindow *pActSplitWin )
if ( !bDummyWindow )
aSize.Width() = pSplitWin->GetSizePixel().Width();
- // If a Window is visable to the left, then the free region
+ // If a Window is visible to the left, then the free region
// starts to the right from it, for example at the Client area
long nLeft = aPos.X() + aSize.Width();
if ( nLeft > aArea.Left() )
@@ -2631,7 +2631,7 @@ void SfxWorkWindow::ArrangeAutoHideWindows( SfxSplitWindow *pActSplitWin )
aSize.Width() = aArea.GetWidth();
}
- // If a Window is visable to the right, then the free region
+ // If a Window is visible to the right, then the free region
// starts to the left from it, for example at the Client area
long nRight = aPos.X();
if ( nRight < aArea.Right() )
@@ -2651,7 +2651,7 @@ void SfxWorkWindow::ArrangeAutoHideWindows( SfxSplitWindow *pActSplitWin )
aPos.X() = aArea.Left();
aSize.Width() = aArea.GetWidth();
- // If a Window is visable at the top, then the free region
+ // If a Window is visible at the top, then the free region
// starts beneath it, for example at the Client area
long nTop = aPos.Y() + aSize.Height();
if ( nTop > aArea.Top() )
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx
index 9da461ecfcbd..1b51608a6236 100644
--- a/sfx2/source/control/bindings.cxx
+++ b/sfx2/source/control/bindings.cxx
@@ -142,7 +142,7 @@ public:
bool bInNextJob; // for Assertions
bool bFirstRound; // First round in Update
sal_uInt16 nFirstShell; // Shell, the first round is preferred
- sal_uInt16 nOwnRegLevel; // Counts the real Locks, exept those of the Super Bindings
+ sal_uInt16 nOwnRegLevel; // Counts the real Locks, except those of the Super Bindings
InvalidateSlotMap m_aInvalidateSlots; // store slots which are invalidated while in update
};
@@ -1115,7 +1115,7 @@ void SfxBindings::Execute_Impl( SfxRequest& aReq, const SfxSlot* pSlot, SfxShell
if ( SFX_KIND_ENUM == pSlot->GetKind() )
{
- // for Enum-Slots, the Master has to be excecuted with the value
+ // for Enum-Slots, the Master has to be executed with the value
// of the enums
const SfxSlot *pRealSlot = pShell->GetInterface()->GetRealSlot(pSlot);
const sal_uInt16 nSlotId = pRealSlot->GetSlotId();
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index b471b3e45dc0..d2f286b81dd1 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -498,7 +498,7 @@ void SfxDispatcher::Pop(SfxShell& rShell, sal_uInt16 nMode)
/** This handler is called after <SfxDispatcher::Invalidate()> or after
changes on the stack (<SfxDispatcher::Push()> and <SfxDispatcher::Pop())
- It flushes the Stack, if it is dirty, thus it actually excecutes the
+ It flushes the Stack, if it is dirty, thus it actually executes the
pending Push and Pop commands.
*/
IMPL_LINK_INLINE_START( SfxDispatcher, EventHdl_Impl, void *, pvoid )
@@ -935,7 +935,7 @@ const SfxPoolItem* SfxDispatcher::Execute(sal_uInt16 nSlot, SfxCallMode nCall,
return 0;
}
-/** Method to excecute a <SfxSlot>s over the Slot-Id.
+/** Method to execute a <SfxSlot>s over the Slot-Id.
@param nSlot the Id of the executing function
@param eCall SfxCallMode::SYNCRHON, ..._ASYNCHRON or ..._SLOT
@@ -985,7 +985,7 @@ const SfxPoolItem* SfxDispatcher::Execute(sal_uInt16 nSlot, SfxCallMode eCall,
return 0;
}
-/** Method to excecute a <SfxSlot>s over the Slot-Id.
+/** Method to execute a <SfxSlot>s over the Slot-Id.
@param nSlot the Id of the executing function
@param eCall SfxCallMode::SYNCRHON, ..._ASYNCHRON or ..._SLOT
@@ -1029,7 +1029,7 @@ const SfxPoolItem* SfxDispatcher::Execute(sal_uInt16 nSlot, SfxCallMode eCall,
return 0;
}
-/** Method to excecute a <SfxSlot>s over the Slot-Id.
+/** Method to execute a <SfxSlot>s over the Slot-Id.
[Note]
@@ -1714,7 +1714,7 @@ bool SfxDispatcher::_TryIntercept_Impl
@param nSlot Slot-Id to search for
@param rServer <SfxSlotServer>-Instance to fill
- @param bModal Dispite ModalMode
+ @param bModal Despite ModalMode
@return true
The Slot was found, rServer is valid.
@@ -1818,7 +1818,7 @@ bool SfxDispatcher::_FindServer(sal_uInt16 nSlot, SfxSlotServer& rServer, bool b
bool bIsServerShell = !pImp->pFrame || bIsInPlace;
// Of course ShellServer-Slots are also executable even when it is
- // excecuted on a container dispatcher without a IPClient.
+ // executed on a container dispatcher without a IPClient.
if ( !bIsServerShell )
{
SfxViewShell *pViewSh = pImp->pFrame->GetViewShell();
diff --git a/sfx2/source/control/request.cxx b/sfx2/source/control/request.cxx
index 6c7d0a35d4ba..50e71b5779a8 100644
--- a/sfx2/source/control/request.cxx
+++ b/sfx2/source/control/request.cxx
@@ -375,7 +375,7 @@ void SfxRequest_Impl::Record
void SfxRequest::Record_Impl
(
- SfxShell& rSh, // the <SfxShell>, which has excecuted the Request
+ SfxShell& rSh, // the <SfxShell>, which has executed the Request
const SfxSlot& rSlot, // the <SfxSlot>, which has executed the Request
com::sun::star::uno::Reference< com::sun::star::frame::XDispatchRecorder > xRecorder,
SfxViewFrame* pViewFrame
@@ -431,7 +431,7 @@ void SfxRequest::RemoveItem( sal_uInt16 nID )
const SfxPoolItem* SfxRequest::GetArg
(
sal_uInt16 nSlotId, // Slot-Id or Which-Id of the parameters
- bool bDeep, // sal_False: do not seach in the Parent-ItemSets
+ bool bDeep, // sal_False: do not search in the Parent-ItemSets
TypeId aType // != 0: RTTI check with Assertion
) const
{
@@ -444,7 +444,7 @@ const SfxPoolItem* SfxRequest::GetItem
(
const SfxItemSet* pArgs,
sal_uInt16 nSlotId, // Slot-Id or Which-Id of the parameters
- bool bDeep, // sal_False: do not seach in the Parent-ItemSets
+ bool bDeep, // sal_False: do not search in the Parent-ItemSets
TypeId aType // != 0: RTTI check with Assertion
)
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index 53a09bae2539..02bbb08586e4 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -121,12 +121,12 @@ BackingWindow::BackingWindow( vcl::Window* i_pParent ) :
//extension button is considered as a candidate
//But the containers are not invisible to the PushButton ctor which checks
- //if the preceeding window of its parent is a button and if it then
+ //if the preceding window of its parent is a button and if it then
//defaults to grouping with it and if it is not a button defaults to
//setting itself as the start of a new group.
//So here take the second button and set it as explicitly not the start
- //of a group, i.e. allow it to be grouped with the preceeding
+ //of a group, i.e. allow it to be grouped with the preceding
//PushButton so when seen as a candidate by cursor travelling
//it will be accepted as a continuation of the group.
WinBits nBits = mpExtensionsButton->GetStyle();
diff --git a/sfx2/source/dialog/basedlgs.cxx b/sfx2/source/dialog/basedlgs.cxx
index b8a3a7419596..dbdf8d55016f 100644
--- a/sfx2/source/dialog/basedlgs.cxx
+++ b/sfx2/source/dialog/basedlgs.cxx
@@ -122,7 +122,7 @@ void SfxModalDialog::GetDialogData_Impl()
/* [Description]
Helper function, reads the dialogue position from the ini file and
- puts them on the transfered window.
+ puts them on the transferred window.
*/
{
diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx
index 1e8d32d08320..1f84bd2f0a7b 100644
--- a/sfx2/source/dialog/dockwin.cxx
+++ b/sfx2/source/dialog/dockwin.cxx
@@ -1338,7 +1338,7 @@ SfxChildAlignment SfxDockingWindow::CalcAlignment(const Point& rPos, Rectangle&
aSmallDockingRect.SetPos(rPos);
Rectangle aIntersectRect = aInRect.GetIntersection( aSmallDockingRect );
if ( aIntersectRect == aSmallDockingRect )
- // docking rectangle completely inside (shrinked) inner area -> floating mode
+ // docking rectangle completely inside (shrunk) inner area -> floating mode
bBecomesFloating = true;
}
diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx
index 23675d42e182..c58505a244b6 100644
--- a/sfx2/source/dialog/splitwin.cxx
+++ b/sfx2/source/dialog/splitwin.cxx
@@ -718,7 +718,7 @@ void SfxSplitWindow::InsertWindow_Impl( SfxDock_Impl* pDock,
InsertItem( pDockWin->GetType(), pDockWin, nWinSize, nPos, nSet, nItemBits );
// SplitWindows are once created in SFX and when inserting the first
- // DockingWindows is made visable.
+ // DockingWindows is made visible.
if ( GetItemCount( 0 ) == 1 && GetItemCount( 1 ) == 1 )
{
// The Rearranging in WorkWindow and a Show() on the SplitWindow is
@@ -1154,7 +1154,7 @@ void SfxSplitWindow::SetFadeIn_Impl( bool bOn )
pEmptyWin->nState |= 2;
if ( IsFloatingMode() )
{
- // FloatingWindow is not visable, thus display it
+ // FloatingWindow is not visible, thus display it
pWorkWin->ArrangeAutoHideWindows( this );
Show();
}
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index d73ffaad4034..2a70d202ccec 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -1345,7 +1345,7 @@ void SfxTabDialog::SetInputSet( const SfxItemSet* pInSet )
/* [Description]
- With this method the Input-Set can subsequently be set initally or re-set.
+ With this method the Input-Set can subsequently be set initially or re-set.
*/
{
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index 082aa20d8828..a80454d64e09 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -1737,7 +1737,7 @@ void SfxMedium::Transfer_Impl()
aNameURL = pImp->pTempFile->GetURL();
else if ( !pImp->m_aLogicName.isEmpty() && pImp->m_bSalvageMode )
{
- // makes sence only in case logic name is set
+ // makes sense only in case logic name is set
if ( !::utl::LocalFileHelper::ConvertPhysicalNameToURL( pImp->m_aName, aNameURL ) )
SAL_WARN( "sfx.doc", "The medium name is not convertible!" );
}
@@ -2209,7 +2209,7 @@ void SfxMedium::GetLockingStream_Impl()
if ( !pImp->pTempFile && pImp->m_aName.isEmpty() )
{
- // the medium is still based on the original file, it makes sence to initialize the streams
+ // the medium is still based on the original file, it makes sense to initialize the streams
if ( pImp->m_xLockingStream.is() )
pImp->xStream = pImp->m_xLockingStream;
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index b2c352efdd5c..ebbc05927cc5 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -786,7 +786,7 @@ bool SfxDocumentTemplates::CopyFrom
Import a template from the file system
- [Return value] Sucess (sal_True) or serfpTargetDirectory->GetContent());
+ [Return value] Success (sal_True) or serfpTargetDirectory->GetContent());
sal_Bool sal_True, Action could be performed
sal_False, Action could not be performed
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index 7ce7e253f539..f3bb54701344 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -760,7 +760,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq)
SfxViewFrame *pFrame = GetFrame();
if ( pFrame && pFrame->GetFrame().GetParentFrame() )
{
- // If SID_CLOSEDOC is excecuted through menu and so on, but
+ // If SID_CLOSEDOC is executed through menu and so on, but
// the current document is in a frame, then the
// FrameSetDocument should actually be closed.
pFrame->GetTopViewFrame()->GetObjectShell()->ExecuteSlot( rReq );
@@ -1029,7 +1029,7 @@ void SfxObjectShell::GetState_Impl(SfxItemSet &rSet)
if ( pFrame && pFrame->GetFrame().GetParentFrame() )
{
- // If SID_CLOSEDOC is excecuted through menu and so on, but
+ // If SID_CLOSEDOC is executed through menu and so on, but
// the current document is in a frame, then the
// FrameSetDocument should actually be closed.
pDoc = pFrame->GetTopViewFrame()->GetObjectShell();
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index ae890ecaf3b4..9ab266871d06 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -1798,7 +1798,7 @@ bool SfxObjectShell::DisconnectStorage_Impl( SfxMedium& rSrcMedium, SfxMedium& r
// contents, the storag will be broken
xOptStorage->attachToURL( aBackupURL, sal_True );
- // the storage is successfully attached to backup, thus it it owned by the document not by the medium
+ // the storage is successfully attached to backup, thus it is owned by the document not by the medium
rSrcMedium.CanDisposeStorage_Impl( false );
bResult = true;
}
@@ -1927,7 +1927,7 @@ bool SfxObjectShell::DoSaveObjectAs( SfxMedium& rMedium, bool bCommit )
}
catch( uno::Exception& )
{
- SAL_WARN( "sfx.doc", "The strotage was not commited on DoSaveAs!" );
+ SAL_WARN( "sfx.doc", "The strotage was not committed on DoSaveAs!" );
}
}
@@ -2520,7 +2520,7 @@ bool SfxObjectShell::DoSave_Impl( const SfxItemSet* pArgs )
// copy version list from "old" medium to target medium, so it can be used on saving
pMediumTmp->TransferVersionList_Impl( *pRetrMedium );
- // an interaction handler here can aquire only in case of GUI Saving
+ // an interaction handler here can acquire only in case of GUI Saving
// and should be removed after the saving is done
com::sun::star::uno::Reference< XInteractionHandler > xInteract;
SFX_ITEMSET_ARG( pArgs, pxInteractionItem, SfxUnoAnyItem, SID_INTERACTIONHANDLER, false );
@@ -3366,7 +3366,7 @@ bool StoragesOfUnknownMediaTypeAreCopied_Impl( const uno::Reference< embed::XSto
}
catch( uno::Exception& )
{
- SAL_WARN( "sfx.doc", "Cant check storage consistency!" );
+ SAL_WARN( "sfx.doc", "Can not check storage consistency!" );
}
return true;
diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx
index 67cd9642b351..2f72cadfc9d4 100644
--- a/sfx2/source/doc/objxtor.cxx
+++ b/sfx2/source/doc/objxtor.cxx
@@ -512,7 +512,7 @@ SfxObjectShell* SfxObjectShell::GetFirst
{
SfxObjectShellArr_Impl &rDocs = SfxGetpApp()->GetObjectShells_Impl();
- // seach for a SfxDocument of the specified type
+ // search for a SfxDocument of the specified type
for ( sal_uInt16 nPos = 0; nPos < rDocs.size(); ++nPos )
{
SfxObjectShell* pSh = rDocs[ nPos ];
@@ -626,7 +626,7 @@ bool SfxObjectShell::PrepareClose
}
// Ask if possible if it should be saved
- // only ask for the Document in the visable window
+ // only ask for the Document in the visible window
SfxViewFrame *pFrame = SfxObjectShell::Current() == this
? SfxViewFrame::Current() : SfxViewFrame::GetFirst( this );
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index 4e34a5080bbd..cbefd5349786 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -1388,7 +1388,7 @@ void SAL_CALL SfxBaseModel::close( sal_Bool bDeliverOwnership ) throw (util::Clo
if (bDeliverOwnership)
m_pData->m_bSuicide = true;
throw util::CloseVetoException(
- "Cant close while saving.",
+ "Can not close while saving.",
static_cast< util::XCloseable* >(this));
}
@@ -1587,7 +1587,7 @@ void SAL_CALL SfxBaseModel::storeSelf( const Sequence< beans::PropertyValue >
// stored in normal way.
if ( !hasLocation() || getLocation().startsWith("private:") )
{
- // actually in this very rare case only UI parameters have sence
+ // actually in this very rare case only UI parameters have sense
// TODO/LATER: should be done later, after integration of sb19
bRet = m_pData->m_pObjectShell->DoSave()
&& m_pData->m_pObjectShell->DoSaveCompleted();
@@ -2994,7 +2994,7 @@ void SfxBaseModel::impl_store( const OUString& sURL
else
{
// if the password is changed a special error should be used in case of shared document
- throw task::ErrorCodeIOException("Cant change password for shared document.", uno::Reference< uno::XInterface >(), ERRCODE_SFX_SHARED_NOPASSWORDCHANGE );
+ throw task::ErrorCodeIOException("Can not change password for shared document.", uno::Reference< uno::XInterface >(), ERRCODE_SFX_SHARED_NOPASSWORDCHANGE );
}
}
#endif
diff --git a/sfx2/source/menu/virtmenu.cxx b/sfx2/source/menu/virtmenu.cxx
index 2fa97069ff54..ea3faab05895 100644
--- a/sfx2/source/menu/virtmenu.cxx
+++ b/sfx2/source/menu/virtmenu.cxx
@@ -892,7 +892,7 @@ IMPL_LINK( SfxVirtualMenu, Activate, Menu *, pMenu )
pBindings->Update( SID_IMAGE_ORIENTATION );
- // Supress the Status updates until Deactivate
+ // Suppress the Status updates until Deactivate
pBindings->ENTERREGISTRATIONS(); ++nLocks; bIsActive = true;
return sal_True;
diff --git a/sfx2/source/notify/globalevents.cxx b/sfx2/source/notify/globalevents.cxx
index 04aef56c3c3f..81981b7652a9 100644
--- a/sfx2/source/notify/globalevents.cxx
+++ b/sfx2/source/notify/globalevents.cxx
@@ -360,7 +360,7 @@ void SAL_CALL SfxGlobalEvents_Impl::insert( const uno::Any& aElement )
aElement >>= xDoc;
if (!xDoc.is())
throw lang::IllegalArgumentException(
- OUString("Cant locate at least the model parameter."),
+ OUString("Can not locate at least the model parameter."),
static_cast< container::XSet* >(this),
0);
@@ -397,7 +397,7 @@ void SAL_CALL SfxGlobalEvents_Impl::remove( const uno::Any& aElement )
aElement >>= xDoc;
if (!xDoc.is())
throw lang::IllegalArgumentException(
- OUString("Cant locate at least the model parameter."),
+ OUString("Can not locate at least the model parameter."),
static_cast< container::XSet* >(this),
0);
diff --git a/sfx2/source/sidebar/FocusManager.hxx b/sfx2/source/sidebar/FocusManager.hxx
index f8dba00ebcf4..0577c8cd88e7 100644
--- a/sfx2/source/sidebar/FocusManager.hxx
+++ b/sfx2/source/sidebar/FocusManager.hxx
@@ -116,7 +116,7 @@ private:
bool IsDeckTitleVisible (void) const;
bool IsPanelTitleVisible (const sal_Int32 nPanelIndex) const;
- /** Set the focus to the title bar of the panel or, if the the
+ /** Set the focus to the title bar of the panel or, if the
title bar is not visible, directly to the panel.
@param nPanelIndex
Index of the panel to focus.
diff --git a/sfx2/source/sidebar/ResourceManager.hxx b/sfx2/source/sidebar/ResourceManager.hxx
index cd199f127a46..10dfdc28f507 100644
--- a/sfx2/source/sidebar/ResourceManager.hxx
+++ b/sfx2/source/sidebar/ResourceManager.hxx
@@ -51,7 +51,7 @@ public:
bar.
Note that this value is not persistent.
The flag can not be set directly at a DeckDescriptor object
- because the ResourceManager gives access to to them only
+ because the ResourceManager gives access to them only
read-only.
*/
void SetIsDeckEnabled (
diff --git a/sfx2/source/sidebar/TabItem.hxx b/sfx2/source/sidebar/TabItem.hxx
index 9872d379ee5d..7345f2e4a338 100644
--- a/sfx2/source/sidebar/TabItem.hxx
+++ b/sfx2/source/sidebar/TabItem.hxx
@@ -27,7 +27,7 @@ namespace vcl { class Window; }
namespace sfx2 { namespace sidebar {
-/** A single button in the The tab bar.
+/** A single button in the tab bar.
*/
class TabItem
: public ImageRadioButton
diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx
index 275a61be0fd8..eeea72b6e8c2 100644
--- a/sfx2/source/statbar/stbitem.cxx
+++ b/sfx2/source/statbar/stbitem.cxx
@@ -543,7 +543,7 @@ void SfxStatusBarControl::Command( const CommandEvent& )
/* [Description]
- This virtual method is called when a CommandEvent is recived by
+ This virtual method is called when a CommandEvent is received by
SfxStatusBarControl.
The default implementation is empty.
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx
index e3db0a2f3612..3f46f722a67a 100644
--- a/sfx2/source/toolbox/tbxitem.cxx
+++ b/sfx2/source/toolbox/tbxitem.cxx
@@ -1340,7 +1340,7 @@ SfxPopupWindow* SfxPopupWindow::Clone() const
Presentation-mode. It is called when a Show() would be meaningless
since the parent is no presentation window.
When create a new window the bew Top-Window will be used automatically,
- so that the Parent becomes the presentation window and and that the new
+ so that the Parent becomes the presentation window and that the new
Popup therefore becomes visible.
*/
diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx
index ef4c3ca0decf..d3c299608512 100644
--- a/sfx2/source/view/frame.cxx
+++ b/sfx2/source/view/frame.cxx
@@ -812,7 +812,7 @@ void SfxFrame::CreateWorkWindow_Impl()
if ( IsInPlace() )
{
- // this makes sence only for inplace activated objects
+ // this makes sense only for inplace activated objects
try
{
Reference < XChild > xChild( GetCurrentDocument()->GetModel(), UNO_QUERY );
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx
index ef03157900e2..6d6f70346a61 100644
--- a/sfx2/source/view/ipclient.cxx
+++ b/sfx2/source/view/ipclient.cxx
@@ -940,7 +940,7 @@ ErrCode SfxInPlaceClient::DoVerb( long nVerb )
{
if ( nVerb == 0 || nVerb == embed::EmbedVerbs::MS_OLEVERB_OPEN )
{
- // a workaround for the default verb, usually makes sence for alien objects
+ // a workaround for the default verb, usually makes sense for alien objects
try
{
m_pImp->m_xObject->doVerb( -9 ); // open own view, a workaround verb that is not visible
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index 479a458b6a4f..f2f6f1357230 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -1376,7 +1376,7 @@ OUString SfxViewShell::GetSelectionText
is included in the current selection. This is for example used when
sending emails.
- When called with "CompleteWords == TRUE", it is for example sufficent
+ When called with "CompleteWords == TRUE", it is for example sufficient
with having the Cursor positioned somewhere within an URL in-order
to have the entire URL returned.
*/