diff options
Diffstat (limited to 'include/vcl/toolkit/controllayout.hxx')
-rw-r--r-- | include/vcl/toolkit/controllayout.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/vcl/toolkit/controllayout.hxx b/include/vcl/toolkit/controllayout.hxx index ffd643f640ee..53ffeab4b32c 100644 --- a/include/vcl/toolkit/controllayout.hxx +++ b/include/vcl/toolkit/controllayout.hxx @@ -50,15 +50,15 @@ struct VCL_DLLPUBLIC ControlLayoutData ControlLayoutData(); ~ControlLayoutData(); - tools::Rectangle GetCharacterBounds( long nIndex ) const; + tools::Rectangle GetCharacterBounds( tools::Long nIndex ) const; // returns the character index for corresponding to rPoint (in control coordinates) // -1 is returned if no character is at that point - long GetIndexForPoint( const Point& rPoint ) const; + tools::Long GetIndexForPoint( const Point& rPoint ) const; // returns the number of lines in the result of GetDisplayText() - long GetLineCount() const; + tools::Long GetLineCount() const; // returns the interval [start,end] of line nLine // returns [-1,-1] for an invalid line - ::Pair GetLineStartEnd( long nLine ) const; + ::Pair GetLineStartEnd( tools::Long nLine ) const; /** ToRelativeLineIndex changes a layout data index to a count relative to its line. This is equivalent to getting the line start/end pairs with @@ -71,7 +71,7 @@ struct VCL_DLLPUBLIC ControlLayoutData the relative index inside the displayed line or -1 if the absolute index does not match any line */ - long ToRelativeLineIndex( long nIndex ) const; + tools::Long ToRelativeLineIndex( tools::Long nIndex ) const; }; } // namespace vcl |