diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2015-09-29 17:58:49 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2015-09-30 06:23:07 +0000 |
commit | 04724c97b385d22b9db73c9d078a88fbbe019760 (patch) | |
tree | 2cfad4e7b5e682ca9704002cefe2cf773ad8f6a0 /sfx2 | |
parent | d6e82846ce8bdd21db4a4aa783555950f0a8e442 (diff) |
Fix typos
Change-Id: Ibf70cbce0d280ab4686062a4e110c7c9bb54791c
Reviewed-on: https://gerrit.libreoffice.org/18976
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/guisaveas.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/doc/new.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/objmisc.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/objxtor.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/oleprops.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/printhelper.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/sfxbasemodel.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/menu/thessubmenu.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/view/frmload.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/view/viewsh.cxx | 2 |
13 files changed, 16 insertions, 16 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 020574054eaa..26f4820a8ee0 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -1281,7 +1281,7 @@ uno::Reference < embed::XStorage > SfxMedium::GetStorage( bool bCreateTempIfNo ) if ( pImp->aVersions.getLength() ) { // Search for the version fits the comment - // The versions are numbered startign with 1, versions with + // The versions are numbered starting with 1, versions with // negative versions numbers are counted backwards from the // current version short nVersion = pVersion ? pVersion->GetValue() : 0; diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx index 234888b1407b..8d3f4920da5c 100644 --- a/sfx2/source/doc/guisaveas.cxx +++ b/sfx2/source/doc/guisaveas.cxx @@ -1071,7 +1071,7 @@ bool ModelData_Impl::OutputFileDialog( sal_Int8 nStoreMode, if ( aFilterName.equals( aFilterFromMediaDescr ) ) { - // preserv current settings if any + // preserve current settings if any // if there no current settings and the name is the same // as old filter name use old filter settings @@ -1815,7 +1815,7 @@ void SfxStoringHelper::SetDocInfoState( } } - // sigh... have to set these manually i'm afraid... wonder why + // sigh... have to set these manually I'm afraid... wonder why // SfxObjectShell doesn't handle this internally, should be easier xDocPropsToFill->setAuthor(i_xOldDocProps->getAuthor()); xDocPropsToFill->setGenerator(i_xOldDocProps->getGenerator()); diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx index c89044e3d9bc..93121aa58884 100644 --- a/sfx2/source/doc/new.cxx +++ b/sfx2/source/doc/new.cxx @@ -285,7 +285,7 @@ IMPL_LINK_NOARG(SfxNewFileDialog_Impl, TemplateSelect) IMPL_LINK_NOARG_TYPED( SfxNewFileDialog_Impl, DoubleClick, ListBox&, void ) { - // Still loadning + // Still loading if ( !xDocShell.Is() || !xDocShell->GetProgress() ) pAntiImpl->EndDialog(RET_OK); } diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index b838f148c0e6..bebf3c26aeed 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -780,7 +780,7 @@ OUString SfxObjectShell::GetTitle (remote =>:: com:: sun:: star:: util:: URL) 3 (==SFX_TITLE_APINAME) - provides the logical filname without path + provides the logical filename without path and extension 4 (==SFX_TITLE_DETECT) diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index d5bc6d00611e..312b4405530f 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -2512,7 +2512,7 @@ bool SfxObjectShell::DoSave_Impl( const SfxItemSet* pArgs ) pSet->Put( *pComments ); } - // create a medium as a copy; this medium is only for writingm, because it + // create a medium as a copy; this medium is only for writing, because it // uses the same name as the original one writing is done through a copy, // that will be transferred to the target (of course after calling HandsOff) SfxMedium* pMediumTmp = new SfxMedium( pRetrMedium->GetName(), pRetrMedium->GetOpenMode(), pFilter, pSet ); diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx index 9f73e8764bc1..8ac27a5d3df8 100644 --- a/sfx2/source/doc/objxtor.cxx +++ b/sfx2/source/doc/objxtor.cxx @@ -325,7 +325,7 @@ SfxObjectShell::SfxObjectShell SfxObjectCreateMode::ORGANIZER to be displayed in the Organizer, here - notning of the contents is used */ + nothing of the contents is used */ ) /* [Description] diff --git a/sfx2/source/doc/oleprops.hxx b/sfx2/source/doc/oleprops.hxx index e2fbfa5bfacd..d8a04646cb08 100644 --- a/sfx2/source/doc/oleprops.hxx +++ b/sfx2/source/doc/oleprops.hxx @@ -168,7 +168,7 @@ private: /** Base class for all classes related to OLE property sets. - Derived calsses have to implement the pure virtual functions ImplLoad() and + Derived classes have to implement the pure virtual functions ImplLoad() and ImplSave(). */ class SfxOleObjectBase diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx index e29380245589..fdfcf99a0997 100644 --- a/sfx2/source/doc/printhelper.cxx +++ b/sfx2/source/doc/printhelper.cxx @@ -765,7 +765,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >& aCheckedArgs.realloc(nProps); // Execute the print request every time. - // It doesn'tmatter if it is a real printer used or we print to a local file + // It doesn't matter if it is a real printer used or we print to a local file // nor if we print to a temp file and move it afterwards by using the ucb. // That will be handled later. see pUCBPrintFile below! pView->ExecPrint( aCheckedArgs, true, false ); diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 51baa58d7400..5a677cb75adb 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -3091,7 +3091,7 @@ void SfxBaseModel::impl_store( const OUString& sURL { if ( nErrCode ) { - // must be a warning - use Interactionhandler if possible or abandone + // must be a warning - use Interactionhandler if possible or abandon if ( xHandler.is() ) { // TODO/LATER: a general way to set the error context should be available @@ -4147,7 +4147,7 @@ Reference< frame::XController2 > SAL_CALL SfxBaseModel::createDefaultViewControl namespace sfx { namespace intern { - /** a class which, in its dtor, cleans up variuos objects (well, at the moment only the frame) collected during + /** a class which, in its dtor, cleans up various objects (well, at the moment only the frame) collected during the creation of a document view, unless the creation was successful. */ class ViewCreationGuard diff --git a/sfx2/source/menu/thessubmenu.hxx b/sfx2/source/menu/thessubmenu.hxx index 226e9b103af5..a08947f8c841 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 upported by the theasaurus + // returns true if the locale is supported by the theasaurus 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/view/frmload.cxx b/sfx2/source/view/frmload.cxx index 0d882f399831..bae61e76852b 100644 --- a/sfx2/source/view/frmload.cxx +++ b/sfx2/source/view/frmload.cxx @@ -669,7 +669,7 @@ sal_Bool SAL_CALL SfxFrameLoader_Impl::load( const Sequence< PropertyValue >& rA bool bLoadSuccess = false; try { - // extract view releant arguments from the loader args + // extract view relevant arguments from the loader args ::comphelper::NamedValueCollection aViewCreationArgs( impl_extractViewCreationArgs( aDescriptor ) ); // no model passed from outside? => create one from scratch diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 4f20f7cfa438..e2498e76b990 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -650,7 +650,7 @@ void SfxViewFrame::ExecReload_Impl( SfxRequest& rReq ) } // If a salvaged file is present, do not enclose the OrigURL - // again, since the Tempdate is invalid after reload. + // again, since the Template is invalid after reload. SFX_ITEMSET_ARG( pNewSet, pSalvageItem, SfxStringItem, SID_DOC_SALVAGE, false); if( pSalvageItem ) { @@ -1526,7 +1526,7 @@ SfxViewFrame* SfxViewFrame::GetFirst return 0; } -// returns thenext window of spec. type viewing the specified doc. +// returns the next window of spec. type viewing the specified doc. SfxViewFrame* SfxViewFrame::GetNext ( const SfxViewFrame& rPrev, diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index 2b9ac3dab401..b103283fcfd4 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -1080,7 +1080,7 @@ void SfxViewShell::OuterResizePixel The Edit window must not be changed either in size or position. The Vis-Area of SfxObjectShell, its scale and position can be changed - here. The mainuse is to change the size of the Vis-Area. + here. The main use is to change the size of the Vis-Area. If the Border is changed due to the new calculation then this has to be set by <SfxViewShell::SetBorderPixel(const SvBorder&)>. The Positioning of Tools |