Kaydet (Commit) 8c69b4db authored tarafından Caolán McNamara's avatar Caolán McNamara

bNoLines is always false

üst b3a9e9c7
......@@ -80,7 +80,6 @@ public:
sal_Bool IsTwoLines() const;
void SetTwoLines(sal_Bool bSet);
void SetNoLines(sal_Bool bSet);
void SetBrackets(sal_Unicode cStart, sal_Unicode cEnd);
......
......@@ -176,7 +176,6 @@ class FontPrevWin_Impl
bDrawBaseLine : 1,
bPreviewBackgroundToCharacter : 1,
bTwoLines : 1,
bNoLines : 1,
bUseFontNameAsText : 1,
bTextInited : 1;
......@@ -192,7 +191,6 @@ public:
cStartBracket( 0 ), cEndBracket( 0 ), nFontWidthScale( 100 ),
bSelection( sal_False ), bGetSelection( sal_False ), bUseResText( sal_False ),
bDrawBaseLine( sal_True ), bPreviewBackgroundToCharacter( sal_False ), bTwoLines( sal_False ),
bNoLines( sal_False ),
bUseFontNameAsText( sal_False ), bTextInited( sal_False )
{
SvtLanguageOptions aLanguageOptions;
......@@ -819,8 +817,6 @@ void SvxFontPrevWindow::Paint( const Rectangle& )
else
{
if (!pImpl->bNoLines)
{
Color aLineCol = GetLineColor();
SetLineColor( rFont.GetColor() );
......@@ -830,7 +826,6 @@ void SvxFontPrevWindow::Paint( const Rectangle& )
DrawLine( Point( nX + aTxtSize.Width(), nY ), Point( aLogSize.Width(), nY ) );
}
SetLineColor( aLineCol );
}
Point aTmpPoint( nX, nY );
pImpl->DrawPrev( this, pPrinter, aTmpPoint, rFont );
......@@ -848,11 +843,6 @@ void SvxFontPrevWindow::SetTwoLines(sal_Bool bSet)
pImpl->bTwoLines = bSet;
}
void SvxFontPrevWindow::SetNoLines(sal_Bool bSet)
{
pImpl->bNoLines = bSet;
}
void SvxFontPrevWindow::SetBrackets(sal_Unicode cStart, sal_Unicode cEnd)
{
pImpl->cStartBracket = cStart;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment