diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-25 11:03:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-25 12:03:50 +0200 |
commit | 2fffaf6f05d829e345ad8b391646a6e8df9a9a26 (patch) | |
tree | ec1b7343262433ee2ea9ab6e5197b6fd2327b685 /include | |
parent | f74da1315a5b2ec232a66944e41ff90231b383be (diff) |
loplugin:unusedmethods
Change-Id: Ia874baf21257e5fe41e104211068a2bcc50446eb
Reviewed-on: https://gerrit.libreoffice.org/40391
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/drawinglayer/primitive2d/polypolygonprimitive2d.hxx | 4 | ||||
-rw-r--r-- | include/editeng/svxrtf.hxx | 1 | ||||
-rw-r--r-- | include/formula/formdata.hxx | 1 | ||||
-rw-r--r-- | include/sax/fastattribs.hxx | 5 | ||||
-rw-r--r-- | include/sfx2/app.hxx | 3 | ||||
-rw-r--r-- | include/sfx2/basedlgs.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/charwin.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/childwin.hxx | 1 | ||||
-rw-r--r-- | include/svtools/sampletext.hxx | 1 | ||||
-rw-r--r-- | include/svx/deflt3d.hxx | 4 | ||||
-rw-r--r-- | include/svx/strarray.hxx | 11 | ||||
-rw-r--r-- | include/svx/svdotable.hxx | 1 | ||||
-rw-r--r-- | include/tools/unqidx.hxx | 9 | ||||
-rw-r--r-- | include/vcl/scheduler.hxx | 3 | ||||
-rw-r--r-- | include/xmloff/xmlimp.hxx | 1 | ||||
-rw-r--r-- | include/xmloff/xmltoken.hxx | 4 | ||||
-rw-r--r-- | include/xmlreader/xmlreader.hxx | 2 |
17 files changed, 0 insertions, 53 deletions
diff --git a/include/drawinglayer/primitive2d/polypolygonprimitive2d.hxx b/include/drawinglayer/primitive2d/polypolygonprimitive2d.hxx index 2cbc032e775d..e659a2184324 100644 --- a/include/drawinglayer/primitive2d/polypolygonprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/polypolygonprimitive2d.hxx @@ -378,10 +378,6 @@ namespace drawinglayer virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& rViewInformation) const override; public: - /// constructors. The one without definition range will use output range as definition range - PolyPolygonGraphicPrimitive2D( - const basegfx::B2DPolyPolygon& rPolyPolygon, - const attribute::FillGraphicAttribute& rFillGraphic); PolyPolygonGraphicPrimitive2D( const basegfx::B2DPolyPolygon& rPolyPolygon, const basegfx::B2DRange& rDefinitionRange, diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx index cec918130ec2..e2c05b6dbcae 100644 --- a/include/editeng/svxrtf.hxx +++ b/include/editeng/svxrtf.hxx @@ -254,7 +254,6 @@ protected: // Read Document-Info css::util::DateTime GetDateTimeStamp( ); OUString& GetTextToEndGroup( OUString& rStr ); - void ReadInfo(); inline SfxItemSet& GetAttrSet(); // no text yet inserted? (SttPos from the top stack entry!) diff --git a/include/formula/formdata.hxx b/include/formula/formdata.hxx index 39b7aecdb8dc..651ebbe43445 100644 --- a/include/formula/formdata.hxx +++ b/include/formula/formdata.hxx @@ -40,7 +40,6 @@ public: sal_uInt16 GetMode() const { return nMode; } sal_Int32 GetFStart() const { return nFStart; } sal_uInt16 GetOffset() const { return nOffset; } - sal_uInt16 GetEdFocus() const { return nEdFocus; } const OUString& GetUndoStr() const { return aUndoStr; } bool GetMatrixFlag()const{ return bMatrix;} const VclPtr<vcl::Window>& GetFocusWindow()const { return xFocusWin; } diff --git a/include/sax/fastattribs.hxx b/include/sax/fastattribs.hxx index a7b34dd36dff..9c1db656e36c 100644 --- a/include/sax/fastattribs.hxx +++ b/include/sax/fastattribs.hxx @@ -158,11 +158,6 @@ public: RTL_TEXTENCODING_UTF8); } - const char* toCString() const - { - assert(mnIdx < mrList.maAttributeTokens.size()); - return mrList.getFastAttributeValue(mnIdx); - } bool isString(const char *str) const { assert(mnIdx < mrList.maAttributeTokens.size()); diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx index 54735e437f6e..f0200fcfce31 100644 --- a/include/sfx2/app.hxx +++ b/include/sfx2/app.hxx @@ -133,9 +133,6 @@ public: static SfxApplication* GetOrCreate(); static SfxApplication* Get(); - // Resource Locale - static std::locale* GetSfxResLocale(); - // DDE #if defined(_WIN32) static long DdeExecute( const OUString& rCmd ); diff --git a/include/sfx2/basedlgs.hxx b/include/sfx2/basedlgs.hxx index 227a53f5054b..cb403c78a075 100644 --- a/include/sfx2/basedlgs.hxx +++ b/include/sfx2/basedlgs.hxx @@ -63,7 +63,6 @@ protected: OUString& GetExtraData() { return aExtraData; } sal_uInt32 GetUniqId() const { return nUniqId; } void SetUniqId(sal_uInt32 nSettingsId) { nUniqId = nSettingsId; } - SfxItemSet* GetItemSet() { return pOutputSet; } void CreateOutputItemSet( SfxItemPool& rPool ); void CreateOutputItemSet( const SfxItemSet& rInput ); void SetInputSet( const SfxItemSet* pInSet ) { pInputSet = pInSet; } diff --git a/include/sfx2/charwin.hxx b/include/sfx2/charwin.hxx index 563d6ac54959..2b58f5a0e9e1 100644 --- a/include/sfx2/charwin.hxx +++ b/include/sfx2/charwin.hxx @@ -36,7 +36,6 @@ public: virtual Size GetOptimalSize() const override; - void setInsertCharHdl(const Link<SvxCharView*,void> &rLink); void setMouseClickHdl(const Link<SvxCharView*,void> &rLink); protected: diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx index cf908713bdf8..f68fa9fbf740 100644 --- a/include/sfx2/childwin.hxx +++ b/include/sfx2/childwin.hxx @@ -170,7 +170,6 @@ public: { return pWindow->GetSizePixel(); } virtual void Hide(); virtual void Show( ShowFlags nFlags ); - bool CanGetFocus() const; sal_uInt16 GetPosition(); sal_uInt16 GetType() { return nType; } diff --git a/include/svtools/sampletext.hxx b/include/svtools/sampletext.hxx index 20dc592596e5..1f68e108b3bf 100644 --- a/include/svtools/sampletext.hxx +++ b/include/svtools/sampletext.hxx @@ -22,7 +22,6 @@ namespace vcl { class Font; } SVT_DLLPUBLIC UScriptCode otCoverageToScript(vcl::UnicodeCoverage::UnicodeCoverageEnum eOTCoverage); SVT_DLLPUBLIC bool isSymbolFont(const vcl::Font &rFont); -SVT_DLLPUBLIC bool isOpenSymbolFont(const vcl::Font &rFont); SVT_DLLPUBLIC bool canRenderNameOfSelectedFont(OutputDevice const &rDevice); diff --git a/include/svx/deflt3d.hxx b/include/svx/deflt3d.hxx index 7641727e3cc4..56ddcd034543 100644 --- a/include/svx/deflt3d.hxx +++ b/include/svx/deflt3d.hxx @@ -76,13 +76,9 @@ public: // Compound object const Color& GetDefaultAmbientColor() { return aDefaultAmbientColor; } - bool GetDefaultCreateNormals() const { return bDefaultCreateNormals; } - bool GetDefaultCreateTexture() const { return bDefaultCreateTexture; } - // Cube object const basegfx::B3DPoint& GetDefaultCubePos() { return aDefaultCubePos; } const basegfx::B3DVector& GetDefaultCubeSize() { return aDefaultCubeSize; } - CubeFaces GetDefaultCubeSideFlags() const { return nDefaultCubeSideFlags; } bool GetDefaultCubePosIsCenter() const { return bDefaultCubePosIsCenter; } // Sphere object diff --git a/include/svx/strarray.hxx b/include/svx/strarray.hxx index a5dca6b84101..04d9a64958e2 100644 --- a/include/svx/strarray.hxx +++ b/include/svx/strarray.hxx @@ -23,16 +23,6 @@ #include <svx/svxdllapi.h> #include <vector> -// class SvxStringArray ------------------------------------------------- - -class SVX_DLLPUBLIC SvxStringArray -{ - std::vector<OUString> m_aTranslations; -public: - SvxStringArray(const char** pResId, size_t nLength); - const OUString GetString(sal_uInt32 nPos) const; -}; - class SVX_DLLPUBLIC SvxFieldUnitTable { public: @@ -55,7 +45,6 @@ class SVX_DLLPUBLIC SvxAttrNameTable public: static OUString GetString(sal_uInt32 i); static sal_uInt32 Count(); - static sal_uInt16 GetValue(sal_uInt32 i); static sal_uInt32 FindIndex(int nValue); }; diff --git a/include/svx/svdotable.hxx b/include/svx/svdotable.hxx index 29495ab5524b..7537e2184d00 100644 --- a/include/svx/svdotable.hxx +++ b/include/svx/svdotable.hxx @@ -141,7 +141,6 @@ public: void getCellBounds( const sdr::table::CellPos& rPos, ::tools::Rectangle& rCellRect ); const SfxItemSet& GetActiveCellItemSet() const; - void SetMergedItemSetAndBroadcastOnActiveCell(const SfxItemSet& rSet); void setTableStyle( const css::uno::Reference< css::container::XIndexAccess >& xAutoFormatStyle ); const css::uno::Reference< css::container::XIndexAccess >& getTableStyle() const; diff --git a/include/tools/unqidx.hxx b/include/tools/unqidx.hxx index 7b059adccbb7..44ba98ae623b 100644 --- a/include/tools/unqidx.hxx +++ b/include/tools/unqidx.hxx @@ -45,9 +45,6 @@ public: void* Get( Index aIndex ) const; Index GetIndexOf( void const* p ) const; - Index FirstIndex() const; - Index LastIndex() const; - Index NextIndex( Index aCurrIndex ) const; }; template<typename T> @@ -61,12 +58,6 @@ public: Index Insert(T* p) { return UniqueIndexImpl::Insert(p); } T* Get(Index idx) const { return static_cast<T*>( UniqueIndexImpl::Get(idx) ); } - T* Remove(Index idx) { return static_cast<T*>( UniqueIndexImpl::Remove(idx) ); } - Index GetIndexOf(T* p) const { return UniqueIndexImpl::GetIndexOf(p); } - - using UniqueIndexImpl::FirstIndex; - using UniqueIndexImpl::LastIndex; - using UniqueIndexImpl::NextIndex; }; #endif diff --git a/include/vcl/scheduler.hxx b/include/vcl/scheduler.hxx index ff5885edb36f..370c367be04f 100644 --- a/include/vcl/scheduler.hxx +++ b/include/vcl/scheduler.hxx @@ -32,9 +32,6 @@ class VCL_DLLPUBLIC Scheduler final friend class Task; Scheduler() = delete; - static inline bool HasPendingTasks( const ImplSchedulerContext &rSchedCtx, - const sal_uInt64 nTime ); - static inline void UpdateSystemTimer( ImplSchedulerContext &rSchedCtx, sal_uInt64 nMinPeriod, bool bForce, sal_uInt64 nTime ); diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx index 983375b45684..36b70f88a4f7 100644 --- a/include/xmloff/xmlimp.hxx +++ b/include/xmloff/xmlimp.hxx @@ -378,7 +378,6 @@ public: static const OUString getNameFromToken( sal_Int32 nToken ); static const OUString getNamespacePrefixFromToken( sal_Int32 nToken ); - static const OUString getNamespaceURIFromToken( sal_Int32 nToken ); SvXMLNamespaceMap& GetNamespaceMap() { return *mpNamespaceMap; } const SvXMLNamespaceMap& GetNamespaceMap() const { return *mpNamespaceMap; } diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx index 976ffeea583f..02037f101b8c 100644 --- a/include/xmloff/xmltoken.hxx +++ b/include/xmloff/xmltoken.hxx @@ -3301,10 +3301,6 @@ namespace xmloff { namespace token { enum XMLTokenEnum eToken ); XMLOFF_DLLPUBLIC bool IsXMLToken( - const char* pCString, - enum XMLTokenEnum eToken ); - - XMLOFF_DLLPUBLIC bool IsXMLToken( const sax_fastparser::FastAttributeList::FastAttributeIter& aIter, enum XMLTokenEnum eToken ); } } diff --git a/include/xmlreader/xmlreader.hxx b/include/xmlreader/xmlreader.hxx index 364590b05243..6c363d209b55 100644 --- a/include/xmlreader/xmlreader.hxx +++ b/include/xmlreader/xmlreader.hxx @@ -38,8 +38,6 @@ namespace xmlreader { class OOO_DLLPUBLIC_XMLREADER XmlReader { public: - XmlReader(char const *sStr, size_t nLength); - explicit XmlReader(OUString const & fileUrl); ~XmlReader(); |