diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-24 12:16:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-24 12:18:05 +0200 |
commit | 6246755d1cd82a66669a16509dd766c1a8b80e8e (patch) | |
tree | dd7186e927b63dfd9599aa90e8b24cb2da9fccca /svx/source/accessibility | |
parent | 6c853a986444294dd937cd570a4dc0a31943e432 (diff) |
-Werror,-Wunused-private-field
Change-Id: Ib32a73e4f74ce7ccd19327ecaed84c16b5c60779
Diffstat (limited to 'svx/source/accessibility')
-rw-r--r-- | svx/source/accessibility/svxpixelctlaccessiblecontext.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx index 5357656db43b..70dab3584cde 100644 --- a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx +++ b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx @@ -482,19 +482,11 @@ void SvxPixelCtlAccessible::NotifyChild(long nIndex,bool bSelect ,bool bCheck) uno::Reference<XAccessible> SvxPixelCtlAccessible::CreateChild (long nIndex,Point mPoint) { - long nX = mPoint.X(); - long nY = mPoint.Y(); - if( AllSettings::GetLayoutRTL()) - { - nX = (sal_uInt16) mrPixelCtl.GetWidth() - 1 - nX; - } - bool bPixelColorOrBG = mrPixelCtl.GetBitmapPixel(sal_uInt16(nIndex)) != 0; Size size(mrPixelCtl.GetWidth() / mrPixelCtl.GetLineCount(),mrPixelCtl.GetHeight() / mrPixelCtl.GetLineCount()); uno::Reference<XAccessible> xChild; xChild = new SvxPixelCtlAccessibleChild(mrPixelCtl, bPixelColorOrBG, - Point(nX,nY), Rectangle(mPoint,size), this, nIndex); @@ -557,7 +549,6 @@ void SvxPixelCtlAccessibleChild::FireAccessibleEvent ( SvxPixelCtlAccessibleChild::SvxPixelCtlAccessibleChild( SvxPixelCtl& rWindow, bool bPixelColorOrBG, - const Point &aPoint, const Rectangle& rBoundingBox, const uno::Reference<XAccessible>& rxParent, long nIndexInParent ) : @@ -565,7 +556,6 @@ SvxPixelCtlAccessibleChild::SvxPixelCtlAccessibleChild( mrParentWindow( rWindow ), mxParent(rxParent), m_bPixelColorOrBG(bPixelColorOrBG), - maPoint(aPoint), mpBoundingBox( new Rectangle( rBoundingBox ) ), mnIndexInParent( nIndexInParent ), mnClientId( 0 ) |