summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/app/inputwin.cxx2
-rw-r--r--sc/source/ui/condformat/condformatdlg.cxx2
-rw-r--r--sc/source/ui/docshell/dbdocfun.cxx2
-rw-r--r--sc/source/ui/docshell/docsh4.cxx2
-rw-r--r--sc/source/ui/inc/namemgrtable.hxx2
-rw-r--r--sc/source/ui/miscdlgs/inscodlg.cxx4
-rw-r--r--sc/source/ui/src/scstring.src2
-rw-r--r--sc/source/ui/unoobj/condformatuno.cxx8
-rw-r--r--sc/source/ui/vba/excelvbahelper.hxx2
-rw-r--r--sc/source/ui/vba/vbaapplication.cxx4
-rw-r--r--sc/source/ui/vba/vbawindow.cxx2
-rw-r--r--sc/source/ui/vba/vbaworkbook.cxx2
-rw-r--r--sc/source/ui/view/gridwin.cxx2
-rw-r--r--sc/source/ui/view/output.cxx2
-rw-r--r--sc/source/ui/view/tabcont.cxx2
-rw-r--r--sc/source/ui/view/tabview.cxx2
-rw-r--r--sc/source/ui/view/tabview3.cxx2
-rw-r--r--sc/source/ui/view/tabview5.cxx2
18 files changed, 23 insertions, 23 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index d30805a2e14a..4c4e81147d68 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -236,7 +236,7 @@ ScInputWindow::ScInputWindow( vcl::Window* pParent, SfxBindings* pBind ) :
// If the input row was hidden while editing (e.g. when editing a formula
// and then switching to another document or the help), display the text
// we just edited from the InputHandler
- aTextWindow.SetTextString( pInputHdl->GetEditString() ); // Dispaly text
+ aTextWindow.SetTextString( pInputHdl->GetEditString() ); // Display text
if ( pInputHdl->IsTopMode() )
pInputHdl->SetMode( SC_INPUT_TABLE ); // Focus ends up at the bottom anyways
}
diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx
index 9e91618e2c5f..0c3e05dbc076 100644
--- a/sc/source/ui/condformat/condformatdlg.cxx
+++ b/sc/source/ui/condformat/condformatdlg.cxx
@@ -502,7 +502,7 @@ void ScCondFormatDlg::RefInputDone( bool bForced )
ScAnyRefDlg::RefInputDone(bForced);
// ScAnyRefModalDlg::RefInputDone resets the title back
- // to it's original state.
+ // to its original state.
// I.e. if we open the dialog normally, and then click into the sheet
// to modify the selection, the title is updated such that the range
// is only a single cell (e.g. $A$1), after which the dialog switches
diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx
index f14f1e957c01..89b2d26f493f 100644
--- a/sc/source/ui/docshell/dbdocfun.cxx
+++ b/sc/source/ui/docshell/dbdocfun.cxx
@@ -1176,7 +1176,7 @@ bool checkNewOutputRange(ScDPObject& rDPObj, ScDocShell& rDocShell, ScRange& rNe
const ScSheetSourceDesc* pSheetDesc = rDPObj.GetSheetDesc();
if (pSheetDesc && pSheetDesc->GetSourceRange().Intersects(rNewOut))
{
- // New output range intersepts with the source data. Move it up to
+ // New output range intersteps with the source data. Move it up to
// where the old range is and see if that works.
ScRange aOldRange = rDPObj.GetOutRange();
SCsROW nDiff = aOldRange.aStart.Row() - rNewOut.aStart.Row();
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index 0a0a7c394b0d..3ca38ac018cf 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -2194,7 +2194,7 @@ bool ScDocShell::DdeSetData( const OUString& rItem,
}
// Address in DDE function must be always parsed as CONV_OOO so that it
- // would always work regardless of current address convension. We do this
+ // would always work regardless of current address conversion. We do this
// because the address item in a DDE entry is *not* normalized when saved
// into ODF.
ScRange aRange;
diff --git a/sc/source/ui/inc/namemgrtable.hxx b/sc/source/ui/inc/namemgrtable.hxx
index 9d5f4e1958cd..aa7e5af437f1 100644
--- a/sc/source/ui/inc/namemgrtable.hxx
+++ b/sc/source/ui/inc/namemgrtable.hxx
@@ -50,7 +50,7 @@ private:
// should be const because we should not modify it here
const std::map<OUString, std::unique_ptr<ScRangeName>>& m_RangeMap;
// for performance, save which entries already have the formula entry
- // otherwise opening the dialog with a lot of range names is extremelly slow because
+ // otherwise opening the dialog with a lot of range names is extremely slow because
// we would calculate all formula strings during opening
std::map<SvTreeListEntry*, bool> maCalculatedFormulaEntries;
const ScAddress maPos;
diff --git a/sc/source/ui/miscdlgs/inscodlg.cxx b/sc/source/ui/miscdlgs/inscodlg.cxx
index 5a29f2e8852c..31f3ea3f486f 100644
--- a/sc/source/ui/miscdlgs/inscodlg.cxx
+++ b/sc/source/ui/miscdlgs/inscodlg.cxx
@@ -121,8 +121,8 @@ ScInsertContentsDlg::ScInsertContentsDlg( vcl::Window* pParent,
mpBtnInsAll->SetClickHdl( LINK( this, ScInsertContentsDlg, InsAllHdl ) );
mpBtnLink->SetClickHdl( LINK( this, ScInsertContentsDlg, LinkBtnHdl ) );
- mpBtnShortCutPasteValuesOnly->SetClickHdl( LINK( this, ScInsertContentsDlg, ShortCutHdl ) );;
- mpBtnShortCutPasteValuesFormats->SetClickHdl( LINK( this, ScInsertContentsDlg, ShortCutHdl ) );;
+ mpBtnShortCutPasteValuesOnly->SetClickHdl( LINK( this, ScInsertContentsDlg, ShortCutHdl ) );
+ mpBtnShortCutPasteValuesFormats->SetClickHdl( LINK( this, ScInsertContentsDlg, ShortCutHdl ) );
mpBtnShortCutPasteTranspose->SetClickHdl( LINK( this, ScInsertContentsDlg, ShortCutHdl ) );
}
diff --git a/sc/source/ui/src/scstring.src b/sc/source/ui/src/scstring.src
index fd15cf13d101..82e5e62b222d 100644
--- a/sc/source/ui/src/scstring.src
+++ b/sc/source/ui/src/scstring.src
@@ -848,7 +848,7 @@ String STR_DEL_AUTOFORMAT_TITLE
String STR_DEL_AUTOFORMAT_MSG
{
- Text [ en-US ] = "Do you really want to delete the # AutoFomat?" ;
+ Text [ en-US ] = "Do you really want to delete the # AutoFormat?" ;
};
String STR_BTN_AUTOFORMAT_CLOSE
diff --git a/sc/source/ui/unoobj/condformatuno.cxx b/sc/source/ui/unoobj/condformatuno.cxx
index ef9542e5ea83..ae121a45aed0 100644
--- a/sc/source/ui/unoobj/condformatuno.cxx
+++ b/sc/source/ui/unoobj/condformatuno.cxx
@@ -366,7 +366,7 @@ void ScCondFormatsObj::removeByID(const sal_Int32 nID)
throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
- ScConditionalFormatList* pFormatList = getCoreObject();;
+ ScConditionalFormatList* pFormatList = getCoreObject();
pFormatList->erase(nID);
}
@@ -374,7 +374,7 @@ uno::Sequence<uno::Reference<sheet::XConditionalFormat> > ScCondFormatsObj::getC
throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
- ScConditionalFormatList* pFormatList = getCoreObject();;
+ ScConditionalFormatList* pFormatList = getCoreObject();
size_t n = pFormatList->size();
uno::Sequence<uno::Reference<sheet::XConditionalFormat> > aCondFormats(n);
sal_Int32 i = 0;
@@ -390,8 +390,8 @@ sal_Int32 ScCondFormatsObj::getLength()
throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
- ScConditionalFormatList* pFormatList = getCoreObject();;
- return pFormatList->size();;
+ ScConditionalFormatList* pFormatList = getCoreObject();
+ return pFormatList->size();
}
ScConditionalFormatList* ScCondFormatsObj::getCoreObject()
diff --git a/sc/source/ui/vba/excelvbahelper.hxx b/sc/source/ui/vba/excelvbahelper.hxx
index c62f5bf0beb8..d98a1be171c1 100644
--- a/sc/source/ui/vba/excelvbahelper.hxx
+++ b/sc/source/ui/vba/excelvbahelper.hxx
@@ -75,7 +75,7 @@ template < typename ImplObject >
if ( xTunnel.is() )
pObj = reinterpret_cast<ImplObject*>( xTunnel->getSomething(ImplObject::getUnoTunnelId()));
if ( bThrow && !pObj )
- throw css::uno::RuntimeException("Internal error, can't exctract implementation object", rxWrapperIf );
+ throw css::uno::RuntimeException("Internal error, can't extract implementation object", rxWrapperIf );
return pObj;
}
diff --git a/sc/source/ui/vba/vbaapplication.cxx b/sc/source/ui/vba/vbaapplication.cxx
index a57f136500ef..3a984d1cb6e5 100644
--- a/sc/source/ui/vba/vbaapplication.cxx
+++ b/sc/source/ui/vba/vbaapplication.cxx
@@ -412,7 +412,7 @@ ScVbaApplication::setStatusBar( const uno::Any& _statusbar ) throw (uno::Runtime
}
}
else
- throw uno::RuntimeException("Invalid prarameter. It should be a string or False" );
+ throw uno::RuntimeException("Invalid parameter. It should be a string or False" );
}
::sal_Int32 SAL_CALL
@@ -599,7 +599,7 @@ ScVbaApplication::GoTo( const uno::Any& Reference, const uno::Any& Scroll ) thro
ScGridWindow* gridWindow = static_cast<ScGridWindow*>(pShell->GetWindow());
if ( xVbaRange.is() )
{
- //TODO bScroll should be using. An this time, it does not have effection
+ //TODO bScroll should be used. At this time, it does not have effect
if( bScroll )
{
xVbaRange->Select();
diff --git a/sc/source/ui/vba/vbawindow.cxx b/sc/source/ui/vba/vbawindow.cxx
index ec58bc901a3f..081400cafb16 100644
--- a/sc/source/ui/vba/vbawindow.cxx
+++ b/sc/source/ui/vba/vbawindow.cxx
@@ -203,7 +203,7 @@ ScVbaWindow::init()
still zero. The implementation of ActivePane() uses a UNO reference of
this (to set this window as parent of the pane object). This requires
the own refcount to be non-zero, otherwise this instance will be
- desctructed immediately! Guard the call to ActivePane() in try/catch to
+ destructed immediately! Guard the call to ActivePane() in try/catch to
not miss the decrementation of the reference count on exception. */
osl_atomic_increment( &m_refCount );
try
diff --git a/sc/source/ui/vba/vbaworkbook.cxx b/sc/source/ui/vba/vbaworkbook.cxx
index 0160826d043c..2bd237a327a7 100644
--- a/sc/source/ui/vba/vbaworkbook.cxx
+++ b/sc/source/ui/vba/vbaworkbook.cxx
@@ -47,7 +47,7 @@
#include "docoptio.hxx"
#include "unonames.hxx"
-// Much of the impl. for the equivalend UNO module is
+// Much of the impl. for the equivalent UNO module is
// sc/source/ui/unoobj/docuno.cxx, viewuno.cxx
using namespace ::ooo::vba;
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index bb1ae4311d43..fe96a0e982e9 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -5236,7 +5236,7 @@ void ScGridWindow::RFMouseMove( const MouseEvent& rMEvt, bool bUp )
}
if ( bUp )
- aNew.PutInOrder(); // For ButtonUp agin in the proper order
+ aNew.PutInOrder(); // For ButtonUp again in the proper order
if ( aNew != aOld )
{
diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx
index 16e24992f9fd..523349fd4959 100644
--- a/sc/source/ui/view/output.cxx
+++ b/sc/source/ui/view/output.cxx
@@ -338,7 +338,7 @@ void ScOutputData::DrawGrid(vcl::RenderContext& rRenderContext, bool bGrid, bool
// * when bWorksInPixels is false: these are in the logic units
//
// This is where all the confusion comes from, ultimately we want them
- // always in the logic units (100th of milimiters), but we need to get
+ // always in the logic units (100th of millimiters), but we need to get
// there gradually (get rid of setting MAP_PIXEL first), otherwise we'd
// break all the drawing by one change.
// So until that happens, we need to special case.
diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx
index 7926f724d16a..7b34af1c1d86 100644
--- a/sc/source/ui/view/tabcont.cxx
+++ b/sc/source/ui/view/tabcont.cxx
@@ -289,7 +289,7 @@ void ScTabControl::Select()
// SetReference onlw when the consolidate dialog is open
// (for referenzes over multiple sheets)
- // for others this is only uneeded fidgeting
+ // for others this is only needed fidgeting
if ( bRefMode && pViewData->GetRefType() == SC_REFTYPE_REF )
if ( pViewData->GetViewShell()->GetViewFrame()->HasChildWindow(SID_OPENDLG_CONSOLIDATE) )
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 914c68483258..cf82bf897559 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -1060,7 +1060,7 @@ IMPL_LINK_TYPED( ScTabView, ScrollHdl, ScrollBar*, pScroll, void )
/* Convert scrollbar mouse position to screen position. If RTL
mode of scrollbar differs from RTL mode of its parent, then the
direct call to Window::OutputToNormalizedScreenPixel() will
- give unusable results, because calcualtion of screen position
+ give unusable results, because calculation of screen position
is based on parent orientation and expects equal orientation of
the child position. Need to mirror mouse position before. */
Point aMousePos = pScroll->GetPointerPosPixel();
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index 8e6d1432f30a..7bdeeae35f62 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -758,7 +758,7 @@ void ScTabView::AlignToCursor( SCsCOL nCurX, SCsROW nCurY, ScFollowMode eMode,
// when for instance a search dialog is open, don't put the cursor behind the dialog
// if possible, put the row with the cursor above or below the dialog
- //! not if already complelely visible
+ //! not if already completely visible
if ( eMode == SC_FOLLOW_JUMP )
{
diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx
index d48fde82131d..76b8562b883a 100644
--- a/sc/source/ui/view/tabview5.cxx
+++ b/sc/source/ui/view/tabview5.cxx
@@ -104,7 +104,7 @@ void ScTabView::Init()
pTabControl->SetStyle(pTabControl->GetStyle() | WB_SIZEABLE);
/* #i97900# The tab control has to remain in RTL mode if GUI is RTL, this
- is needed to draw the 3D effect correctly. The base TabBar implementes
+ is needed to draw the 3D effect correctly. The base TabBar implements
mirroring independent from the GUI direction. Have to set RTL mode
explicitly because the parent frame window is already RTL disabled. */
pTabControl->EnableRTL( AllSettings::GetLayoutRTL() );