summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorElton Chung <elton@layerjet.com>2012-02-18 12:37:04 +0800
committerMichael Meeks <michael.meeks@suse.com>2012-02-18 09:35:43 +0000
commit23af031b09dffe37222517d69f5337db26fdb307 (patch)
treeae1219ec20ccacd0fe9fdc0fc539e5b8f41420d3 /sd
parent78e9ba6febb7402d4661fbf7934a2526efc8629a (diff)
Fix typos in comments
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/app/sdmod1.cxx2
-rw-r--r--sd/source/ui/dlg/TemplateScanner.cxx2
-rw-r--r--sd/source/ui/dlg/dlgass.cxx2
-rw-r--r--sd/source/ui/func/fupage.cxx2
-rw-r--r--sd/source/ui/inc/TemplateScanner.hxx2
-rw-r--r--sd/source/ui/inc/taskpane/ILayoutableWindow.hxx2
-rw-r--r--sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx2
9 files changed, 9 insertions, 9 deletions
diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx
index 61b2e3d14291..2cb4b67ee113 100644
--- a/sd/source/ui/app/sdmod1.cxx
+++ b/sd/source/ui/app/sdmod1.cxx
@@ -574,7 +574,7 @@ SfxFrame* SdModule::ExecuteNewDocument( SfxRequest& rReq )
{
//we start without wizard
- //check wether we should load a template document
+ //check whether we should load a template document
const ::rtl::OUString aServiceName( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.presentation.PresentationDocument" ) );
String aStandardTemplate( SfxObjectFactory::GetStandardTemplate( aServiceName ) );
diff --git a/sd/source/ui/dlg/TemplateScanner.cxx b/sd/source/ui/dlg/TemplateScanner.cxx
index e087d9ca4be0..20013b00a3bc 100644
--- a/sd/source/ui/dlg/TemplateScanner.cxx
+++ b/sd/source/ui/dlg/TemplateScanner.cxx
@@ -290,7 +290,7 @@ TemplateScanner::State TemplateScanner::ScanEntry (void)
::ucbhelper::Content aContent = ::ucbhelper::Content (aId, mxEntryEnvironment);
if (aContent.isDocument ())
{
- // Check wether the entry is an impress template. If so
+ // Check whether the entry is an impress template. If so
// add a new entry to the resulting list (which is created
// first if necessary).
if ( (sContentType == MIMETYPE_OASIS_OPENDOCUMENT_PRESENTATION_TEMPLATE)
diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx
index c3ecb9581306..7bd7480cafa1 100644
--- a/sd/source/ui/dlg/dlgass.cxx
+++ b/sd/source/ui/dlg/dlgass.cxx
@@ -629,7 +629,7 @@ AssistentDlgImpl::AssistentDlgImpl( ::Window* pWindow, const Link& rFinishLink,
UpdatePreview( sal_True );
- //check wether we should start with a template document initialy and preselect it
+ //check whether we should start with a template document initialy and preselect it
const ::rtl::OUString aServiceName( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.presentation.PresentationDocument" ) );
String aStandardTemplate( SfxObjectFactory::GetStandardTemplate( aServiceName ) );
if( aStandardTemplate.Len() )
diff --git a/sd/source/ui/func/fupage.cxx b/sd/source/ui/func/fupage.cxx
index 5c7e0df2f0f5..68c6f19cc594 100644
--- a/sd/source/ui/func/fupage.cxx
+++ b/sd/source/ui/func/fupage.cxx
@@ -361,7 +361,7 @@ const SfxItemSet* FuPage::ExecuteDialog( Window* pParent )
bool bSetToAllPages = false;
- // Ask, wether the setting are for the background-page or for the current page
+ // Ask, whether the setting are for the background-page or for the current page
if( !mbMasterPage && bChanges )
{
// But don't ask in notice-view, because we can't change the background of
diff --git a/sd/source/ui/inc/TemplateScanner.hxx b/sd/source/ui/inc/TemplateScanner.hxx
index a746df784849..6ed38ecbd102 100644
--- a/sd/source/ui/inc/TemplateScanner.hxx
+++ b/sd/source/ui/inc/TemplateScanner.hxx
@@ -161,7 +161,7 @@ public:
*/
const TemplateEntry* GetLastAddedEntry (void) const;
- /** Set wether to sort the template entries inside the regions.
+ /** Set whether to sort the template entries inside the regions.
*/
void EnableEntrySorting (bool isEntrySortingEnabled = true)
{mbEntrySortingEnabled = isEntrySortingEnabled;}
diff --git a/sd/source/ui/inc/taskpane/ILayoutableWindow.hxx b/sd/source/ui/inc/taskpane/ILayoutableWindow.hxx
index 1788557196ce..138353ee0d0b 100644
--- a/sd/source/ui/inc/taskpane/ILayoutableWindow.hxx
+++ b/sd/source/ui/inc/taskpane/ILayoutableWindow.hxx
@@ -77,7 +77,7 @@ public:
*/
virtual sal_Int32 GetPreferredHeight (sal_Int32 nWidth) = 0;
- /** Return wether the window is generally resizable. When used by
+ /** Return whether the window is generally resizable. When used by
a VerticalLayouter then the width will always be resized and
the return value of this method determines whether the height
may be modified as well.
diff --git a/sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx b/sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx
index e0f519860cad..5c9ed7cc96b5 100644
--- a/sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx
@@ -93,7 +93,7 @@ protected:
virtual void SAL_CALL onTerminated (void);
private:
- /** Flag that indicates wether the onTerminated method has been already
+ /** Flag that indicates whether the onTerminated method has been already
called. If so then a subsequent call to detach deletes the thread.
*/
volatile bool mbIsTerminated;
diff --git a/sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx b/sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx
index c6faee310cd7..afa7781c5f96 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsButtonBar.hxx
@@ -155,7 +155,7 @@ private:
/** Remember the specified page. If it differs from mpDescriptor then
the buttons are placed anew.
@return
- The returned flag indicates wether the mpDescriptor member
+ The returned flag indicates whether the mpDescriptor member
is set to a new value.
*/
bool SetPage (const model::SharedPageDescriptor& rpDescriptor);
diff --git a/sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx b/sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx
index a8f49f027e88..0fe470c5f4ca 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsInsertAnimator.hxx
@@ -55,7 +55,7 @@ public:
enum ResetMode { RM_Normal, RM_AbortAnimations };
/** Restore the normal position of all page objects.
@param eMode
- This flag controls wether to start an animation that ends in the
+ This flag controls whether to start an animation that ends in the
normal positions of all slides (AM_Animated) or to restore the
normal positions immediately (AM_Immediate).
*/