diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-01-22 18:17:34 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-02-01 14:20:32 +0100 |
commit | f3513d038dfc09b2be784ae1c747917edbbc085a (patch) | |
tree | 33dff9268dd125c2166ee5d7024eb8bebb448900 /vcl | |
parent | fdafe9505ce78a8fb7f65c319c2e577bc96f6ff6 (diff) |
fix incorrect if indentation
Change-Id: If3607886050c4e2e649e5678cc39f290b122f537
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/outdev3.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx index fe3d65203af9..efabb843234c 100644 --- a/vcl/source/gdi/outdev3.cxx +++ b/vcl/source/gdi/outdev3.cxx @@ -194,8 +194,8 @@ void OutputDevice::ImplUpdateFontData( bool bNewFontLists ) } // release all physically selected fonts on this device - if( ImplGetGraphics() ) - mpGraphics->ReleaseFonts(); + if( ImplGetGraphics() ) + mpGraphics->ReleaseFonts(); } if ( GetOutDevType() == OUTDEV_PRINTER || mpPDFWriter ) @@ -406,7 +406,7 @@ sal_uInt16 OutputDevice::GetFontSubstituteCount() { const ImplDirectFontSubstitution* pSubst = ImplGetSVData()->maGDIData.mpDirectFontSubst; if( !pSubst ) - return 0; + return 0; int nCount = pSubst->GetFontSubstituteCount(); return (sal_uInt16)nCount; } @@ -8045,7 +8045,7 @@ sal_Bool OutputDevice::GetTextOutlines( PolyPolyVector& rResultVector, ::basegfx::B2DPolyPolygonVector aB2DPolyPolyVector; if( !GetTextOutlines( aB2DPolyPolyVector, rStr, nBase, nIndex, nLen, bOptimize, nTWidth, pDXArray ) ) - return sal_False; + return sal_False; // convert to a tool polypolygon vector rResultVector.reserve( aB2DPolyPolyVector.size() ); @@ -8068,7 +8068,7 @@ sal_Bool OutputDevice::GetTextOutline( PolyPolygon& rPolyPoly, ::basegfx::B2DPolyPolygonVector aB2DPolyPolyVector; if( !GetTextOutlines( aB2DPolyPolyVector, rStr, nBase, nIndex, nLen, bOptimize, nTWidth, pDXArray ) ) - return sal_False; + return sal_False; // convert and merge into a tool polypolygon ::basegfx::B2DPolyPolygonVector::const_iterator aIt = aB2DPolyPolyVector.begin(); |