summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appopen.cxx2
-rw-r--r--sfx2/source/appl/workwin.cxx4
-rw-r--r--sfx2/source/bastyp/fltlst.cxx2
-rw-r--r--sfx2/source/control/bindings.cxx2
-rw-r--r--sfx2/source/control/request.cxx2
-rw-r--r--sfx2/source/dialog/backingcomp.cxx4
-rw-r--r--sfx2/source/dialog/dockwin.cxx2
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx4
-rw-r--r--sfx2/source/dialog/filtergrouping.cxx4
-rw-r--r--sfx2/source/doc/SfxDocumentMetaData.cxx2
-rw-r--r--sfx2/source/doc/docfile.cxx2
-rw-r--r--sfx2/source/doc/doctempl.cxx2
-rw-r--r--sfx2/source/doc/doctemplates.cxx4
-rw-r--r--sfx2/source/doc/objmisc.cxx6
-rw-r--r--sfx2/source/doc/objserv.cxx2
-rw-r--r--sfx2/source/doc/objstor.cxx4
-rw-r--r--sfx2/source/doc/sfxbasemodel.cxx2
-rw-r--r--sfx2/source/menu/thessubmenu.hxx2
-rw-r--r--sfx2/source/menu/virtmenu.cxx2
-rw-r--r--sfx2/source/view/frame.cxx2
-rw-r--r--sfx2/source/view/sfxbasecontroller.cxx2
-rw-r--r--sfx2/source/view/viewfrm.cxx4
-rw-r--r--sfx2/source/view/viewsh.cxx2
23 files changed, 32 insertions, 32 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx
index 3119d6df5a3e..da0a92c697ad 100644
--- a/sfx2/source/appl/appopen.cxx
+++ b/sfx2/source/appl/appopen.cxx
@@ -1080,7 +1080,7 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
xTrans->parseStrict( aURL );
Reference < XDispatchProvider > xProv( xTargetFrame, UNO_QUERY );
- Reference < XDispatch > xDisp = xProv.is() ? xProv->queryDispatch( aURL, aTarget, FrameSearchFlag::ALL ) : Reference < XDispatch >();;
+ Reference < XDispatch > xDisp = xProv.is() ? xProv->queryDispatch( aURL, aTarget, FrameSearchFlag::ALL ) : Reference < XDispatch >();
if ( xDisp.is() )
xDisp->dispatch( aURL, aArgs );
}
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index 0e9d3d6d0039..04cf8602e203 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -769,7 +769,7 @@ SvBorder SfxWorkWindow::Arrange_Impl()
// First, we assume that there is room for the window.
pCli->nVisible |= SfxChildVisibility::FITS_IN;
- // Skip invisiable windows
+ // Skip invisible windows
if (pCli->nVisible != SfxChildVisibility::VISIBLE)
continue;
@@ -2305,7 +2305,7 @@ bool SfxWorkWindow::RequestTopToolSpacePixel_Impl( SvBorder aBorder )
aClientArea.GetHeight() < aBorder.Top() + aBorder.Bottom() )
return false;
else
- return true;;
+ return true;
}
void SfxWorkWindow::SaveStatus_Impl(SfxChildWindow *pChild, const SfxChildWinInfo &rInfo)
diff --git a/sfx2/source/bastyp/fltlst.cxx b/sfx2/source/bastyp/fltlst.cxx
index 6a3da70264cd..f3afe49cccc6 100644
--- a/sfx2/source/bastyp/fltlst.cxx
+++ b/sfx2/source/bastyp/fltlst.cxx
@@ -74,7 +74,7 @@ class SfxRefreshListener : public ::cppu::WeakImplHelper<css::util::XRefreshList
on right FilterFactory-Service for all changes and synchronize right SfxFilterContainer with
corresponding framework-cache.
We use given "sFactory" value to decide which query must be used to fill "pContainer" with new values.
- Given "pContainer" hold us alive as uno reference and we use it to syschronize it with framework caches.
+ Given "pContainer" hold us alive as uno reference and we use it to synchronize it with framework caches.
We will die, if he die! see dtor for further information.
@seealso dtor
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx
index 41b5194953fd..aa62415c34d1 100644
--- a/sfx2/source/control/bindings.cxx
+++ b/sfx2/source/control/bindings.cxx
@@ -1711,7 +1711,7 @@ sal_uInt16 SfxBindings::EnterRegistrations(const char *pFile, int nLine)
pImp->nCachedFunc1 = 0;
pImp->nCachedFunc2 = 0;
- // Mark if the all of the Caches have dissapered.
+ // Mark if the all of the Caches have disappeared.
pImp->bCtrlReleased = false;
}
diff --git a/sfx2/source/control/request.cxx b/sfx2/source/control/request.cxx
index 770d70d29dc8..a98579171530 100644
--- a/sfx2/source/control/request.cxx
+++ b/sfx2/source/control/request.cxx
@@ -451,7 +451,7 @@ void SfxRequest::Done
set */
bool bKeep /* true (default)
- 'rSet' is saved and GetArgs() queriable.
+ 'rSet' is saved and GetArgs() queryable.
false
'rSet' is not copied (faster) */
diff --git a/sfx2/source/dialog/backingcomp.cxx b/sfx2/source/dialog/backingcomp.cxx
index 052784d9fca8..d62f23d371ff 100644
--- a/sfx2/source/dialog/backingcomp.cxx
+++ b/sfx2/source/dialog/backingcomp.cxx
@@ -167,7 +167,7 @@ BackingComp::~BackingComp()
Some interfaces are supported by his class directly, but some other ones are
used by aggregation. An instance of this class must provide some window interfaces.
But it must represent a VCL window behind such interfaces too! So we use an internal
- saved window member to ask it for it's interfaces and return it. But we must be aware then,
+ saved window member to ask it for its interfaces and return it. But we must be aware then,
that it can be destroyed from outside too ...
@param aType
@@ -348,7 +348,7 @@ css::uno::Sequence< OUString > SAL_CALL BackingComp::getSupportedServiceNames()
xBackingComp);
// attach controller to the frame
- // We will use it's container window, to create
+ // We will use its container window, to create
// the component window. From now we offer the window interfaces!
xBackingComp.attachFrame(xFrame);
diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx
index 99ab5232f06b..788f7c06c244 100644
--- a/sfx2/source/dialog/dockwin.cxx
+++ b/sfx2/source/dialog/dockwin.cxx
@@ -1120,7 +1120,7 @@ void SfxDockingWindow::Initialize(SfxChildWinInfo *pInfo)
{
//?????? Currently not supported
// Window is docked individually; size is calculated.
- // It must therefore be initialized with the DloatingSize if
+ // It must therefore be initialized with the FloatingSize if
// someone relies on it that a reasonable size is set
SetSizePixel(GetFloatingSize());
SetSizePixel(CalcDockingSize(GetAlignment()));
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index 540f8c2c9623..92a8d02b44d6 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -788,7 +788,7 @@ ErrCode FileDialogHelper_Impl::getGraphic( Graphic& rGraphic ) const
// rhbz#1079672 do not return maGraphic, it need not be the selected file
- OUString aPath;;
+ OUString aPath;
Sequence<OUString> aPathSeq = mxFileDlg->getFiles();
if (aPathSeq.getLength() == 1)
@@ -2131,7 +2131,7 @@ void FileDialogHelper_Impl::loadConfig()
void FileDialogHelper_Impl::setDefaultValues()
{
- // when no filter is set, we set the curentFilter to <all>
+ // when no filter is set, we set the currentFilter to <all>
if ( maCurFilter.isEmpty() && !maSelectFilter.isEmpty() )
{
uno::Reference< XFilterManager > xFltMgr( mxFileDlg, UNO_QUERY );
diff --git a/sfx2/source/dialog/filtergrouping.cxx b/sfx2/source/dialog/filtergrouping.cxx
index 69e9dababfa9..203c665e4233 100644
--- a/sfx2/source/dialog/filtergrouping.cxx
+++ b/sfx2/source/dialog/filtergrouping.cxx
@@ -520,7 +520,7 @@ namespace sfx2
FillClassGroup( rGlobalFilters, _rGlobalClassesRef )
);
// now we have:
- // in rGlobalFilters: a list of FilterDescriptor's, where each's discriptor's display name is set to the name of a class
+ // in rGlobalFilters: a list of FilterDescriptor's, where each's descriptor's display name is set to the name of a class
// in aGlobalClassesRef: a mapping from logical filter names to positions within rGlobalFilters
// this way, if we encounter an arbitrary filter, we can easily (and efficient) check if it belongs to a global class
// and modify the descriptor for this class accordingly
@@ -672,7 +672,7 @@ namespace sfx2
);
- // add the filter to it's group
+ // add the filter to its group
// for this, check if the filter is part of a local filter
FilterGroupEntryReferrer::iterator aBelongsToLocal = aLocalClassesRef.find( sFilterName );
diff --git a/sfx2/source/doc/SfxDocumentMetaData.cxx b/sfx2/source/doc/SfxDocumentMetaData.cxx
index 98776d2c7d37..2cab0ea97fc3 100644
--- a/sfx2/source/doc/SfxDocumentMetaData.cxx
+++ b/sfx2/source/doc/SfxDocumentMetaData.cxx
@@ -1746,7 +1746,7 @@ SfxDocumentMetaData::setDocumentStatistics(
std::vector<std::pair<const char *, OUString> > attributes;
for (sal_Int32 i = 0; i < the_value.getLength(); ++i) {
const OUString name = the_value[i].Name;
- // inefficently search for matching attribute
+ // inefficiently search for matching attribute
for (size_t j = 0; s_stdStats[j] != nullptr; ++j) {
if (name.equalsAscii(s_stdStats[j])) {
const css::uno::Any any = the_value[i].Value;
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index a9a5df0633e7..bbca97044bde 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -3466,7 +3466,7 @@ void SfxMedium::CreateTempFile( bool bReplace )
if ( !bTransferSuccess && pImp->m_pInStream )
{
- // the case when there is no URL-access available or this is a remote protocoll
+ // the case when there is no URL-access available or this is a remote protocol
// but there is an input stream
GetOutStream();
if ( pImp->m_pOutStream )
diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx
index 542a1d745a1b..1b0b5c58ff39 100644
--- a/sfx2/source/doc/doctempl.cxx
+++ b/sfx2/source/doc/doctempl.cxx
@@ -820,7 +820,7 @@ bool SfxDocumentTemplates::CopyFrom
}
else
{
- uno::Reference< XDesktop2 > xDesktop = Desktop::create( ::comphelper::getProcessComponentContext() );;
+ uno::Reference< XDesktop2 > xDesktop = Desktop::create( ::comphelper::getProcessComponentContext() );
Sequence< PropertyValue > aArgs( 1 );
aArgs[0].Name = "Hidden";
diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx
index 8cd3f576a453..e493e5a4aca5 100644
--- a/sfx2/source/doc/doctemplates.cxx
+++ b/sfx2/source/doc/doctemplates.cxx
@@ -615,7 +615,7 @@ bool SfxDocTplService_Impl::needsUpdate()
aValue >>= bNeedsUpdate;
// the old template component also checks this state, but it is initialized from this component
- // so if this componend was already updated the old component does not need such an update
+ // so if this component was already updated the old component does not need such an update
::svt::TemplateFolderCache aTempCache;
if ( !bNeedsUpdate )
bNeedsUpdate = aTempCache.needsUpdate();
@@ -802,7 +802,7 @@ bool SfxDocTplService_Impl::createFolder( const OUString& rNewFolderURL,
// if the parent doesn't exists and bCreateParent is set to true,
// we try to create the parent and if this was successful, we
// try to create the new folder again ( but this time, we set
- // bCreateParent to false to avoid endless recusions )
+ // bCreateParent to false to avoid endless recursions )
if ( ( aParentURL.getSegmentCount() >= 1 ) &&
createFolder( aParentURL.GetMainURL( INetURLObject::NO_DECODE ), bCreateParent, bFsysFolder, aParent ) )
{
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx
index 1e740d7cb0bc..aca0fbd616d7 100644
--- a/sfx2/source/doc/objmisc.cxx
+++ b/sfx2/source/doc/objmisc.cxx
@@ -1013,7 +1013,7 @@ void SfxObjectShell::SetProgress_Impl
{
DBG_ASSERT( ( !pImp->pProgress && pProgress ) ||
( pImp->pProgress && !pProgress ),
- "Progress activation/deacitivation mismatch" );
+ "Progress activation/deactivation mismatch" );
pImp->pProgress = pProgress;
}
@@ -1303,7 +1303,7 @@ void SfxObjectShell::TemplateDisconnectionAfterLoad()
else
{
// !TODO/LATER: what's this?!
- // Interactiv ( DClick, Contextmenu ) no long name is included
+ // Interactive ( DClick, Contextmenu ) no long name is included
aTemplateName = getDocProperties()->getTitle();
if ( aTemplateName.isEmpty() )
{
@@ -1410,7 +1410,7 @@ bool SfxObjectShell::IsLoading() const
void SfxObjectShell::CancelTransfers()
/* [Description]
- Here can Transfers get canceled, which were not regestered
+ Here can Transfers get canceled, which were not registered
by RegisterTransfer.
*/
{
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index d27db019168c..4482ca88fbfb 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -563,7 +563,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq)
rReq.AppendItem( SfxBoolItem( SID_SAVETO, true ) );
}
- // TODO/LATER: do the following GUI related actions in standalown method
+ // TODO/LATER: do the following GUI related actions in standalone method
// Introduce a status indicator for GUI operation
const SfxUnoAnyItem* pStatusIndicatorItem = rReq.GetArg<SfxUnoAnyItem>(SID_PROGRESS_STATUSBAR_CONTROL);
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index 68dff6ccf873..b18793361be5 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -1784,7 +1784,7 @@ bool SfxObjectShell::DisconnectStorage_Impl( SfxMedium& rSrcMedium, SfxMedium& r
// the process of saving a file
rSrcMedium.DisableUnlockWebDAV();
rSrcMedium.Close();
- // see comment on the previou third row
+ // see comment on the previous third row
rSrcMedium.DisableUnlockWebDAV( false );
// now try to create the backup
@@ -1926,7 +1926,7 @@ bool SfxObjectShell::DoSaveObjectAs( SfxMedium& rMedium, bool bCommit )
}
catch( uno::Exception& )
{
- SAL_WARN( "sfx.doc", "The strotage was not committed on DoSaveAs!" );
+ SAL_WARN( "sfx.doc", "The storage was not committed on DoSaveAs!" );
}
}
diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index e78f955f62f5..3442c94603e2 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -4209,7 +4209,7 @@ SfxViewFrame* SfxBaseModel::FindOrCreateViewFrame_Impl( const Reference< XFrame
if ( ( pCheckFrame->GetCurrentViewFrame() != nullptr )
|| ( pCheckFrame->GetCurrentDocument() != nullptr )
)
- // Note that it is perfectly letgitimate that during loading into an XFrame which already contains
+ // Note that it is perfectly legitimate that during loading into an XFrame which already contains
// a document, there exist two SfxFrame instances bound to this XFrame - the old one, which will be
// destroyed later, and the new one, which we're going to create
continue;
diff --git a/sfx2/source/menu/thessubmenu.hxx b/sfx2/source/menu/thessubmenu.hxx
index 08a0cd4ea891..8953537b26e5 100644
--- a/sfx2/source/menu/thessubmenu.hxx
+++ b/sfx2/source/menu/thessubmenu.hxx
@@ -45,7 +45,7 @@ public:
// returns the Locale to be used for the selected text when the thesaurus is to be called
static void GetLocale( css::lang::Locale /*out */ &rLocale, const OUString &rLookUpString, sal_Int32 nDelimPos );
- // returns true if the locale is supported by the theasaurus
+ // returns true if the locale is supported by the thesaurus
bool IsSupportedLocale( const css::lang::Locale & rLocale ) const;
// get the first nMax Synonym entries, even if different meanings need to be evaluated
diff --git a/sfx2/source/menu/virtmenu.cxx b/sfx2/source/menu/virtmenu.cxx
index e1452ece8498..f356b7cde568 100644
--- a/sfx2/source/menu/virtmenu.cxx
+++ b/sfx2/source/menu/virtmenu.cxx
@@ -812,7 +812,7 @@ IMPL_LINK_TYPED( SfxVirtualMenu, Activate, Menu *, pMenu, bool )
{
// update window list
::std::vector< OUString > aNewWindowListVector;
- Reference< XDesktop2 > xDesktop = Desktop::create( ::comphelper::getProcessComponentContext() );;
+ Reference< XDesktop2 > xDesktop = Desktop::create( ::comphelper::getProcessComponentContext() );
sal_uInt16 nActiveItemId = 0;
sal_uInt16 nItemId = START_ITEMID_WINDOWLIST;
diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx
index ffebf56ccfff..e1f8c2618afa 100644
--- a/sfx2/source/view/frame.cxx
+++ b/sfx2/source/view/frame.cxx
@@ -326,7 +326,7 @@ SfxDispatcher* SfxFrame::GetDispatcher_Impl() const
bool SfxFrame::IsAutoLoadLocked_Impl() const
{
- // Its own Docucument is locked?
+ // Its own Document is locked?
const SfxObjectShell* pObjSh = GetCurrentDocument();
if ( !pObjSh || !pObjSh->IsAutoLoadLocked() )
return false;
diff --git a/sfx2/source/view/sfxbasecontroller.cxx b/sfx2/source/view/sfxbasecontroller.cxx
index 58fa19d92599..6d9d0b4457ef 100644
--- a/sfx2/source/view/sfxbasecontroller.cxx
+++ b/sfx2/source/view/sfxbasecontroller.cxx
@@ -618,7 +618,7 @@ sal_Bool SAL_CALL SfxBaseController::suspend( sal_Bool bSuspend ) throw( Runtime
{
SolarMutexGuard aGuard;
- // ignore dublicate calls, which doesn't change anything real
+ // ignore duplicate calls, which doesn't change anything real
if (bool(bSuspend) == m_pData->m_bSuspendState)
return sal_True;
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index 79bf6cc064eb..87f31489ea83 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -1668,7 +1668,7 @@ void SfxViewFrame::Enable( bool bEnable )
/* [Description]
- This method makes the Frame-Window visible and before transmitts the
+ This method makes the Frame-Window visible and before transmits the
window name. In addition, the document is held. In general one can never
show the window directly!
*/
@@ -2223,7 +2223,7 @@ void SfxViewFrame::ExecView_Impl
{
pViewShell->DoVerb( pItem->GetValue() );
rReq.Done();
- break;;
+ break;
}
}
}
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index 392f68d347d2..f0a09e436be3 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -1355,7 +1355,7 @@ SdrView* SfxViewShell::GetDrawView() const
/* [Description]
- This virtual Method has to be overloded by the sub classes, to be able
+ This virtual Method has to be overloaded by the sub classes, to be able
make the Property-Editor available.
The default implementation does always return zero.