summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-11-24 13:18:24 +0200
committerTor Lillqvist <tml@collabora.com>2015-11-24 14:08:54 +0200
commit509907cea798cc74fbc6d91ce41105c52f41ba06 (patch)
tree8faadf91f9ecc35751d07a418e4021ea554a52c4
parent295c7827e03fa02f5ef7fb6dc1c8ddf29d7cde24 (diff)
It's "incomplete", not "in complete"
Change-Id: Ib3960e8facc0104c4d19fc19ea587c138f998a42
-rw-r--r--vcl/inc/sallayout.hxx4
-rw-r--r--vcl/source/gdi/sallayout.cxx10
-rw-r--r--vcl/source/outdev/font.cxx2
3 files changed, 8 insertions, 8 deletions
diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx
index f2b274461230..47d75da40904 100644
--- a/vcl/inc/sallayout.hxx
+++ b/vcl/inc/sallayout.hxx
@@ -253,7 +253,7 @@ public:
virtual void AdjustLayout( ImplLayoutArgs& ) override;
virtual void InitFont() const override;
- void SetInComplete(bool bInComplete = true);
+ void SetIncomplete(bool bIncomplete = true);
protected:
virtual ~MultiSalLayout();
@@ -272,7 +272,7 @@ private:
const PhysicalFontFace* mpFallbackFonts[ MAX_FALLBACK ];
ImplLayoutRuns maFallbackRuns[ MAX_FALLBACK ];
int mnLevel;
- bool mbInComplete;
+ bool mbIncomplete;
};
struct GlyphItem
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx
index 505b55862060..57c3b32bf903 100644
--- a/vcl/source/gdi/sallayout.cxx
+++ b/vcl/source/gdi/sallayout.cxx
@@ -1460,7 +1460,7 @@ void GenericSalLayout::SortGlyphItems()
MultiSalLayout::MultiSalLayout( SalLayout& rBaseLayout, const PhysicalFontFace* pBaseFont )
: SalLayout()
, mnLevel( 1 )
-, mbInComplete( false )
+, mbIncomplete( false )
{
//maFallbackRuns[0].Clear();
mpFallbackFonts[ 0 ] = pBaseFont;
@@ -1468,9 +1468,9 @@ MultiSalLayout::MultiSalLayout( SalLayout& rBaseLayout, const PhysicalFontFace*
mnUnitsPerPixel = rBaseLayout.GetUnitsPerPixel();
}
-void MultiSalLayout::SetInComplete(bool bInComplete)
+void MultiSalLayout::SetIncomplete(bool bIncomplete)
{
- mbInComplete = bInComplete;
+ mbIncomplete = bIncomplete;
maFallbackRuns[mnLevel-1] = ImplLayoutRuns();
}
@@ -1497,7 +1497,7 @@ bool MultiSalLayout::LayoutText( ImplLayoutArgs& rArgs )
{
if( mnLevel <= 1 )
return false;
- if (!mbInComplete)
+ if (!mbIncomplete)
maFallbackRuns[ mnLevel-1 ] = rArgs.maRuns;
return true;
}
@@ -1613,7 +1613,7 @@ void MultiSalLayout::AdjustLayout( ImplLayoutArgs& rArgs )
// remove unused parts of component
if( n > 0 )
{
- if (mbInComplete && (n == mnLevel-1))
+ if (mbIncomplete && (n == mnLevel-1))
mpLayouts[n]->Simplify( true );
else
mpLayouts[n]->Simplify( false );
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index dc5f3c30a4a3..5f9f07d46c73 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -2164,7 +2164,7 @@ SalLayout* OutputDevice::ImplGlyphFallbackLayout( SalLayout* pSalLayout, ImplLay
pMultiSalLayout->AddFallback( *pFallback,
rLayoutArgs.maRuns, aFontSelData.mpFontData );
if (nFallbackLevel == MAX_FALLBACK-1)
- pMultiSalLayout->SetInComplete();
+ pMultiSalLayout->SetIncomplete();
}
mpFontCache->Release( pFallbackFont );