summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-12 15:04:37 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-13 10:10:48 +0200
commit2ccfaafb3eac63501a8285bc26f3f4bdbd65b084 (patch)
tree5d705df4e1a49d377613523f3f338d920067fa2b /sfx2
parent6632987e02679c159e18bc90906640c7162009b7 (diff)
warning C4245: '=' : conversion from 'int' to 'sal_uInt32'...
...signed/unsigned mismatch Change-Id: I852ddf97dd1749e409baf74d9af72ec459f574ee
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/thumbnailview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx
index c34e2b6590ab..0f93b77e1c2e 100644
--- a/sfx2/source/control/thumbnailview.cxx
+++ b/sfx2/source/control/thumbnailview.cxx
@@ -220,7 +220,7 @@ void ThumbnailView::ImplInitSettings( bool bFont, bool bForeground, bool bBackgr
mpItemAttrs->aFillColor = maColor.getBColor();
mpItemAttrs->aHighlightColor = rStyleSettings.GetHighlightColor().getBColor();
mpItemAttrs->aFontAttr = getFontAttributeFromVclFont(mpItemAttrs->aFontSize,GetFont(),false,true);
- mpItemAttrs->nMaxTextLength = -1;
+ mpItemAttrs->nMaxTextLength = 0;
}
void ThumbnailView::ImplInitScrollBar()