summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-07-02 18:24:20 +0200
committerSamuel Mehrbrodt <s.mehrbrodt@gmail.com>2015-07-04 10:22:11 +0000
commit3dfdd18707019c49723ad98e74f5202a3ae436f7 (patch)
treef43c956f39aae0173cbbc6a307ae63189012ca06 /sd/source/ui
parent0b7d51df3b4ce49f318dd9091df0bf7ba37cdd99 (diff)
Fix typos
Change-Id: Iddcc22f62ea134ea797292daa02e47042d52d0d1 Reviewed-on: https://gerrit.libreoffice.org/16710 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/inc/framework/ResourceId.hxx2
-rw-r--r--sd/source/ui/remotecontrol/BufferedStreamSocket.cxx2
-rw-r--r--sd/source/ui/sidebar/MasterPageContainer.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx2
-rw-r--r--sd/source/ui/slidesorter/view/SlsLayouter.cxx2
-rw-r--r--sd/source/ui/unoidl/DrawController.cxx2
-rw-r--r--sd/source/ui/view/Outliner.cxx6
-rw-r--r--sd/source/ui/view/ViewShellManager.cxx2
-rw-r--r--sd/source/ui/view/viewshe2.cxx2
11 files changed, 13 insertions, 13 deletions
diff --git a/sd/source/ui/inc/framework/ResourceId.hxx b/sd/source/ui/inc/framework/ResourceId.hxx
index d048f517a527..d9694bb5bd35 100644
--- a/sd/source/ui/inc/framework/ResourceId.hxx
+++ b/sd/source/ui/inc/framework/ResourceId.hxx
@@ -190,7 +190,7 @@ private:
/** Compare the called ResourceId object to the given XResourceId object
reference. The comparison is done via the UNO interface. Namely,
it uses the getResourceURL() and the getAnchorURLs() methods to get
- access to the URLs of the given objec.
+ access to the URLs of the given object.
*/
sal_Int16 CompareToExternalImplementation (const css::uno::Reference<
css::drawing::framework::XResourceId>& rxId) const;
diff --git a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
index f035b1ef6dd0..3346c856f095 100644
--- a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
+++ b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx
@@ -85,7 +85,7 @@ sal_Int32 BufferedStreamSocket::readLine( OString& aLine )
{
while ( true )
{
- // Process buffer first incase data already present.
+ // Process buffer first in case data already present.
vector<char>::iterator aIt;
if ( (aIt = find( aBuffer.begin(), aBuffer.end(), '\n' ))
!= aBuffer.end() )
diff --git a/sd/source/ui/sidebar/MasterPageContainer.hxx b/sd/source/ui/sidebar/MasterPageContainer.hxx
index daf3ba8bc8b0..b1db0558dc41 100644
--- a/sd/source/ui/sidebar/MasterPageContainer.hxx
+++ b/sd/source/ui/sidebar/MasterPageContainer.hxx
@@ -147,7 +147,7 @@ public:
(asynchronously) for expensive PreviewProviders.
Call GetPreviewState() to find out if that is necessary.
@param aToken
- This token specifies for which master page to return the prview.
+ This token specifies for which master page to return the preview.
Tokens are returned for example by the GetTokenFor...() methods.
@return
The returned image is the requested preview or a substitution.
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
index 2805d874be8a..235d125e8540 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
@@ -198,7 +198,7 @@ private:
@param pDropEvent
Event though the AcceptDropEvent and ExecuteDropEvent are very
similar they do not have a common base class. Because of that
- we have to use a void* to pase these structs.
+ we have to use a void* to pass these structs.
@param nPage
When the page number is given as 0xffff then it is replaced by
the number of the page at the mouse position. If the mouse is
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx b/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx
index 18aad707f6c6..bda279596a98 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx
@@ -65,7 +65,7 @@ public:
bool IsCenterSelection() const { return mbIsCenterSelection;}
void SetCenterSelection (const bool bIsCenterSelection);
- /** When this mehod returns <TRUE/> then the view may try to change the
+ /** When this method returns <TRUE/> then the view may try to change the
visible area by scrolling it smoothly on the screen. Experimental.
Default value is <FALSE/>.
*/
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx
index 84a95942c0f0..eddbf63c0e00 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx
@@ -43,7 +43,7 @@ class SelectionObserver;
slides.
<p>It has methods to modify the selected slides (delete them or
move them to other places in the document), change the visible area so
- to make the selected slides visble, tell listeners when the selection
+ to make the selected slides visible, tell listeners when the selection
changes.</p>
*/
class SelectionManager
diff --git a/sd/source/ui/slidesorter/view/SlsLayouter.cxx b/sd/source/ui/slidesorter/view/SlsLayouter.cxx
index cb571c41dfcf..31867339f804 100644
--- a/sd/source/ui/slidesorter/view/SlsLayouter.cxx
+++ b/sd/source/ui/slidesorter/view/SlsLayouter.cxx
@@ -148,7 +148,7 @@ public:
sal_Int32 nGap);
/** Calculate the logical part of the insert position, i.e. the page
- after whicht to insert.
+ after which to insert.
*/
virtual void CalculateLogicalInsertPosition (
const Point& rModelPosition,
diff --git a/sd/source/ui/unoidl/DrawController.cxx b/sd/source/ui/unoidl/DrawController.cxx
index 015da1726b02..ffa8dff0e153 100644
--- a/sd/source/ui/unoidl/DrawController.cxx
+++ b/sd/source/ui/unoidl/DrawController.cxx
@@ -206,7 +206,7 @@ sal_Bool SAL_CALL DrawController::suspend( sal_Bool Suspend ) throw (::com::sun:
OUString SAL_CALL DrawController::getImplementationName( ) throw(RuntimeException, std::exception)
{
// Do not throw an excepetion at the moment. This leads to a crash
- // under Solaris on relead. See issue i70929 for details.
+ // under Solaris on reload. See issue i70929 for details.
// ThrowIfDisposed();
return OUString("DrawController") ;
}
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index e073118c4a8f..dc208c918f44 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -1563,10 +1563,10 @@ bool Outliner::ConvertNextDocument()
sal_uInt16 Outliner::ShowModalMessageBox (Dialog& rMessageBox)
{
- // We assume that the parent of the given messge box is NULL, i.e. it is
+ // We assume that the parent of the given message box is NULL, i.e. it is
// modal with respect to the top application window. However, this
- // does not affect the search dialog. Therefore we have to lock it here
- // while the message box is being shown. We also have to take into
+ // does not affect the search dialog. Therefore we have to lock it here
+ // while the message box is being shown. We also have to take into
// account that we are called during a spell check and the search dialog
// is not available.
vcl::Window* pSearchDialog = NULL;
diff --git a/sd/source/ui/view/ViewShellManager.cxx b/sd/source/ui/view/ViewShellManager.cxx
index ff3596f87c6a..72b10b33979a 100644
--- a/sd/source/ui/view/ViewShellManager.cxx
+++ b/sd/source/ui/view/ViewShellManager.cxx
@@ -946,7 +946,7 @@ void ViewShellManager::Implementation::CreateShells()
void ViewShellManager::Implementation::CreateTargetStack (ShellStack& rStack) const
{
// Create a local stack of the shells that are to push on the shell
- // stack. We can thus safly create the required shells wile still
+ // stack. We can thus safely create the required shells wile still
// having a valid shell stack.
for (ActiveShellList::const_reverse_iterator iViewShell (maActiveViewShells.rbegin());
iViewShell != maActiveViewShells.rend();
diff --git a/sd/source/ui/view/viewshe2.cxx b/sd/source/ui/view/viewshe2.cxx
index 929a9f88d1e5..fe3ccb9ddae1 100644
--- a/sd/source/ui/view/viewshe2.cxx
+++ b/sd/source/ui/view/viewshe2.cxx
@@ -346,7 +346,7 @@ void ViewShell::SetZoom(long nZoom)
// #i74769# Here is a 2nd way (besides Window::Scroll) to set the visible prt
// of the window. It needs - like Scroll(ScrollFlags::Children) does - also to move
// the child windows. I am trying InvalidateFlags::Children here which makes things better,
- // but does not solve the problem completely. Neet to ask PL.
+ // but does not solve the problem completely. Need to ask PL.
mpContentWindow->Invalidate(InvalidateFlags::Children);
}