Kaydet (Commit) bb667fc1 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

typo: arround -> around

üst 52a41a0b
...@@ -165,7 +165,7 @@ protected: ...@@ -165,7 +165,7 @@ protected:
/** This flag specifies whether an object has a list as child regardless /** This flag specifies whether an object has a list as child regardless
of whether that child being currently instantiated or not. This of whether that child being currently instantiated or not. This
flag is always true in the current implementation because the list flag is always true in the current implementation because the list
child is just another wrapper arround this object and thus has the child is just another wrapper around this object and thus has the
same life time. same life time.
*/ */
bool m_bHasListChild; bool m_bHasListChild;
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8"/> <xsl:output method="xml" version="1.0" encoding="UTF-8"/>
<!-- work arround apparently broken output indenting in libxslt --> <!-- work around apparently broken output indenting in libxslt -->
<xsl:param name="indent" select="' '"/> <xsl:param name="indent" select="' '"/>
<xsl:template match="/glade-catalog"> <xsl:template match="/glade-catalog">
......
...@@ -135,7 +135,7 @@ namespace sfx2 ...@@ -135,7 +135,7 @@ namespace sfx2
Link m_aEndDockingHdl; Link m_aEndDockingHdl;
/** The border that is painted arround the inner window. The bevel /** The border that is painted around the inner window. The bevel
shadow lines are part of the border, so where the border is 0 no shadow lines are part of the border, so where the border is 0 no
such line is painted. such line is painted.
*/ */
......
...@@ -399,7 +399,7 @@ private: ...@@ -399,7 +399,7 @@ private:
/** Handle the situation that the iterator has reached the last object. /** Handle the situation that the iterator has reached the last object.
This may result in setting the <member>mbEndOfSearch</member> flag This may result in setting the <member>mbEndOfSearch</member> flag
back to </sal_False>. This method may show either the end-of-search back to </sal_False>. This method may show either the end-of-search
dialog or the wrap-arround dialog. dialog or the wrap-around dialog.
*/ */
void EndOfSearch (void); void EndOfSearch (void);
...@@ -409,7 +409,7 @@ private: ...@@ -409,7 +409,7 @@ private:
*/ */
void ShowEndOfSearchDialog (void); void ShowEndOfSearchDialog (void);
/** Show a dialog that asks the user whether to wrap arround to the /** Show a dialog that asks the user whether to wrap around to the
beginning/end of the document and continue with the search/spell beginning/end of the document and continue with the search/spell
check. check.
*/ */
...@@ -488,7 +488,7 @@ private: ...@@ -488,7 +488,7 @@ private:
i.e. there is no match in the whole presentation, or when no further i.e. there is no match in the whole presentation, or when no further
match exists. match exists.
@return @return
The returned value indicates whether another (wrapped arround) The returned value indicates whether another (wrapped around)
search shall take place. If that is so, then it is the caller's search shall take place. If that is so, then it is the caller's
responsibility to set the cursor position accordingly. responsibility to set the cursor position accordingly.
*/ */
...@@ -520,7 +520,7 @@ private: ...@@ -520,7 +520,7 @@ private:
/** Initiate the spell check of the next relevant text object. /** Initiate the spell check of the next relevant text object.
When the outline view is active then this method is called When the outline view is active then this method is called
after a wrap arround to continue at the beginning of the document. after a wrap around to continue at the beginning of the document.
@return @return
Returns <TRUE/> to indicate that another call to this method is Returns <TRUE/> to indicate that another call to this method is
required. When all text objects have been processed then required. When all text objects have been processed then
......
...@@ -728,7 +728,7 @@ void AnnotationManagerImpl::SelectNextAnnotation(bool bForeward) ...@@ -728,7 +728,7 @@ void AnnotationManagerImpl::SelectNextAnnotation(bool bForeward)
else else
nStringId = bImpress ? STR_ANNOTATION_WRAP_BACKWARD : STR_ANNOTATION_WRAP_BACKWARD_DRAW; nStringId = bImpress ? STR_ANNOTATION_WRAP_BACKWARD : STR_ANNOTATION_WRAP_BACKWARD_DRAW;
// Pop up question box that asks the user whether to wrap arround. // Pop up question box that asks the user whether to wrap around.
// The dialog is made modal with respect to the whole application. // The dialog is made modal with respect to the whole application.
QueryBox aQuestionBox ( NULL, (WB_YES_NO | WB_DEF_YES), SD_RESSTR(nStringId)); QueryBox aQuestionBox ( NULL, (WB_YES_NO | WB_DEF_YES), SD_RESSTR(nStringId));
aQuestionBox.SetImage (QueryBox::GetStandardImage()); aQuestionBox.SetImage (QueryBox::GetStandardImage());
......
...@@ -134,7 +134,7 @@ private: ...@@ -134,7 +134,7 @@ private:
const Color maFrameColor; const Color maFrameColor;
const bool mbHasFrame; const bool mbHasFrame;
static const int snSubstitutionTextSize; static const int snSubstitutionTextSize;
// Width of the frame that is painted arround the preview. // Width of the frame that is painted around the preview.
static const int snFrameWidth; static const int snFrameWidth;
bool Initialize ( bool Initialize (
......
...@@ -317,7 +317,7 @@ public: ...@@ -317,7 +317,7 @@ public:
*/ */
::sd::WindowUpdater* GetWindowUpdater (void) const; ::sd::WindowUpdater* GetWindowUpdater (void) const;
/** Return the border that is drawn arround the actual document view. /** Return the border that is drawn around the actual document view.
The border contains typically rulers and scroll bars. The border contains typically rulers and scroll bars.
@param bOuterResize @param bOuterResize
When this flag is <TRUE/> then the border is used for an When this flag is <TRUE/> then the border is used for an
......
...@@ -51,7 +51,7 @@ public: ...@@ -51,7 +51,7 @@ public:
void SetViewShell (ViewShell* pViewSh); void SetViewShell (ViewShell* pViewSh);
/** Set the zoom factor to the specified value and center the display /** Set the zoom factor to the specified value and center the display
area arround the zoom center. area around the zoom center.
@param nZoom @param nZoom
The zoom factor is given as integral percent value. The zoom factor is given as integral percent value.
*/ */
......
...@@ -119,7 +119,7 @@ public: ...@@ -119,7 +119,7 @@ public:
is <FALSE/> the hidden controls are skipped. is <FALSE/> the hidden controls are skipped.
@param bCycle @param bCycle
When this flag is <TRUE/> then the search for the previous When this flag is <TRUE/> then the search for the previous
control wraps arround when reaching the first control. control wraps around when reaching the first control.
@return @return
Returns the index to the previous control or (sal_uInt32)-1 when Returns the index to the previous control or (sal_uInt32)-1 when
there is no previous control. This would be the case when there there is no previous control. This would be the case when there
...@@ -141,7 +141,7 @@ public: ...@@ -141,7 +141,7 @@ public:
<FALSE/> the hidden controls are skipped. <FALSE/> the hidden controls are skipped.
@param bCycle @param bCycle
When this flag is <TRUE/> then the search for the next control When this flag is <TRUE/> then the search for the next control
wraps arround when reaching the last control. wraps around when reaching the last control.
@return @return
Returns the index to the next control or (sal_uInt32)-1 when Returns the index to the next control or (sal_uInt32)-1 when
there is no next control. This would be the case when there is there is no next control. This would be the case when there is
......
...@@ -137,7 +137,7 @@ private: ...@@ -137,7 +137,7 @@ private:
const int mnHorizontalBorder; const int mnHorizontalBorder;
/** List of horizontal stripes that is created from the gaps between /** List of horizontal stripes that is created from the gaps between
children when they are layouted. The stripes are painted in Paint() children when they are layouted. The stripes are painted in Paint()
to fill the space arround the children. to fill the space around the children.
*/ */
typedef ::std::vector< ::std::pair<int,int> > StripeList; typedef ::std::vector< ::std::pair<int,int> > StripeList;
StripeList maStripeList; StripeList maStripeList;
......
...@@ -45,7 +45,7 @@ namespace sd { namespace toolpanel { ...@@ -45,7 +45,7 @@ namespace sd { namespace toolpanel {
is made transparent and painting it is done by this class. While is made transparent and painting it is done by this class. While
layouting its children it remembers the gaps between children and stores layouting its children it remembers the gaps between children and stores
them in maStripeList. In Paint() those gaps as well as the border them in maStripeList. In Paint() those gaps as well as the border
arround all children are painted in the background color.</p> around all children are painted in the background color.</p>
*/ */
class SubToolPanel class SubToolPanel
: public Control, : public Control,
...@@ -96,7 +96,7 @@ private: ...@@ -96,7 +96,7 @@ private:
const int mnHorizontalBorder; const int mnHorizontalBorder;
/** List of horizontal stripes that is created from the gaps between /** List of horizontal stripes that is created from the gaps between
children when they are layouted. The stripes are painted in Paint() children when they are layouted. The stripes are painted in Paint()
to fill the space arround the children. to fill the space around the children.
*/ */
typedef ::std::vector< ::std::pair<int,int> > StripeList; typedef ::std::vector< ::std::pair<int,int> > StripeList;
StripeList maStripeList; StripeList maStripeList;
......
...@@ -142,7 +142,7 @@ private: ...@@ -142,7 +142,7 @@ private:
bool mbFirstPageObjectSeen; bool mbFirstPageObjectSeen;
// The widths for the previews contain two pixels for the border that is // The widths for the previews contain two pixels for the border that is
// painted arround the preview. // painted around the preview.
static const int SMALL_PREVIEW_WIDTH = 72 + 2; static const int SMALL_PREVIEW_WIDTH = 72 + 2;
static const int LARGE_PREVIEW_WIDTH = 2*72 + 2; static const int LARGE_PREVIEW_WIDTH = 2*72 + 2;
......
...@@ -90,7 +90,7 @@ void FocusManager::MoveFocus (FocusMoveDirection eDirection) ...@@ -90,7 +90,7 @@ void FocusManager::MoveFocus (FocusMoveDirection eDirection)
{ {
if (mbIsVerticalWrapActive) if (mbIsVerticalWrapActive)
{ {
// Wrap arround to the bottom row or the one above // Wrap around to the bottom row or the one above
// and go to the correct column. // and go to the correct column.
const sal_Int32 nLastIndex (nPageCount-1); const sal_Int32 nLastIndex (nPageCount-1);
const sal_Int32 nLastColumn (nLastIndex % nColumnCount); const sal_Int32 nLastColumn (nLastIndex % nColumnCount);
...@@ -124,7 +124,7 @@ void FocusManager::MoveFocus (FocusMoveDirection eDirection) ...@@ -124,7 +124,7 @@ void FocusManager::MoveFocus (FocusMoveDirection eDirection)
{ {
if (mbIsVerticalWrapActive) if (mbIsVerticalWrapActive)
{ {
// Wrap arround to the correct column. // Wrap around to the correct column.
mnPageIndex = mnPageIndex % nColumnCount; mnPageIndex = mnPageIndex % nColumnCount;
} }
else else
......
...@@ -62,11 +62,11 @@ public: ...@@ -62,11 +62,11 @@ public:
/** Move the focus from the currently focused page to one that is /** Move the focus from the currently focused page to one that is
displayed adjacent to it, either vertically or horizontally. displayed adjacent to it, either vertically or horizontally.
@param eDirection @param eDirection
Direction in which to move the focus. Wrap arround is done Direction in which to move the focus. Wrap around is done
differently when moving vertically or horizontally. Vertical differently when moving vertically or horizontally. Vertical
wrap arround takes place in the same column, i.e. when you are wrap around takes place in the same column, i.e. when you are
in the top row and move up you come out in the bottom row in the in the top row and move up you come out in the bottom row in the
same column. Horizontal wrap arround moves to the next same column. Horizontal wrap around moves to the next
(FMD_RIGHT) or previous (FMD_LEFT) page. Moving to the right (FMD_RIGHT) or previous (FMD_LEFT) page. Moving to the right
from the last page goes to the first page and vice versa. from the last page goes to the first page and vice versa.
When FMD_NONE is given, the current page index is checked for When FMD_NONE is given, the current page index is checked for
......
...@@ -44,7 +44,7 @@ class InsertPosition; ...@@ -44,7 +44,7 @@ class InsertPosition;
2.) Desired and minimal and maximal widths of page objects. 2.) Desired and minimal and maximal widths of page objects.
3.) Minimal and maximal number of columns. 3.) Minimal and maximal number of columns.
4.) Vertical and horizontal gaps between objects in adjacent columns. 4.) Vertical and horizontal gaps between objects in adjacent columns.
5.) Borders arround every page object. 5.) Borders around every page object.
6.) Vertical and horizontal borders between enclosing page and outer 6.) Vertical and horizontal borders between enclosing page and outer
page objects. page objects.
From these it calculates various output values: From these it calculates various output values:
......
...@@ -92,7 +92,7 @@ public: ...@@ -92,7 +92,7 @@ public:
model::SharedPageDescriptor GetPageDescriptor (void) const; model::SharedPageDescriptor GetPageDescriptor (void) const;
/** Return the border widths in the screen coordinate system of the /** Return the border widths in the screen coordinate system of the
border arround the page object. The border contains frames for border around the page object. The border contains frames for
selection, focus, the page name and number, and the indicator for selection, focus, the page name and number, and the indicator for
the page transition. the page transition.
@param pDevice @param pDevice
......
...@@ -389,7 +389,7 @@ void PreviewRenderer::PaintFrame (void) ...@@ -389,7 +389,7 @@ void PreviewRenderer::PaintFrame (void)
{ {
if (mbHasFrame) if (mbHasFrame)
{ {
// Paint a frame arround the preview. // Paint a frame around the preview.
Rectangle aPaintRectangle ( Rectangle aPaintRectangle (
Point(0,0), Point(0,0),
mpPreviewDevice->GetOutputSizePixel()); mpPreviewDevice->GetOutputSizePixel());
...@@ -508,7 +508,7 @@ Image PreviewRenderer::ScaleBitmap ( ...@@ -508,7 +508,7 @@ Image PreviewRenderer::ScaleBitmap (
mpPreviewDevice->SetMapMode (aMapMode); mpPreviewDevice->SetMapMode (aMapMode);
mpPreviewDevice->SetOutputSize (aFrameSize); mpPreviewDevice->SetOutputSize (aFrameSize);
// Paint a frame arround the preview. // Paint a frame around the preview.
mpPreviewDevice->SetLineColor (maFrameColor); mpPreviewDevice->SetLineColor (maFrameColor);
mpPreviewDevice->SetFillColor (); mpPreviewDevice->SetFillColor ();
mpPreviewDevice->DrawRect (Rectangle(Point(0,0), aFrameSize)); mpPreviewDevice->DrawRect (Rectangle(Point(0,0), aFrameSize));
......
...@@ -419,7 +419,7 @@ bool Outliner::SpellNextDocument (void) ...@@ -419,7 +419,7 @@ bool Outliner::SpellNextDocument (void)
// found the loop is left through a break. // found the loop is left through a break.
// It is the responsibility of the sd outliner object to correctly // It is the responsibility of the sd outliner object to correctly
// iterate over all text shapes, i.e. switch between views, wrap // iterate over all text shapes, i.e. switch between views, wrap
// arround at the end of the document, stop when all text shapes // around at the end of the document, stop when all text shapes
// have been examined exactly once. // have been examined exactly once.
bool bFoundNextSentence = false; bool bFoundNextSentence = false;
while ( ! bFoundNextSentence) while ( ! bFoundNextSentence)
...@@ -581,7 +581,7 @@ void Outliner::Initialize (bool bDirectionIsForward) ...@@ -581,7 +581,7 @@ void Outliner::Initialize (bool bDirectionIsForward)
} }
else if (bOldDirectionIsForward != mbDirectionIsForward) else if (bOldDirectionIsForward != mbDirectionIsForward)
{ {
// Requested iteration direction has changed. Turn arround the iterator. // Requested iteration direction has changed. Turn around the iterator.
maObjectIterator.Reverse(); maObjectIterator.Reverse();
if (bIsAtEnd) if (bIsAtEnd)
{ {
...@@ -726,7 +726,7 @@ bool Outliner::SearchAndReplaceOnce (void) ...@@ -726,7 +726,7 @@ bool Outliner::SearchAndReplaceOnce (void)
{ {
mpDrawDocument->GetDocSh()->SetWaitCursor(false); mpDrawDocument->GetDocSh()->SetWaitCursor(false);
// The following loop is executed more then once only when a // The following loop is executed more then once only when a
// wrap arround search is done. // wrap around search is done.
while (true) while (true)
{ {
int nResult = pOutlinerView->StartSearchAndReplace(*mpSearchItem); int nResult = pOutlinerView->StartSearchAndReplace(*mpSearchItem);
...@@ -1071,7 +1071,7 @@ void Outliner::EndOfSearch (void) ...@@ -1071,7 +1071,7 @@ void Outliner::EndOfSearch (void)
ShowEndOfSearchDialog (); ShowEndOfSearchDialog ();
mbEndOfSearch = true; mbEndOfSearch = true;
} }
// Ask the user whether to wrap arround and continue the search or // Ask the user whether to wrap around and continue the search or
// to terminate. // to terminate.
else if (meMode==TEXT_CONVERSION || ShowWrapArroundDialog ()) else if (meMode==TEXT_CONVERSION || ShowWrapArroundDialog ())
{ {
...@@ -1090,7 +1090,7 @@ void Outliner::EndOfSearch (void) ...@@ -1090,7 +1090,7 @@ void Outliner::EndOfSearch (void)
} }
else else
{ {
// No wrap arround. // No wrap around.
mbEndOfSearch = true; mbEndOfSearch = true;
} }
} }
...@@ -1155,7 +1155,7 @@ bool Outliner::ShowWrapArroundDialog (void) ...@@ -1155,7 +1155,7 @@ bool Outliner::ShowWrapArroundDialog (void)
? STR_SAR_WRAP_BACKWARD ? STR_SAR_WRAP_BACKWARD
: STR_SAR_WRAP_BACKWARD_DRAW; : STR_SAR_WRAP_BACKWARD_DRAW;
// Pop up question box that asks the user whether to wrap arround. // Pop up question box that asks the user whether to wrap around.
// The dialog is made modal with respect to the whole application. // The dialog is made modal with respect to the whole application.
QueryBox aQuestionBox ( QueryBox aQuestionBox (
NULL, NULL,
...@@ -1454,7 +1454,7 @@ bool Outliner::HandleFailedSearch (void) ...@@ -1454,7 +1454,7 @@ bool Outliner::HandleFailedSearch (void)
if (pOutlinerView != NULL && mpSearchItem != NULL) if (pOutlinerView != NULL && mpSearchItem != NULL)
{ {
// Detect whether there is/may be a prior match. If there is then // Detect whether there is/may be a prior match. If there is then
// ask the user whether to wrap arround. Otherwise tell the user // ask the user whether to wrap around. Otherwise tell the user
// that there is no match. // that there is no match.
if (HasNoPreviousMatch ()) if (HasNoPreviousMatch ())
{ {
...@@ -1466,7 +1466,7 @@ bool Outliner::HandleFailedSearch (void) ...@@ -1466,7 +1466,7 @@ bool Outliner::HandleFailedSearch (void)
else else
{ {
// No further matches found. Ask the user whether to wrap // No further matches found. Ask the user whether to wrap
// arround and start again. // around and start again.
bContinueSearch = ShowWrapArroundDialog (); bContinueSearch = ShowWrapArroundDialog ();
} }
} }
......
...@@ -661,7 +661,7 @@ static Writer& OutHTML_Section( Writer& rWrt, const SwSectionNode& rSectNd ) ...@@ -661,7 +661,7 @@ static Writer& OutHTML_Section( Writer& rWrt, const SwSectionNode& rSectNd )
if( lcl_html_IsMultiColEnd( rHTMLWrt, nSectEndIdx-1 ) ) if( lcl_html_IsMultiColEnd( rHTMLWrt, nSectEndIdx-1 ) )
bEndTag = false; bEndTag = false;
//.is there a columned section arround this one? //.is there a columned section around this one?
const SwStartNode *pSttNd = rSectNd.StartOfSectionNode(); const SwStartNode *pSttNd = rSectNd.StartOfSectionNode();
if( pSttNd ) if( pSttNd )
{ {
......
...@@ -233,7 +233,7 @@ class Canvas ...@@ -233,7 +233,7 @@ class Canvas
mnVOffset, mnVOffset,
mnScale*aScreenSize.getWidth(), mnScale*aScreenSize.getWidth(),
mnScale*aScreenSize.getHeight()); mnScale*aScreenSize.getHeight());
// Fill the screen rectangle and draw a frame arround it to increase its visibility. // Fill the screen rectangle and draw a frame around it to increase its visibility.
g2.setColor (new Color (250,240,230)); g2.setColor (new Color (250,240,230));
g2.fill (aScreen); g2.fill (aScreen);
g2.setColor (Color.BLACK); g2.setColor (Color.BLACK);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment