[Libreoffice-commits] core.git: sfx2/source shell/source
Andrea Gelmini
andrea.gelmini at gelma.net
Tue Sep 29 23:23:29 PDT 2015
sfx2/source/doc/docfile.cxx | 2 +-
sfx2/source/doc/guisaveas.cxx | 4 ++--
sfx2/source/doc/new.cxx | 2 +-
sfx2/source/doc/objmisc.cxx | 2 +-
sfx2/source/doc/objstor.cxx | 2 +-
sfx2/source/doc/objxtor.cxx | 2 +-
sfx2/source/doc/oleprops.hxx | 2 +-
sfx2/source/doc/printhelper.cxx | 2 +-
sfx2/source/doc/sfxbasemodel.cxx | 4 ++--
sfx2/source/menu/thessubmenu.hxx | 2 +-
sfx2/source/view/frmload.cxx | 2 +-
sfx2/source/view/viewfrm.cxx | 4 ++--
sfx2/source/view/viewsh.cxx | 2 +-
shell/source/cmdmail/cmdmailsuppl.cxx | 2 +-
shell/source/tools/lngconvex/lngconvex.cxx | 2 +-
15 files changed, 18 insertions(+), 18 deletions(-)
New commits:
commit 04724c97b385d22b9db73c9d078a88fbbe019760
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date: Tue Sep 29 17:58:49 2015 +0200
Fix typos
Change-Id: Ibf70cbce0d280ab4686062a4e110c7c9bb54791c
Reviewed-on: https://gerrit.libreoffice.org/18976
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index 0205740..26f4820 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 234888b..8d3f492 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 c89044e..93121aa 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 b838f14..bebf3c2 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 d5bc6d0..312b440 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 9f73e87..8ac27a5 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 e2fbfa5..d8a0464 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 e293802..fdfcf99 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 51baa58..5a677cb 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 226e9b1..a08947f 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 0d882f3..bae61e7 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 4f20f7c..e2498e7 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 2b9ac3d..b103283 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
diff --git a/shell/source/cmdmail/cmdmailsuppl.cxx b/shell/source/cmdmail/cmdmailsuppl.cxx
index d426cbd..4ee28ea 100644
--- a/shell/source/cmdmail/cmdmailsuppl.cxx
+++ b/shell/source/cmdmail/cmdmailsuppl.cxx
@@ -176,7 +176,7 @@ void SAL_CALL CmdMailSuppl::sendSimpleMailMessage( const Reference< XSimpleMailM
try
{
// Query XNameAccess interface of the org.openoffice.Office.Common/ExternalMailer
- // configuration node to retriece the users preferred email application. This may
+ // configuration node to retrieve the users preferred email application. This may
// transparently by redirected to e.g. the corresponding GConf setting in GNOME.
OUString aConfigRoot = "org.openoffice.Office.Common/ExternalMailer";
diff --git a/shell/source/tools/lngconvex/lngconvex.cxx b/shell/source/tools/lngconvex/lngconvex.cxx
index b14cf63..8f4b3f9 100644
--- a/shell/source/tools/lngconvex/lngconvex.cxx
+++ b/shell/source/tools/lngconvex/lngconvex.cxx
@@ -124,7 +124,7 @@ OString get_absolute_file_path(const std::string& file_name)
}
/** A helper class, enables stream exceptions
- on construction, restors the old exception
+ on construction, restores the old exception
state on destruction */
class StreamExceptionsEnabler
{
More information about the Libreoffice-commits
mailing list