Kaydet (Commit) 11ca1f86 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Jens Carl

Fix typos

Change-Id: I40b3a46d46f0586d086bdbe41876c088f8c1cb58
Reviewed-on: https://gerrit.libreoffice.org/45007Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJens Carl <j.carl43@gmx.de>
üst 1b84f797
...@@ -344,7 +344,7 @@ void ProgressBar::impl_paint ( sal_Int32 nX, sal_Int32 nY, const Reference< XGra ...@@ -344,7 +344,7 @@ void ProgressBar::impl_paint ( sal_Int32 nX, sal_Int32 nY, const Reference< XGra
nBlockStart += m_aBlockSize.Width; nBlockStart += m_aBlockSize.Width;
} }
} }
// draw vertikal progressbar // draw vertical progressbar
// decision in "recalcRange()" // decision in "recalcRange()"
else else
{ {
......
...@@ -135,7 +135,7 @@ protected: ...@@ -135,7 +135,7 @@ protected:
private: private:
bool m_bHorizontal; // orientation for steps [true=horizontal/false=vertikal] bool m_bHorizontal; // orientation for steps [true=horizontal/false=vertical]
css::awt::Size m_aBlockSize; // width and height of a block [>=0,0] css::awt::Size m_aBlockSize; // width and height of a block [>=0,0]
sal_Int32 m_nForegroundColor; // (alpha,r,g,b) sal_Int32 m_nForegroundColor; // (alpha,r,g,b)
sal_Int32 m_nBackgroundColor; // (alpha,r,g,b) sal_Int32 m_nBackgroundColor; // (alpha,r,g,b)
......
...@@ -144,7 +144,7 @@ namespace dbaui ...@@ -144,7 +144,7 @@ namespace dbaui
TTableWindowData::value_type createTableWindowData(const OUString& _sComposedName,const OUString& _sTableName,const OUString& _sWindowName); TTableWindowData::value_type createTableWindowData(const OUString& _sComposedName,const OUString& _sTableName,const OUString& _sWindowName);
// ask the user if the design should be saved when it is modified // ask the user if the design should be saved when it is modified
virtual short saveModified() = 0; virtual short saveModified() = 0;
// called when the original state should be reseted (first time load) // called when the original state should be reset (first time load)
virtual void reset() = 0; virtual void reset() = 0;
virtual void describeSupportedFeatures() override; virtual void describeSupportedFeatures() override;
......
...@@ -107,7 +107,7 @@ private: ...@@ -107,7 +107,7 @@ private:
@param rLastChance @param rLastChance
the internal name of a "suggested type" ... (see before) the internal name of a "suggested type" ... (see before)
Note: it will be reseted to an empty string every time. So Note: it will be reset to an empty string every time. So
a set value of "rLastChance" can be detected outside very easy. a set value of "rLastChance" can be detected outside very easy.
@param rUsedDetectors @param rUsedDetectors
......
...@@ -89,7 +89,7 @@ namespace connectivity ...@@ -89,7 +89,7 @@ namespace connectivity
// finds out, if we have an international keyword (only ASCII allowed) // finds out, if we have an international keyword (only ASCII allowed)
virtual InternationalKeyCode getIntlKeyCode(const OString& rToken) const = 0; virtual InternationalKeyCode getIntlKeyCode(const OString& rToken) const = 0;
/** get's a locale instance which should be used when parsing in the context specified by this instance /** gets a locale instance which should be used when parsing in the context specified by this instance
<p>if this is not overridden by derived classes, it returns the static default locale.</p> <p>if this is not overridden by derived classes, it returns the static default locale.</p>
*/ */
virtual css::lang::Locale getPreferredLocale( ) const = 0; virtual css::lang::Locale getPreferredLocale( ) const = 0;
......
...@@ -82,7 +82,7 @@ namespace connectivity ...@@ -82,7 +82,7 @@ namespace connectivity
// determines the default international setting // determines the default international setting
static const css::lang::Locale& getDefaultLocale(); static const css::lang::Locale& getDefaultLocale();
/** get's a locale instance which should be used when parsing in the context specified by this instance /** gets a locale instance which should be used when parsing in the context specified by this instance
<p>if this is not overridden by derived classes, it returns the static default locale.</p> <p>if this is not overridden by derived classes, it returns the static default locale.</p>
*/ */
virtual css::lang::Locale getPreferredLocale( ) const override; virtual css::lang::Locale getPreferredLocale( ) const override;
......
...@@ -114,7 +114,7 @@ namespace svt ...@@ -114,7 +114,7 @@ namespace svt
virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override; virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) override;
protected: protected:
/** create the concrete dialog instance. note that m_aMutex is not locked when this method get's called, /** create the concrete dialog instance. Note that m_aMutex is not locked when this method get called,
but the application-wide solar mutex is (to guard the not thread-safe ctor of the dialog). but the application-wide solar mutex is (to guard the not thread-safe ctor of the dialog).
@param pParent the parent window for the new dialog @param pParent the parent window for the new dialog
*/ */
......
...@@ -49,7 +49,7 @@ namespace svxform ...@@ -49,7 +49,7 @@ namespace svxform
// finds out, if we have an international keyword (only ASCII allowed) // finds out, if we have an international keyword (only ASCII allowed)
virtual InternationalKeyCode getIntlKeyCode(const OString& rToken) const override; virtual InternationalKeyCode getIntlKeyCode(const OString& rToken) const override;
/** get's a locale instance which should be used when parsing in the context specified by this instance /** gets a locale instance which should be used when parsing in the context specified by this instance
<p>if this is not overridden by derived classes, it returns the static default locale.</p> <p>if this is not overridden by derived classes, it returns the static default locale.</p>
*/ */
virtual css::lang::Locale getPreferredLocale( ) const override; virtual css::lang::Locale getPreferredLocale( ) const override;
......
...@@ -376,7 +376,7 @@ public class DisableCommandsTest { ...@@ -376,7 +376,7 @@ public class DisableCommandsTest {
* reset URL so it can be reused * reset URL so it can be reused
* *
* @param aURL * @param aURL
* the URL that should be reseted * the URL that should be reset
*/ */
private static void resetURL( com.sun.star.util.URL aURL ) private static void resetURL( com.sun.star.util.URL aURL )
{ {
......
...@@ -120,7 +120,7 @@ namespace rtl_str ...@@ -120,7 +120,7 @@ namespace rtl_str
rtl::OString aStr2 = "LINE MUST BE EQUAL."; rtl::OString aStr2 = "LINE MUST BE EQUAL.";
sal_Int32 nValue = rtl_str_compareIgnoreAsciiCase( aStr1.getStr(), aStr2.getStr()); sal_Int32 nValue = rtl_str_compareIgnoreAsciiCase( aStr1.getStr(), aStr2.getStr());
CPPUNIT_ASSERT_MESSAGE("compare failed, strings are equal (if case insensitve).", nValue == 0); CPPUNIT_ASSERT_MESSAGE("compare failed, strings are equal (if case insensitive).", nValue == 0);
} }
void compare_003() void compare_003()
...@@ -188,7 +188,7 @@ namespace rtl_str ...@@ -188,7 +188,7 @@ namespace rtl_str
sal_Int32 nValue = rtl_str_shortenedCompareIgnoreAsciiCase_WithLength( aStr1.getStr(), aStr1.getLength(), sal_Int32 nValue = rtl_str_shortenedCompareIgnoreAsciiCase_WithLength( aStr1.getStr(), aStr1.getLength(),
aStr2.getStr(), aStr2.getLength(), aStr2.getStr(), aStr2.getLength(),
aStr1.getLength()); aStr1.getLength());
CPPUNIT_ASSERT_MESSAGE("compare failed, strings are equal (if case insensitve).", nValue == 0); CPPUNIT_ASSERT_MESSAGE("compare failed, strings are equal (if case insensitive).", nValue == 0);
} }
void compare_003() void compare_003()
......
...@@ -131,7 +131,7 @@ namespace rtl_ustr ...@@ -131,7 +131,7 @@ namespace rtl_ustr
rtl::OUString aStr2("LINE MUST BE EQUAL."); rtl::OUString aStr2("LINE MUST BE EQUAL.");
sal_Int32 nValue = rtl_ustr_compareIgnoreAsciiCase( aStr1.getStr(), aStr2.getStr()); sal_Int32 nValue = rtl_ustr_compareIgnoreAsciiCase( aStr1.getStr(), aStr2.getStr());
CPPUNIT_ASSERT_MESSAGE("compare failed, strings are equal (if case insensitve).", nValue == 0); CPPUNIT_ASSERT_MESSAGE("compare failed, strings are equal (if case insensitive).", nValue == 0);
} }
void compare_003() void compare_003()
...@@ -199,7 +199,7 @@ namespace rtl_ustr ...@@ -199,7 +199,7 @@ namespace rtl_ustr
sal_Int32 nValue = rtl_ustr_shortenedCompareIgnoreAsciiCase_WithLength( aStr1.getStr(), aStr1.getLength(), sal_Int32 nValue = rtl_ustr_shortenedCompareIgnoreAsciiCase_WithLength( aStr1.getStr(), aStr1.getLength(),
aStr2.getStr(), aStr2.getLength(), aStr2.getStr(), aStr2.getLength(),
aStr1.getLength()); aStr1.getLength());
CPPUNIT_ASSERT_MESSAGE("compare failed, strings are equal (if case insensitve).", nValue == 0); CPPUNIT_ASSERT_MESSAGE("compare failed, strings are equal (if case insensitive).", nValue == 0);
} }
void compare_003() void compare_003()
...@@ -1187,7 +1187,7 @@ namespace rtl_ustr ...@@ -1187,7 +1187,7 @@ namespace rtl_ustr
rtl::OString sStr2 = "LINE MUST BE EQUAL, WHEN IGNORE CASE."; rtl::OString sStr2 = "LINE MUST BE EQUAL, WHEN IGNORE CASE.";
sal_Int32 nValue = rtl_ustr_ascii_compareIgnoreAsciiCase( suStr1.getStr(), sStr2.getStr()); sal_Int32 nValue = rtl_ustr_ascii_compareIgnoreAsciiCase( suStr1.getStr(), sStr2.getStr());
CPPUNIT_ASSERT_MESSAGE("compare failed, strings are equal (if case insensitve).", nValue == 0); CPPUNIT_ASSERT_MESSAGE("compare failed, strings are equal (if case insensitive).", nValue == 0);
} }
void ascii_compareIgnoreAsciiCase_003() void ascii_compareIgnoreAsciiCase_003()
...@@ -1284,7 +1284,7 @@ namespace rtl_ustr ...@@ -1284,7 +1284,7 @@ namespace rtl_ustr
rtl::OString sStr2 = "LINE MUST BE EQUAL, WHEN IGNORE CASE."; rtl::OString sStr2 = "LINE MUST BE EQUAL, WHEN IGNORE CASE.";
sal_Int32 nValue = rtl_ustr_ascii_compareIgnoreAsciiCase( suStr1.getStr(), sStr2.getStr()); sal_Int32 nValue = rtl_ustr_ascii_compareIgnoreAsciiCase( suStr1.getStr(), sStr2.getStr());
CPPUNIT_ASSERT_MESSAGE("compare failed, strings are equal (if case insensitve).", nValue == 0); CPPUNIT_ASSERT_MESSAGE("compare failed, strings are equal (if case insensitive).", nValue == 0);
} }
void ascii_compareIgnoreAsciiCase_003() void ascii_compareIgnoreAsciiCase_003()
......
...@@ -83,7 +83,7 @@ public: ...@@ -83,7 +83,7 @@ public:
/* /*
* This class is used to store 'redline' data regarding formatting changes, * This class is used to store 'redline' data regarding formatting changes,
* e.g. - a text portion *was* italic and now is not italic, * e.g. - a text portion *was* italic and now is not italic,
* e.g. - a text portion got a hightlight to it * e.g. - a text portion got a highlight to it
* *
* The way the information is stored is in an 'SfxItemSet' that holds all * The way the information is stored is in an 'SfxItemSet' that holds all
* the WhichIds with their values. * the WhichIds with their values.
......
...@@ -1169,7 +1169,7 @@ void SwTextPaintInfo::DrawBackBrush( const SwLinePortion &rPor ) const ...@@ -1169,7 +1169,7 @@ void SwTextPaintInfo::DrawBackBrush( const SwLinePortion &rPor ) const
aFillColor = *m_pFnt->GetBackColor(); aFillColor = *m_pFnt->GetBackColor();
} }
// tdf#104349 do not hightlight portions of space chars before end of line if the compatibility option is enabled // tdf#104349 do not highlight portions of space chars before end of line if the compatibility option is enabled
// for LTR mode only // for LTR mode only
if ( !GetTextFrame()->IsRightToLeft() ) if ( !GetTextFrame()->IsRightToLeft() )
{ {
......
...@@ -492,7 +492,7 @@ void ControlModelContainerBase::replaceByName( const OUString& aName, const Any& ...@@ -492,7 +492,7 @@ void ControlModelContainerBase::replaceByName( const OUString& aName, const Any&
Reference< XNameContainer > xAllChildren( getPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ) ), UNO_QUERY ); Reference< XNameContainer > xAllChildren( getPropertyValue( GetPropertyName( BASEPROPERTY_USERFORMCONTAINEES ) ), UNO_QUERY );
if ( xAllChildren.is() ) if ( xAllChildren.is() )
{ {
// remove old control (and children) from global list of containees // remove old control (and children) from global list of containes
updateUserFormChildren( xAllChildren, aName, Remove, uno::Reference< XControlModel >() ); updateUserFormChildren( xAllChildren, aName, Remove, uno::Reference< XControlModel >() );
// Add new control (and containees if they exist) // Add new control (and containees if they exist)
updateUserFormChildren( xAllChildren, aName, Insert, xNewModel ); updateUserFormChildren( xAllChildren, aName, Insert, xNewModel );
......
...@@ -199,7 +199,7 @@ namespace xmloff ...@@ -199,7 +199,7 @@ namespace xmloff
*/ */
void exportListSourceAsElements(); void exportListSourceAsElements();
/** get's a Sequence&lt; sal_Int16 &gt; property value as set of sal_Int16's /** gets a Sequence&lt; sal_Int16 &gt; property value as set of sal_Int16's
@param _rPropertyName @param _rPropertyName
the property name to use the property name to use
@param _rOut @param _rOut
......
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