Kaydet (Commit) 638b6d7e authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Samuel Mehrbrodt

Fix typos

Change-Id: I8e9c6c72c89411d8de04e5edd9317cd54f7c472a
Reviewed-on: https://gerrit.libreoffice.org/18958Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst 9956b99e
...@@ -264,7 +264,7 @@ public: ...@@ -264,7 +264,7 @@ public:
virtual void NbcMove(const Size& aSize) SAL_OVERRIDE; virtual void NbcMove(const Size& aSize) SAL_OVERRIDE;
virtual void NbcResize(const Point& rRefPnt, const Fraction& aXFact, const Fraction& aYFact) SAL_OVERRIDE; virtual void NbcResize(const Point& rRefPnt, const Fraction& aXFact, const Fraction& aYFact) SAL_OVERRIDE;
// #i54102# added rotate, mirrorn and shear support // #i54102# added rotate, mirror and shear support
virtual void NbcRotate(const Point& rRef, long nAngle, double sn, double cs) SAL_OVERRIDE; virtual void NbcRotate(const Point& rRef, long nAngle, double sn, double cs) SAL_OVERRIDE;
virtual void NbcMirror(const Point& rRef1, const Point& rRef2) SAL_OVERRIDE; virtual void NbcMirror(const Point& rRef1, const Point& rRef2) SAL_OVERRIDE;
virtual void NbcShear(const Point& rRef, long nAngle, double tn, bool bVShear) SAL_OVERRIDE; virtual void NbcShear(const Point& rRef, long nAngle, double tn, bool bVShear) SAL_OVERRIDE;
......
...@@ -170,7 +170,7 @@ public: ...@@ -170,7 +170,7 @@ public:
bool IsDragHelpLine() const { return (0L != mpHelpLineOverlay); } bool IsDragHelpLine() const { return (0L != mpHelpLineOverlay); }
// SnapAngle is for angles in circle, RotateDragging, ... // SnapAngle is for angles in circle, RotateDragging, ...
// The snapping of an angle is beared down, if it is swiched off // The snapping of an angle is beared down, if it is switched off
// with SetAngleSnapEnabled(sal_False) // with SetAngleSnapEnabled(sal_False)
// The snapping angles is independent of snapping coordinates // The snapping angles is independent of snapping coordinates
// and so independent of the attitude IsSnapEnabled() // and so independent of the attitude IsSnapEnabled()
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
// Which is converted, by this: // Which is converted, by this:
// double nSin=sin(nAngle*nPi180); // double nSin=sin(nAngle*nPi180);
// //
// To convert it back, we use divison. // To convert it back, we use division.
const double nPi=3.14159265358979323846; const double nPi=3.14159265358979323846;
const double nPi180=0.000174532925199432957692222; // If we have too few digits, we get tan(4500*nPi180)!=1.0 const double nPi180=0.000174532925199432957692222; // If we have too few digits, we get tan(4500*nPi180)!=1.0
......
...@@ -50,7 +50,7 @@ public: ...@@ -50,7 +50,7 @@ public:
// E.g. for Clipboard, Drag'n'Drop, ... // E.g. for Clipboard, Drag'n'Drop, ...
// Add all marked objects to a metafile. // Add all marked objects to a metafile.
// FIXME: This is known to be somewhat buggy still (Offset..., // FIXME: This is known to be somewhat buggy still (Offset...,
// foreign graphics objects (SdrGrafObj), virutal object // foreign graphics objects (SdrGrafObj), virtual object
// copies (SdrVirtObj) with anchor position <>(0,0)). // copies (SdrVirtObj) with anchor position <>(0,0)).
GDIMetaFile GetMarkedObjMetaFile(bool bNoVDevIfOneMtfMarked = false) const; GDIMetaFile GetMarkedObjMetaFile(bool bNoVDevIfOneMtfMarked = false) const;
......
...@@ -42,7 +42,7 @@ public: ...@@ -42,7 +42,7 @@ public:
virtual void ExecuteUnderflow(SdrOutliner *); virtual void ExecuteUnderflow(SdrOutliner *);
// Uses two outliners: one for the non-overfl text and one for overflowing (might be the same) // Uses two outliners: one for the non-overflow text and one for overflowing (might be the same)
virtual void ExecuteOverflow(SdrOutliner *, SdrOutliner *); virtual void ExecuteOverflow(SdrOutliner *, SdrOutliner *);
bool IsOverflow() const; bool IsOverflow() const;
......
...@@ -47,7 +47,7 @@ enum class StreamMode { ...@@ -47,7 +47,7 @@ enum class StreamMode {
READ = 0x0001, ///< allow read accesses READ = 0x0001, ///< allow read accesses
WRITE = 0x0002, ///< allow write accesses WRITE = 0x0002, ///< allow write accesses
// file i/o // file i/o
NOCREATE = 0x0004, ///< 1 == Dont create file NOCREATE = 0x0004, ///< 1 == Don't create file
TRUNC = 0x0008, ///< Truncate _existing_ file to zero length TRUNC = 0x0008, ///< Truncate _existing_ file to zero length
COPY_ON_SYMLINK = 0x0010, ///< copy-on-write for symlinks (Unix) COPY_ON_SYMLINK = 0x0010, ///< copy-on-write for symlinks (Unix)
// sharing options // sharing options
......
...@@ -235,7 +235,7 @@ protected: ...@@ -235,7 +235,7 @@ protected:
* of this method will replace the content identifier of the content and * of this method will replace the content identifier of the content and
* propagate the appropriate ContentEvent( EXCHANGED ). * propagate the appropriate ContentEvent( EXCHANGED ).
* *
* @param rNewId is the new content identifier for the contant. * @param rNewId is the new content identifier for the content.
* @return a success indicator. * @return a success indicator.
*/ */
bool exchange( const com::sun::star::uno::Reference< bool exchange( const com::sun::star::uno::Reference<
......
...@@ -87,7 +87,7 @@ public: ...@@ -87,7 +87,7 @@ public:
* a previous try). * a previous try).
* @param rAccount contains an account, if applicable. * @param rAccount contains an account, if applicable.
* @param bAllowPersistentStoring specifies if the credentials should * @param bAllowPersistentStoring specifies if the credentials should
* be stored in the passowrd container persistently * be stored in the password container persistently
* @param bAllowUseSystemCredentials specifies if requesting client is * @param bAllowUseSystemCredentials specifies if requesting client is
* able to obtain and use system credentials for authentication * able to obtain and use system credentials for authentication
*/ */
......
...@@ -49,7 +49,7 @@ public: ...@@ -49,7 +49,7 @@ public:
* Constructor. * Constructor.
* *
* @param lCertificateValidity contains a bitmask which validation error occur. * @param lCertificateValidity contains a bitmask which validation error occur.
* @param pCertificate contaisn the server certificate. * @param pCertificate contains the server certificate.
*/ */
SimpleCertificateValidationRequest( const sal_Int32 & lCertificateValidity, SimpleCertificateValidationRequest( const sal_Int32 & lCertificateValidity,
const com::sun::star::uno::Reference<com::sun::star::security::XCertificate>& certificate, const com::sun::star::uno::Reference<com::sun::star::security::XCertificate>& certificate,
......
...@@ -154,7 +154,7 @@ class UNOTOOLS_DLLPUBLIC MediaDescriptor : public comphelper::SequenceAsHashMap ...@@ -154,7 +154,7 @@ class UNOTOOLS_DLLPUBLIC MediaDescriptor : public comphelper::SequenceAsHashMap
of a real readonly file. of a real readonly file.
@Attention @Attention
We dont check the property "ReadOnly" here. Because We don't check the property "ReadOnly" here. Because
this property can be set from outside and overwrites this property can be set from outside and overwrites
the readonly state of the stream. the readonly state of the stream.
If e.g. the stream could be opened read/write ... If e.g. the stream could be opened read/write ...
......
...@@ -47,7 +47,7 @@ enum class ListBoxEntryFlags ...@@ -47,7 +47,7 @@ enum class ListBoxEntryFlags
*/ */
DisableSelection = 0x0001, DisableSelection = 0x0001,
/** this flag can be used to make an entry multine capable /** this flag can be used to make an entry multiline capable
A normal entry is single line and will therefore be clipped A normal entry is single line and will therefore be clipped
at the right listbox border. Setting this flag enables at the right listbox border. Setting this flag enables
word breaks for the entry text. word breaks for the entry text.
......
...@@ -101,7 +101,7 @@ namespace vcl ...@@ -101,7 +101,7 @@ namespace vcl
This way, you can implement cyclic selection of entries: In This way, you can implement cyclic selection of entries: In
FirstSearchEntry, return the entry which was previously FirstSearchEntry, return the entry which was previously
selected, and in NextSearchEntry, interlly cycle around selected, and in NextSearchEntry, internally cycle around
in your list. Then, multiple user inputs of <code>Alt-C</code> will in your list. Then, multiple user inputs of <code>Alt-C</code> will
cycle through all entries with the mnemonic being "c". cycle through all entries with the mnemonic being "c".
......
...@@ -449,7 +449,7 @@ public: ...@@ -449,7 +449,7 @@ public:
struct SignatureWidget: public AnyWidget struct SignatureWidget: public AnyWidget
{ {
// Use Sig prefix for members to avoid conflict with // Use Sig prefix for members to avoid conflict with
// the Location member of the AnyWidget which spcifies the coordinates // the Location member of the AnyWidget which specifies the coordinates
// of the signature // of the signature
OUString SigLocation; OUString SigLocation;
......
...@@ -617,7 +617,7 @@ public: ...@@ -617,7 +617,7 @@ public:
// the default LineWidth for ListBox UI previews (LineStyle, LineDash, LineStartEnd). Default is 1. // the default LineWidth for ListBox UI previews (LineStyle, LineDash, LineStartEnd). Default is 1.
sal_uInt16 GetListBoxPreviewDefaultLineWidth() const; sal_uInt16 GetListBoxPreviewDefaultLineWidth() const;
// defines if previews which containn potentially transparent objects (e.g. the dash/line/LineStartEnd previews and others) // defines if previews which contain potentially transparent objects (e.g. the dash/line/LineStartEnd previews and others)
// use the default transparent visualization background (checkered background) as it has got standard in graphic programs nowadays // use the default transparent visualization background (checkered background) as it has got standard in graphic programs nowadays
void SetPreviewUsesCheckeredBackground(bool bNew); void SetPreviewUsesCheckeredBackground(bool bNew);
bool GetPreviewUsesCheckeredBackground() const; bool GetPreviewUsesCheckeredBackground() const;
......
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