| author | Rafael Dominguez <venccsralph@gmail.com> | 2012-08-23 19:47:27 (GMT) |
|---|---|---|
| committer | Rafael Dominguez <venccsralph@gmail.com> | 2012-08-24 02:14:08 (GMT) |
| commit | 515b260cb4dd6d0615919b4c6703f1a1d24d1eba (patch) (side-by-side diff) | |
| tree | c58fd8d69ef4a5bbc062332e92c0fce8dbdea6b9 | |
| parent | 2addf49c27eb80dcf65cf2727ac03c8a6d1f1e06 (diff) | |
| download | core-515b260cb4dd6d0615919b4c6703f1a1d24d1eba.zip core-515b260cb4dd6d0615919b4c6703f1a1d24d1eba.tar.gz | |
Fix rendering subtitle for template search results.
Change-Id: I1d1a5100bdbd2be238d045df3c7790dde8afd63f
| -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 4ef6aa1..2c27e5f 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 >( ), |
