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 | |
parent | 6c853a986444294dd937cd570a4dc0a31943e432 (diff) |
-Werror,-Wunused-private-field
Change-Id: Ib32a73e4f74ce7ccd19327ecaed84c16b5c60779
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/accessibility/svxpixelctlaccessiblecontext.cxx | 10 | ||||
-rw-r--r-- | svx/source/dialog/dlgctl3d.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/pagectrl.cxx | 5 | ||||
-rw-r--r-- | svx/source/inc/svxpixelctlaccessiblecontext.hxx | 2 | ||||
-rw-r--r-- | svx/source/sidebar/graphic/GraphicPropertyPanel.hxx | 5 | ||||
-rw-r--r-- | svx/source/tbxctrls/fontworkgallery.cxx | 1 |
6 files changed, 1 insertions, 24 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 ) diff --git a/svx/source/dialog/dlgctl3d.cxx b/svx/source/dialog/dlgctl3d.cxx index b4b8bea78f7d..37d0b6ee28a1 100644 --- a/svx/source/dialog/dlgctl3d.cxx +++ b/svx/source/dialog/dlgctl3d.cxx @@ -252,8 +252,6 @@ void Svx3DPreviewControl::Set3DAttributes( const SfxItemSet& rAttr ) Svx3DLightControl::Svx3DLightControl(vcl::Window* pParent, WinBits nStyle) : Svx3DPreviewControl(pParent, nStyle), - maUserInteractiveChangeCallback(), - maUserSelectionChangeCallback(), maChangeCallback(), maSelectionChangeCallback(), maSelectedLight(NO_LIGHT_SELECTED), diff --git a/svx/source/dialog/pagectrl.cxx b/svx/source/dialog/pagectrl.cxx index ed6126898ea3..2e73bef35180 100644 --- a/svx/source/dialog/pagectrl.cxx +++ b/svx/source/dialog/pagectrl.cxx @@ -73,10 +73,7 @@ SvxPageWindow::SvxPageWindow(vcl::Window* pParent) bTable(false), bHorz(false), bVert(false), - eUsage(SVX_PAGE_ALL), - - aLeftText(), - aRightText() + eUsage(SVX_PAGE_ALL) { // Count in Twips by default SetMapMode(MapMode(MAP_TWIP)); diff --git a/svx/source/inc/svxpixelctlaccessiblecontext.hxx b/svx/source/inc/svxpixelctlaccessiblecontext.hxx index c64309a09cae..c67ad532714d 100644 --- a/svx/source/inc/svxpixelctlaccessiblecontext.hxx +++ b/svx/source/inc/svxpixelctlaccessiblecontext.hxx @@ -71,7 +71,6 @@ class SvxPixelCtlAccessibleChild : SvxPixelCtl& mrParentWindow; ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > mxParent; bool m_bPixelColorOrBG;//Pixel Color Or BackGround Color - Point maPoint; Rectangle* mpBoundingBox; /// index of child in parent long mnIndexInParent; @@ -81,7 +80,6 @@ public: SvxPixelCtlAccessibleChild( SvxPixelCtl& rWindow, bool bPixelColorOrBG, - const Point& aPoint, const Rectangle& rBounds, const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& xParent, long nIndexInParent ); diff --git a/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx b/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx index 87064e08febf..f2b626055c0c 100644 --- a/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx +++ b/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx @@ -84,11 +84,6 @@ private: ::sfx2::sidebar::ControllerItem maGammaControl; ::sfx2::sidebar::ControllerItem maModeControl; - OUString msNormal; - OUString msBW; - OUString msGray; - OUString msWater; - css::uno::Reference<css::frame::XFrame> mxFrame; SfxBindings* mpBindings; diff --git a/svx/source/tbxctrls/fontworkgallery.cxx b/svx/source/tbxctrls/fontworkgallery.cxx index 191c9a84346f..aefc47d6776b 100644 --- a/svx/source/tbxctrls/fontworkgallery.cxx +++ b/svx/source/tbxctrls/fontworkgallery.cxx @@ -73,7 +73,6 @@ FontWorkGalleryDialog::FontWorkGalleryDialog( SdrView* pSdrView, vcl::Window* pP ModalDialog(pParent, "FontworkGalleryDialog", "svx/ui/fontworkgallerydialog.ui" ), mnThemeId ( 0xffff ), mpSdrView ( pSdrView ), - mpModel ( static_cast<FmFormModel*>(pSdrView->GetModel()) ), mppSdrObject ( NULL ), mpDestModel ( NULL ) { |