diff options
Diffstat (limited to 'vcl/inc/listbox.hxx')
-rw-r--r-- | vcl/inc/listbox.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/listbox.hxx b/vcl/inc/listbox.hxx index 402275af73a0..cea25b5cfeb0 100644 --- a/vcl/inc/listbox.hxx +++ b/vcl/inc/listbox.hxx @@ -113,7 +113,7 @@ public: long GetAddedHeight( sal_Int32 nEndIndex, sal_Int32 nBeginIndex ) const; long GetEntryHeight( sal_Int32 nPos ) const; - sal_Int32 GetEntryCount() const { return (sal_Int32 )maEntries.size(); } + sal_Int32 GetEntryCount() const { return static_cast<sal_Int32>(maEntries.size()); } bool HasImages() const { return mnImages != 0; } OUString GetEntryText( sal_Int32 nPos ) const; |