diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-08-23 15:17:27 -0430 |
---|---|---|
committer | Rafael Dominguez <venccsralph@gmail.com> | 2012-08-23 21:44:08 -0430 |
commit | 515b260cb4dd6d0615919b4c6703f1a1d24d1eba (patch) | |
tree | c58fd8d69ef4a5bbc062332e92c0fce8dbdea6b9 /sfx2 | |
parent | 2addf49c27eb80dcf65cf2727ac03c8a6d1f1e06 (diff) |
Fix rendering subtitle for template search results.
Change-Id: I1d1a5100bdbd2be238d045df3c7790dde8afd63f
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/templateviewitem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/templateviewitem.cxx b/sfx2/source/control/templateviewitem.cxx index 4ef6aa1e8876..2c27e5f7b16b 100644 --- a/sfx2/source/control/templateviewitem.cxx +++ b/sfx2/source/control/templateviewitem.cxx @@ -126,7 +126,7 @@ void TemplateViewItem::Paint(drawinglayer::processor2d::BaseProcessor2D *pProces pAttrs->aFontSize.getX()*SUBTITLE_SCALE_FACTOR, pAttrs->aFontSize.getY()*SUBTITLE_SCALE_FACTOR, double( maSubTitlePos.X() ), double( maSubTitlePos.Y() ) ) ); - aSeq[8] = Primitive2DReference( + aSeq[7] = Primitive2DReference( new TextSimplePortionPrimitive2D(aSubTitleMatrix, maSubTitle,0,pAttrs->nMaxTextLenght, std::vector< double >( ), |