typo: allways -> always

Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
This commit is contained in:
Andras Timar 2013-02-20 17:24:33 +01:00
parent 2830020960
commit b37a07f2da
29 changed files with 34 additions and 34 deletions

View File

@ -31,7 +31,7 @@ typedef ::cppu::ImplHelper1<
/** This class represents non editable text fields. The object passed to
the constructor is expected to be a list (a <type>ListBox</type> to be
more specific). From this allways the selected item is token to be made
more specific). From this always the selected item is token to be made
accessible by this class. When the selected item changes then also the
exported text changes.
*/

View File

@ -283,7 +283,7 @@ Sequence< sal_Int8 > SAL_CALL TextHtmlToHTMLFormat( Sequence< sal_Int8 >& aTextH
sal_uInt32 lHTMLFmtHdr = rtl_str_getLength( aHTMLFmtHdr );
// the office allways writes the start
// the office always writes the start
// and end html tag in upper cases and
// without spaces
// both tags don't allow parameters
@ -356,7 +356,7 @@ std::string GetHtmlFormatHeader(size_t startHtml, size_t endHtml, size_t startFr
return htmlHeader.str();
}
// the office allways writes the start and end html tag in upper cases and
// the office always writes the start and end html tag in upper cases and
// without spaces both tags don't allow parameters
const std::string TAG_HTML = std::string("<HTML>");
const std::string TAG_END_HTML = std::string("</HTML>");

View File

@ -881,7 +881,7 @@ class ServiceManagerFactory implements XServiceInfo, XSingleComponentFactory, X
* because there is no the <code>ServiceManager</code> has no constructor with
* arguments.
* <p>
* @return null - allways throws an exception
* @return null - always throws an exception
* @param aArguments arguments for new instance.
* @see com.sun.star.lang.XSingleServiceFactory
*/

View File

@ -125,7 +125,7 @@ uno::Reference< uno::XInterface > SAL_CALL OStorageFactory::createInstanceWithAr
OSL_FAIL( "Wrong second argument!\n" );
throw lang::IllegalArgumentException(); // TODO:
}
// it's allways possible to read written storage in this implementation
// it's always possible to read written storage in this implementation
nStorageMode |= embed::ElementModes::READ;
}

View File

@ -2612,7 +2612,7 @@ uno::Reference< embed::XStorage > SAL_CALL OStorage::openStorageElement(
&& !( nStorageMode & embed::ElementModes::WRITE ) )
throw io::IOException( OSL_LOG_PREFIX, uno::Reference< uno::XInterface >() ); // TODO: access denied
// it's allways possible to read written storage in this implementation
// it's always possible to read written storage in this implementation
nStorageMode |= embed::ElementModes::READ;
uno::Reference< embed::XStorage > xResult;
@ -2924,7 +2924,7 @@ void SAL_CALL OStorage::copyStorageElementLastCommitTo(
if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML && aStorName == "_rels" )
throw lang::IllegalArgumentException( OSL_LOG_PREFIX, uno::Reference< uno::XInterface >(), 1 ); // unacceptable storage name
// it's allways possible to read written storage in this implementation
// it's always possible to read written storage in this implementation
sal_Int32 nStorageMode = embed::ElementModes::READ;
try

View File

@ -1465,7 +1465,7 @@ sal_uInt16 SdDrawDocument::InsertPageSet (
String aNotesPageName = sNotesPageName;
// Gather some information about the standard page and the notes page
// that are to be inserted. This makes sure that there is allways one
// that are to be inserted. This makes sure that there is always one
// standard page followed by one notes page.
if (ePageKind == PK_NOTES)
{

View File

@ -59,7 +59,7 @@ public:
virtual ~GraphicViewShell (void);
/** This method is overloaded in order to have the layer mode allways
/** This method is overloaded in order to have the layer mode always
active.
*/
virtual void ChangeEditMode (EditMode eMode, bool bIsLayerModeActive);

View File

@ -1237,7 +1237,7 @@ bool NormalModeHandler::ProcessButtonDownEvent (
case BUTTON_DOWN | LEFT_BUTTON | DOUBLE_CLICK | OVER_SELECTED_PAGE:
case BUTTON_DOWN | LEFT_BUTTON | DOUBLE_CLICK | OVER_UNSELECTED_PAGE:
// A double click allways shows the selected slide in the center
// A double click always shows the selected slide in the center
// pane in an edit view.
SetCurrentPage(rDescriptor.mpHitDescriptor);
SwitchView(rDescriptor.mpHitDescriptor);

View File

@ -49,7 +49,7 @@ class SlideSorterController;
has to be done explicitly by calling the
CurrentSlideManager::SetCurrentSlide() method.
Indices of pages relate allways to the number of all pages in the model
Indices of pages relate always to the number of all pages in the model
(as returned by GetPageCount()) not just the selected pages.
*/
class PageSelector : private ::boost::noncopyable

View File

@ -85,7 +85,7 @@ public:
virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& aListener ) throw (::com::sun::star::uno::RuntimeException);
/** Not implemented. Allways throws an exception.
/** Not implemented. Always throws an exception.
@raises NoSupportException.
*/
virtual void SAL_CALL setParent( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& Parent ) throw (::com::sun::star::lang::NoSupportException, ::com::sun::star::uno::RuntimeException);

View File

@ -735,7 +735,7 @@ void DrawViewShell::GetStatusBarState(SfxItemSet& rSet)
// Display of current page and layer.
if( SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_STATUS_PAGE ) )
{
// Allways show the slide/page number.
// Always show the slide/page number.
OUString aOUString = SD_RESSTR(STR_SD_PAGE);
aOUString += " ";
aOUString += OUString::valueOf( sal_Int32(maTabControl.GetCurPageId()) );

View File

@ -78,7 +78,7 @@ void GraphicViewShell::ChangeEditMode (
bool )
{
// There is no page tab that could be shown instead of the layer tab.
// Therefore we have it allways visible regardless of what the caller
// Therefore we have it always visible regardless of what the caller
// said. (We have to change the callers behaviour, of course.)
DrawViewShell::ChangeEditMode (eMode, true);
}

View File

@ -926,7 +926,7 @@ void Window::DataChanged( const DataChangedEvent& rDCEvt )
(rDCEvt.GetFlags() & SETTINGS_STYLE) )
{
// When the screen zoom factor has changed then reset the zoom
// factor of the frame to allways display the whole page.
// factor of the frame to always display the whole page.
const AllSettings* pOldSettings = rDCEvt.GetOldSettings ();
const AllSettings& rNewSettings = GetSettings ();
if (pOldSettings)

View File

@ -114,7 +114,7 @@ uno::Reference< uno::XInterface > SAL_CALL FSStorageFactory::createInstanceWithA
" css.embed.ElementModes"),
static_cast< OWeakObject * >(this), -1);
}
// it's allways possible to read written storage in this implementation
// it's always possible to read written storage in this implementation
nStorageMode |= embed::ElementModes::READ;
}

View File

@ -725,7 +725,7 @@ ValueSetItem* ValueSetAcc::getItem (sal_uInt16 nIndex) const
if (HasNoneField())
{
if (nIndex == 0)
// When present the first item is the then allways visible none field.
// When present the first item is the then always visible none field.
pItem = mpParent->ImplGetItem (VALUESET_ITEM_NONEITEM);
else
// Shift down the index to compensate for the none field.

View File

@ -360,7 +360,7 @@ void SvxFontWorkDialog::SetStyle_Impl(const XFormTextStyleItem* pItem)
}
aTbxStyle.Enable();
// Make sure that there is allways exactly one checked toolbox item.
// Make sure that there is always exactly one checked toolbox item.
if ( pItem->GetValue() == XFT_NONE )
{
aTbxStyle.CheckItem(TBI_STYLE_ROTATE, sal_False);

View File

@ -247,7 +247,7 @@ class SW_DLLPUBLIC SwView: public SfxViewShell
sal_Bool bCenterCrsr : 1,
bTopCrsr : 1,
bAllwaysShowSel : 1,
bAlwaysShowSel : 1,
bTabColFromDoc : 1,
bNumIndentFromDoc : 1, // #i23726#
bTabRowFromDoc : 1,
@ -334,7 +334,7 @@ class SW_DLLPUBLIC SwView: public SfxViewShell
SW_DLLPRIVATE void HyphStart( SvxSpellArea eSpell );
SW_DLLPRIVATE sal_Bool CheckSpecialCntnt();
SW_DLLPRIVATE void SpellKontext(sal_Bool bOn = sal_True)
{ bCenterCrsr = bOn; bAllwaysShowSel = bOn; }
{ bCenterCrsr = bOn; bAlwaysShowSel = bOn; }
// methods for printing
SW_DLLPRIVATE virtual SfxPrinter* GetPrinter( sal_Bool bCreate = sal_False );

View File

@ -760,7 +760,7 @@ SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh )
RTL_LOGFILE_CONTEXT_AUTHOR( aLog, "SW", "JP93722", "SwView::SwView" );
bCenterCrsr = bTopCrsr = bAllwaysShowSel = bTabColFromDoc = bTabRowFromDoc =
bCenterCrsr = bTopCrsr = bAlwaysShowSel = bTabColFromDoc = bTabRowFromDoc =
bSetTabColFromDoc = bSetTabRowFromDoc = bAttrChgNotified = bAttrChgNotifiedWithRegistrations =
bVerbsActive = bDrawRotate = bInOuterResizePixel = bInInnerResizePixel =
bPasteState = bPasteSpecialState = bMakeSelectionVisible = sal_False;

View File

@ -93,7 +93,7 @@ void SAL_CALL SwVbaFormField::setResult( const rtl::OUString& result ) throw ( u
sal_Bool SAL_CALL SwVbaFormField::getEnabled() throw ( uno::RuntimeException )
{
//allways return true
//always return true
return sal_True;
}

View File

@ -91,7 +91,7 @@ sal_Bool HeaderFooterHelper::isFirstPageHeader( const uno::Reference< frame::XMo
if( isHeader( xModel ) )
{
uno::Reference< text::XPageCursor > xPageCursor( word::getXTextViewCursor( xModel ), uno::UNO_QUERY_THROW );
// FIXME: getPage allways returns 1
// FIXME: getPage always returns 1
sal_Int32 nPage = xPageCursor->getPage();
return nPage == FIRST_PAGE;
}

View File

@ -34,7 +34,7 @@ public:
EmptyFontDescriptor()
{
// Not all enums are initialized correctly in FontDescriptor-CTOR because
// they are set to the first enum value, this is not allways the default value.
// they are set to the first enum value, this is not always the default value.
Slant = ::com::sun::star::awt::FontSlant_DONTKNOW;
Underline = ::com::sun::star::awt::FontUnderline::DONTKNOW;
Strikeout = ::com::sun::star::awt::FontStrikeout::DONTKNOW;

View File

@ -220,7 +220,7 @@ int TextSearch::SearchFrwrd( const String & rStr, xub_StrLen* pStart,
{
nRet = 1;
// the XTextsearch returns in startOffset the higher position
// and the endposition is allways exclusive.
// and the endposition is always exclusive.
// The caller of this function will have in startPos the
// lower pos. and end
*pStart = (xub_StrLen)aRet.startOffset[ 0 ];
@ -252,7 +252,7 @@ sal_Bool TextSearch::SearchForward( const ::rtl::OUString &rStr,
{
nRet = sal_True;
// the XTextsearch returns in startOffset the higher position
// and the endposition is allways exclusive.
// and the endposition is always exclusive.
// The caller of this function will have in startPos the
// lower pos. and end
*pStart = aRet.startOffset[ 0 ];
@ -284,7 +284,7 @@ int TextSearch::SearchBkwrd( const String & rStr, xub_StrLen* pStart,
{
nRet = 1;
// the XTextsearch returns in startOffset the higher position
// and the endposition is allways exclusive.
// and the endposition is always exclusive.
// The caller of this function will have in startPos the
// lower pos. and end
*pEnde = (xub_StrLen)aRet.startOffset[ 0 ];

View File

@ -76,7 +76,7 @@ ScVbaCommandBar::setName( const OUString& _name ) throw (uno::RuntimeException)
::sal_Bool SAL_CALL
ScVbaCommandBar::getVisible() throw (uno::RuntimeException)
{
// menu bar is allways visible in OOo
// menu bar is always visible in OOo
if( m_bIsMenu )
return sal_True;

View File

@ -71,7 +71,7 @@ std::string GetHtmlFormatHeader(size_t startHtml, size_t endHtml, size_t startFr
} // namespace private
// the office allways writes the start and end html tag in upper cases and
// the office always writes the start and end html tag in upper cases and
// without spaces both tags don't allow parameters
const std::string TAG_HTML = std::string("<HTML>");
const std::string TAG_END_HTML = std::string("</HTML>");

View File

@ -661,7 +661,7 @@ static int parseCharWidths( FileInputStream* fp, register int* cwi)
/*
* number of char metrics is almost allways inaccurate, so be gentle and try to
* number of char metrics is almost always inaccurate, so be gentle and try to
* adapt our internal storage by adjusting the allocated list
*/

View File

@ -208,7 +208,7 @@ sal_GetServerVendor( Display *p_display )
const vendor_t p_vendorlist[] = {
{ vendor_sun, "Sun Microsystems, Inc.", 10 },
// allways the last entry: vendor_none to indicate eol
// always the last entry: vendor_none to indicate eol
{ vendor_none, NULL, 0 },
};

View File

@ -318,7 +318,7 @@ GC X11SalGraphics::SelectBrush()
}
else
{
// Bug in Sun Solaris 2.5.1, XFillPolygon doesn't allways reflect
// Bug in Sun Solaris 2.5.1, XFillPolygon doesn't always reflect
// changes of the tile. PROPERTY_BUG_Tile doesn't fix this !
if (GetDisplay()->GetProperties() & PROPERTY_BUG_FillPolygon_Tile)
XSetFillStyle ( pDisplay, pBrushGC_, FillSolid );

View File

@ -47,7 +47,7 @@
// error numbers, listed by error class
// Within each class, errors should be numbered consecutively. Please
// allways add to error code below the appropriate comment.
// always add to error code below the appropriate comment.
// I/O errors:

View File

@ -135,7 +135,7 @@ void XMLShapeExport::ImpExportNewTrans_DecomposeAndRefPoint(const ::basegfx::B2D
void XMLShapeExport::ImpExportNewTrans_FeaturesAndWrite(::basegfx::B2DTuple& rTRScale, double fTRShear,
double fTRRotate, ::basegfx::B2DTuple& rTRTranslate, const sal_Int32 nFeatures)
{
// allways write Size (rTRScale) since this statement carries the union
// always write Size (rTRScale) since this statement carries the union
// of the object
OUString aStr;
OUStringBuffer sStringBuffer;