This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
     new c13e414  Fixed typos, removed whitespace
c13e414 is described below

commit c13e41403aa6d7a7e325af90dca42bdfba8ded2e
Author: mseidel <msei...@apache.org>
AuthorDate: Sat Jan 15 00:28:54 2022 +0100

    Fixed typos, removed whitespace
---
 .../ui/slidesorter/inc/cache/SlsCacheContext.hxx   | 13 +++++----
 .../ui/slidesorter/inc/cache/SlsPageCache.hxx      |  2 +-
 .../slidesorter/inc/cache/SlsPageCacheManager.hxx  | 14 +++++-----
 .../inc/controller/SlideSorterController.hxx       | 16 +++++------
 .../inc/controller/SlsAnimationFunction.hxx        |  8 +++---
 .../ui/slidesorter/inc/controller/SlsAnimator.hxx  | 18 ++++++-------
 .../ui/slidesorter/inc/controller/SlsClipboard.hxx | 31 +++++++++++-----------
 .../inc/controller/SlsCurrentSlideManager.hxx      | 12 ++++-----
 .../slidesorter/inc/controller/SlsFocusManager.hxx | 15 +++++------
 9 files changed, 63 insertions(+), 66 deletions(-)

diff --git a/main/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx 
b/main/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx
index f4a1461..a0c4dc6 100644
--- a/main/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx
+++ b/main/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,16 +7,16 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
 
@@ -36,7 +36,7 @@ namespace sd { namespace slidesorter { namespace cache {
 
 typedef const SdrPage* CacheKey;
 
-/** This interface allows the individualisation of different instances of
+/** This interface allows the individualization of different instances of
     the PreviewCache.
 */
 class CacheContext
@@ -64,7 +64,7 @@ public:
     */
     virtual bool IsVisible (CacheKey aKey) = 0;
 
-    /** Return the page associdated with the given key.  Note that different
+    /** Return the page associated with the given key.  Note that different
         keys may map to a single page (this may be the case with custom
         slide shows.)
     */
@@ -99,4 +99,3 @@ typedef ::boost::shared_ptr<CacheContext> SharedCacheContext;
 } } } // end of namespace ::sd::slidesorter::cache
 
 #endif
-
diff --git a/main/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx 
b/main/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx
index 17c0007..67d10cb 100644
--- a/main/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx
+++ b/main/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx
@@ -59,7 +59,7 @@ class RequestData;
     bitmaps as needing an update but use them while the new bitmap in the
     correct size is not available.</li>
     <li>Give the UI the chance to handle user events between the rendering
-    of differe slides.</li>
+    of different slides.</li>
     <li>Limit the amount of space that may be used for storing preview
     bitmaps and throw.</li>
     </p>
diff --git a/main/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx 
b/main/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx
index 80280f9..33a621d 100644
--- a/main/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx
+++ b/main/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,16 +7,16 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
 
@@ -87,7 +87,7 @@ public:
 
     /** This is an information to the cache manager that the size of preview
         bitmaps in the specified cache has changed.
-        
+
     */
     ::boost::shared_ptr<Cache> ChangeSize (
         const ::boost::shared_ptr<Cache>& rpCache,
@@ -141,7 +141,7 @@ private:
         slide sorter.
     */
     const sal_uInt32 mnMaximalRecentlyCacheCount;
-    
+
     PageCacheManager (void);
     ~PageCacheManager (void);
 
@@ -171,7 +171,7 @@ private:
         const Size& rPreviewSize);
 
     /** This method is used internally to initialize a newly created
-        BitmapCache with already exisiting previews.
+        BitmapCache with already existing previews.
     */
     void Recycle (
         const ::boost::shared_ptr<Cache>& rpCache,
diff --git 
a/main/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx 
b/main/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
index b1d5de7..aab965b 100644
--- a/main/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
+++ b/main/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,16 +7,16 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
 
@@ -76,7 +76,7 @@ public:
     */
     SlideSorterController (SlideSorter& rSlideSorter);
 
-    /** Late initialization.  Call this method once a new new object has been 
+    /** Late initialization.  Call this method once a new new object has been
         created.
     */
     virtual void Init (void);
@@ -137,7 +137,7 @@ public:
        void FuPermanent (SfxRequest& rRequest);
        void FuSupport (SfxRequest& rRequest);
     bool Command (
-        const CommandEvent& rEvent, 
+        const CommandEvent& rEvent,
         ::sd::Window* pWindow);
 
        void GetCtrlState (SfxItemSet &rSet);
@@ -187,7 +187,7 @@ public:
         an empty reference.
     */
     ::rtl::Reference<SelectionFunction> GetCurrentSelectionFunction (void);
-    
+
     /** Prepare for a change of the edit mode.  Depending on the current
         edit mode we may save the selection so that it can be restored when
         later changing back to the current edit mode.
@@ -310,7 +310,7 @@ private:
 
     /** Prepare for several model changes, i.e. prevent time-consuming and
         non-critical operations like repaints until UnlockModelChange() is
-        called.  Ciritcal operations like releasing references to pages that
+        called.  Critical operations like releasing references to pages that
         do not exist anymore are executed.
     */
     void LockModelChange (void);
diff --git 
a/main/sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx 
b/main/sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx
index 96f5e96..fc5576a 100644
--- a/main/sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx
+++ b/main/sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,16 +7,16 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
 
diff --git a/main/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx 
b/main/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx
index 2ed8cab..73e759d 100644
--- a/main/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx
+++ b/main/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,16 +7,16 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
 
@@ -66,16 +66,16 @@ public:
 
     typedef sal_Int32 AnimationId;
     static const AnimationId NotAnAnimationId = -1;
-    
+
     /** Schedule a new animation for execution.  The () operator of that
         animation will be called with increasing values between 0 and 1 for
         the specified duration.
         @param rAnimation
             The animation operation.
         @param nStartOffset
-            Time in milli seconds before the animation is started.
+            Time in milliseconds before the animation is started.
         @param nDuration
-            The duration in milli seconds.
+            The duration in milliseconds.
     */
     AnimationId AddAnimation (
         const AnimationFunctor& rAnimation,
@@ -112,12 +112,12 @@ private:
     ::boost::scoped_ptr<view::SlideSorterView::DrawLock> mpDrawLock;
 
     AnimationId mnNextAnimationId;
-    
+
     DECL_LINK(TimeoutHandler, Timer*);
 
     /** Execute one step of every active animation.
         @param nTime
-            Time measured in milli seconds with some arbitrary reference point.
+            Time measured in milliseconds with some arbitrary reference point.
         @return
             When one or more animation has finished then <TRUE/> is
             returned.  Call CleanUpAnimationList() in this case.
diff --git a/main/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx 
b/main/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
index 0821dd6..76c8ed2 100644
--- a/main/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
+++ b/main/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,16 +7,16 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
 
@@ -91,16 +91,16 @@ public:
 
     sal_Int8 AcceptDrop (
         const AcceptDropEvent& rEvt,
-        DropTargetHelper& rTargetHelper, 
-        ::sd::Window* pTargetWindow = NULL, 
-        sal_uInt16 nPage = SDRPAGE_NOTFOUND, 
+        DropTargetHelper& rTargetHelper,
+        ::sd::Window* pTargetWindow = NULL,
+        sal_uInt16 nPage = SDRPAGE_NOTFOUND,
         sal_uInt16 nLayer = SDRPAGE_NOTFOUND );
 
        sal_Int8 ExecuteDrop (
-        const ExecuteDropEvent& rEvt, 
+        const ExecuteDropEvent& rEvt,
         DropTargetHelper& rTargetHelper,
-        ::sd::Window* pTargetWindow = NULL, 
-        sal_uInt16 nPage = SDRPAGE_NOTFOUND, 
+        ::sd::Window* pTargetWindow = NULL,
+        sal_uInt16 nPage = SDRPAGE_NOTFOUND,
         sal_uInt16 nLayer = SDRPAGE_NOTFOUND);
 
     void Abort (void);
@@ -144,9 +144,9 @@ private:
 
     ::boost::scoped_ptr<SelectionObserver::Context> mpSelectionObserverContext;
     sal_uLong mnDragFinishedUserEventId;
-    
+
     void CreateSlideTransferable (
-        ::Window* pWindow, 
+        ::Window* pWindow,
         bool bDrag);
 
     /** Select the pages stored in the maPagesToSelect member.  The list in
@@ -176,7 +176,7 @@ private:
     */
     sal_Int32 PasteTransferable (sal_Int32 nInsertPosition);
 
-    /** Select a range of pages of the model.  Typicall usage is the
+    /** Select a range of pages of the model.  Typical usage is the
         selection of newly inserted pages.
         @param nFirstIndex
             The index of the first page to select.
@@ -210,7 +210,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
@@ -228,7 +228,7 @@ private:
         sal_uInt16 nLayer);
 
     /** Return whether the insertion defined by the transferable is
-        trivial, ie would not change either source nor target document.
+        trivial, i.e. would not change either source nor target document.
     */
     bool IsInsertionTrivial (
         SdTransferable* pTransferable,
@@ -245,4 +245,3 @@ private:
 } } } // end of namespace ::sd::slidesorter::controller
 
 #endif
-
diff --git 
a/main/sd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx 
b/main/sd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx
index 5de29f9..48204e5 100644
--- a/main/sd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx
+++ b/main/sd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,16 +7,16 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
 
@@ -43,7 +43,7 @@ namespace sd { namespace slidesorter { namespace controller {
     view shell.
 
     Switching pages is triggered only after a little delay.  This allows
-    fast travelling through a larger set of slides without having to wait
+    fast traveling through a larger set of slides without having to wait
     for the edit view to update its content after every slide change.
 */
 class CurrentSlideManager
@@ -86,7 +86,7 @@ public:
     /** Release all references to model data.
     */
     void PrepareModelChange (void);
-    
+
     /** Modify inner state in reaction to a change of the SlideSorterModel.
     */
     void HandleModelChange (void);
diff --git a/main/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx 
b/main/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx
index a0136b4..dc27b6f 100644
--- a/main/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx
+++ b/main/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,16 +7,16 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
 
@@ -43,7 +43,7 @@ namespace sd { namespace slidesorter { namespace controller {
     focused state of the focus page can be toggled with the ToggleFocus()
     method.
 */
-class FocusManager 
+class FocusManager
 {
 public:
     /** Create a new focus manager that operates on the pages of the model
@@ -133,7 +133,7 @@ public:
 
     void SetFocusedPageToCurrentPage (void);
 
-    /** Return <TRUE/> when the focus inidcator is currently shown.  A
+    /** Return <TRUE/> when the focus indicator is currently shown.  A
         prerequisite is that the window managed by this focus manager has
         the input focus as indicated by a <TRUE/> return value of
         HasFocus().  It is not necessary that the focus indicator is
@@ -161,7 +161,7 @@ public:
         typically the tool bar with the close button.
     */
     void SetFocusToToolBox (void);
-    
+
     /** Create an instance of this class to temporarily hide the focus
         indicator.  It is restored to its former visibility state when the
         FocusHider is destroyed.
@@ -227,4 +227,3 @@ private:
 } } } // end of namespace ::sd::slidesorter::controller
 
 #endif
-

Reply via email to