summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-05-12 10:13:57 +0300
committerTor Lillqvist <tml@iki.fi>2013-05-12 10:14:26 +0300
commit0037c288a15423d800d4df311741cc77411663df (patch)
tree67f308e14f3dc1ecbb315c80c067310b4f5114cb
parent2293815a6329d2918954cc11d6dfd8d111ab8c57 (diff)
WaE: private field 'mpGraphics' is not used
Change-Id: Id10519547445b5e67d3328a82909f85f9de83a80
-rw-r--r--vcl/coretext/salcoretextlayout.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/vcl/coretext/salcoretextlayout.cxx b/vcl/coretext/salcoretextlayout.cxx
index 109900faece4..f1944be556c8 100644
--- a/vcl/coretext/salcoretextlayout.cxx
+++ b/vcl/coretext/salcoretextlayout.cxx
@@ -33,7 +33,7 @@
class CoreTextLayout SAL_FINAL : public SalLayout
{
public:
- CoreTextLayout( QuartzSalGraphics* graphics, CoreTextStyleInfo* style);
+ CoreTextLayout( CoreTextStyleInfo* style );
~CoreTextLayout();
// Overrides in same order as in base class, without "virtual" and
@@ -67,7 +67,6 @@ private:
sal_Unicode *mpSavedStr;
#endif
- QuartzSalGraphics* mpGraphics;
CoreTextStyleInfo* mpStyle;
int mnCharCount; // ==mnEndCharPos-mnMinCharPos
@@ -100,11 +99,10 @@ private:
mutable CFArrayRef mpRuns;
};
-CoreTextLayout::CoreTextLayout(QuartzSalGraphics* graphics, CoreTextStyleInfo* style) :
+CoreTextLayout::CoreTextLayout(CoreTextStyleInfo* style) :
#ifndef NDEBUG
mpSavedStr(NULL),
#endif
- mpGraphics(graphics),
mpStyle(style),
mnCharCount(-1),
mnGlyphCount(-1),
@@ -693,7 +691,7 @@ void CoreTextLayout::Simplify( bool /*bIsBase*/ )
SalLayout* QuartzSalGraphics::GetTextLayout( ImplLayoutArgs&, int /*nFallbackLevel*/ )
{
- CoreTextLayout* layout = new CoreTextLayout( this, m_style );
+ CoreTextLayout* layout = new CoreTextLayout( m_style );
return layout;
}