summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-26 16:01:56 +0200
committerNoel Grandin <noel@peralex.com>2015-11-30 10:34:38 +0200
commitec3f72415850bd865eb030cf2b7edb55b99d4756 (patch)
treee63a41091957725506cbb107a272a9872081e3e5 /sd
parentd2df03574023b379ac09b1f71cae9e3ba3ac53e2 (diff)
loplugin:unusedfields
Change-Id: Icac4ac1a2614e72bc9ff070819533e09eeb1a864
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/pptx-text.cxx4
-rw-r--r--sd/source/filter/eppt/text.hxx2
-rw-r--r--sd/source/ui/sidebar/MasterPagesSelector.cxx1
-rw-r--r--sd/source/ui/sidebar/MasterPagesSelector.hxx5
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.hxx2
-rw-r--r--sd/source/ui/slidesorter/controller/SlsSlotManager.cxx3
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx3
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx3
-rw-r--r--sd/source/ui/slidesorter/view/SlsFontProvider.cxx3
9 files changed, 2 insertions, 24 deletions
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx
index c5f53c9a1251..51a434477f49 100644
--- a/sd/source/filter/eppt/pptx-text.cxx
+++ b/sd/source/filter/eppt/pptx-text.cxx
@@ -647,8 +647,6 @@ ParagraphObj::ParagraphObj(const css::uno::Reference< css::beans::XPropertySet >
: PropStateValue()
, SOParagraph()
, mvPortions()
- , maMapModeSrc(MAP_100TH_MM)
- , maMapModeDest(MAP_INCH, Point(), Fraction( 1, 576 ), Fraction( 1, 576 ))
, mnTextSize(0)
, mbFirstParagraph(false)
, mbLastParagraph(false)
@@ -677,8 +675,6 @@ ParagraphObj::ParagraphObj(css::uno::Reference< css::text::XTextContent > & rXTe
: PropStateValue()
, SOParagraph()
, mvPortions()
- , maMapModeSrc(MAP_100TH_MM)
- , maMapModeDest(MAP_INCH, Point(), Fraction( 1, 576 ), Fraction( 1, 576 ))
, mnTextSize(0)
, mbIsBullet(false)
, mbFirstParagraph( aParaFlags.bFirstParagraph )
diff --git a/sd/source/filter/eppt/text.hxx b/sd/source/filter/eppt/text.hxx
index 3439774b9e0d..28ac497d6b63 100644
--- a/sd/source/filter/eppt/text.hxx
+++ b/sd/source/filter/eppt/text.hxx
@@ -178,8 +178,6 @@ class ParagraphObj : public PropStateValue, public SOParagraph
friend struct PPTExParaSheet;
std::vector<std::unique_ptr<PortionObj> > mvPortions;
- MapMode maMapModeSrc;
- MapMode maMapModeDest;
protected:
diff --git a/sd/source/ui/sidebar/MasterPagesSelector.cxx b/sd/source/ui/sidebar/MasterPagesSelector.cxx
index aec82e55b6ab..3eb1e7498529 100644
--- a/sd/source/ui/sidebar/MasterPagesSelector.cxx
+++ b/sd/source/ui/sidebar/MasterPagesSelector.cxx
@@ -77,7 +77,6 @@ MasterPagesSelector::MasterPagesSelector (
mrDocument(rDocument),
mrBase(rBase),
mnDefaultClickAction(SID_TP_APPLY_TO_ALL_SLIDES),
- maPreviewUpdateQueue(),
maCurrentItemList(),
maTokenToValueSetIndex(),
maLockedMasterPages(),
diff --git a/sd/source/ui/sidebar/MasterPagesSelector.hxx b/sd/source/ui/sidebar/MasterPagesSelector.hxx
index 8242b361e20a..e5de7fa02f4a 100644
--- a/sd/source/ui/sidebar/MasterPagesSelector.hxx
+++ b/sd/source/ui/sidebar/MasterPagesSelector.hxx
@@ -116,11 +116,6 @@ protected:
clicked over a master page.
*/
sal_uInt16 mnDefaultClickAction;
- /** Pages with pointers in this queue have their previews updated
- eventually. Filled by InvalidatePreview() and operated upon by
- UpdatePreviews().
- */
- ::std::queue<sal_uInt16> maPreviewUpdateQueue;
SdPage* GetSelectedMasterPage();
diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx
index b445211a7093..09006a895054 100644
--- a/sd/source/ui/slideshow/slideshowimpl.hxx
+++ b/sd/source/ui/slideshow/slideshowimpl.hxx
@@ -341,8 +341,6 @@ private:
Size maPresSize;
AnimationMode meAnimationMode;
OUString maCharBuffer;
- Pointer maOldPointer;
- Pointer maPencil;
VclPtr< ::sd::Window> mpOldActiveWindow;
Link<StarBASIC*,bool> maStarBASICGlobalErrorHdl;
unsigned long mnChildMask;
diff --git a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
index b03821cb7f39..0a2a382e8276 100644
--- a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
@@ -112,8 +112,7 @@ SlideExclusionState GetSlideExclusionState (model::PageEnumeration& rPageSet);
} // end of anonymous namespace
SlotManager::SlotManager (SlideSorter& rSlideSorter)
- : mrSlideSorter(rSlideSorter),
- maCommandQueue()
+ : mrSlideSorter(rSlideSorter)
{
}
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx
index 814a17d40652..e6aed91ccb48 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx
@@ -78,9 +78,6 @@ private:
/// The controller for which we manage the slot calls.
SlideSorter& mrSlideSorter;
- typedef ::std::queue<Command*> CommandQueue;
- CommandQueue maCommandQueue;
-
/** Called by FuTemporary to show the slide show.
*/
void ShowSlideShow (SfxRequest& rRequest);
diff --git a/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx b/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx
index 8f26b7bb002a..be7e18bfa334 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx
@@ -58,9 +58,6 @@ private:
with a different map mode or by a call to Invalidate().
*/
SharedFontPointer maFont;
- /** The map mode for which maFont was created.
- */
- MapMode maMapMode;
FontProvider();
virtual ~FontProvider();
diff --git a/sd/source/ui/slidesorter/view/SlsFontProvider.cxx b/sd/source/ui/slidesorter/view/SlsFontProvider.cxx
index bf5736b7a9b2..f3c42508cf2d 100644
--- a/sd/source/ui/slidesorter/view/SlsFontProvider.cxx
+++ b/sd/source/ui/slidesorter/view/SlsFontProvider.cxx
@@ -63,8 +63,7 @@ FontProvider& FontProvider::Instance()
}
FontProvider::FontProvider()
- : maFont(),
- maMapMode()
+ : maFont()
{
}