summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-07 13:42:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-08 08:44:32 +0100
commitbb7ade140df807b6a0f12766a1365b8f8d0fd342 (patch)
treed90de305c953a613373d27f8f89bb95c43ee9eb4 /include
parent44d5188b2fd8afc82aa8fda1ad4b374734129aea (diff)
loplugin:unusedmethods
Change-Id: Id6b4edd265cb6bef31c72e2a0a440211d51c7c33 Reviewed-on: https://gerrit.libreoffice.org/50900 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/graphicmimetype.hxx1
-rw-r--r--include/editeng/outliner.hxx1
-rw-r--r--include/oox/export/drawingml.hxx1
-rw-r--r--include/oox/helper/graphichelper.hxx8
-rw-r--r--include/sfx2/msgpool.hxx1
-rw-r--r--include/svl/itemprop.hxx21
-rw-r--r--include/tools/gen.hxx4
-rw-r--r--include/vcl/btndlg.hxx7
-rw-r--r--include/vcl/builder.hxx3
-rw-r--r--include/xmloff/xmlexp.hxx5
-rw-r--r--include/xmloff/xmlimp.hxx8
11 files changed, 0 insertions, 60 deletions
diff --git a/include/comphelper/graphicmimetype.hxx b/include/comphelper/graphicmimetype.hxx
index 970342f2e5f5..ad081c46e2e5 100644
--- a/include/comphelper/graphicmimetype.hxx
+++ b/include/comphelper/graphicmimetype.hxx
@@ -24,7 +24,6 @@ class COMPHELPER_DLLPUBLIC GraphicMimeTypeHelper
public:
static OUString GetMimeTypeForExtension(const OString& rExt);
static OUString GetMimeTypeForXGraphic(css::uno::Reference<css::graphic::XGraphic> xGraphic);
- static OUString GetMimeTypeForImageUrl(const OUString& rImageUrl);
static OUString
GetMimeTypeForImageStream(css::uno::Reference<css::io::XInputStream> xInputStream);
};
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index ad0437ec3e6e..43d6f99a8e62 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -996,7 +996,6 @@ public:
// tdf#115639 compatibility flag
void SetHoriAlignIgnoreTrailingWhitespace(bool bEnabled);
- bool IsHoriAlignIgnoreTrailingWhitespace() const;
};
#endif
diff --git a/include/oox/export/drawingml.hxx b/include/oox/export/drawingml.hxx
index bd445df24fd8..33c301285a27 100644
--- a/include/oox/export/drawingml.hxx
+++ b/include/oox/export/drawingml.hxx
@@ -204,7 +204,6 @@ public:
void WriteGraphicCropProperties(css::uno::Reference<css::beans::XPropertySet> const & rxPropertySet,
Size const & rOriginalSize, MapMode const & rMapMode);
- void WriteSrcRect( const css::uno::Reference< css::beans::XPropertySet >&, const OUString& );
void WriteSrcRectXGraphic(css::uno::Reference<css::beans::XPropertySet> const & rxPropertySet,
css::uno::Reference<css::graphic::XGraphic> const & rxGraphic);
diff --git a/include/oox/helper/graphichelper.hxx b/include/oox/helper/graphichelper.hxx
index 2127d3ec57f4..84450c2a61b6 100644
--- a/include/oox/helper/graphichelper.hxx
+++ b/include/oox/helper/graphichelper.hxx
@@ -143,14 +143,6 @@ public:
const css::uno::Reference< css::io::XInputStream >& rxInStrm,
const WmfExternal* pExtHeader ) const;
- /** Creates a persistent graphic object from the passed binary memory block.
- @return The URL of the created and internally cached graphic object. */
- OUString importGraphicObject( const StreamDataSequence& rGraphicData ) const;
-
- /** Imports a graphic object from the storage stream with the passed path and name.
- @return The URL of the created and internally cached graphic object. */
- OUString importEmbeddedGraphicObject( const OUString& rStreamName ) const;
-
/** calculates the original size of a graphic which is necessary to be able to calculate cropping values
@return The original Graphic size in 100thmm */
css::awt::Size getOriginalSize( const css::uno::Reference< css::graphic::XGraphic >& rxGraphic ) const;
diff --git a/include/sfx2/msgpool.hxx b/include/sfx2/msgpool.hxx
index fffdf415d5e9..ea5650506414 100644
--- a/include/sfx2/msgpool.hxx
+++ b/include/sfx2/msgpool.hxx
@@ -49,7 +49,6 @@ public:
void RegisterInterface( SfxInterface& rFace );
void ReleaseInterface( SfxInterface& rFace );
- SfxInterface* FirstInterface();
static SfxSlotPool& GetSlotPool( SfxViewFrame *pFrame=nullptr );
diff --git a/include/svl/itemprop.hxx b/include/svl/itemprop.hxx
index 9dadda50d351..334ae8d5f35a 100644
--- a/include/svl/itemprop.hxx
+++ b/include/svl/itemprop.hxx
@@ -91,27 +91,6 @@ struct SfxItemPropertySimpleEntry
assert(_nFlags <= 0x1ff );
}
- SfxItemPropertySimpleEntry(sal_uInt16 _nWID, css::uno::Type const & _rType,
- sal_Int16 _nFlags, sal_uInt8 const _nMemberId, PropertyMoreFlags _nMoreFlags)
- : nWID( _nWID )
- , aType( _rType )
- , nFlags( _nFlags )
- , nMemberId( _nMemberId )
- , nMoreFlags( _nMoreFlags )
- {
- assert(_nFlags <= 0x1ff );
- assert( (_nMemberId & 0x40) == 0 );
- // Verify that if METRIC_ITEM is set, we are one of the types supported by
- // SvxUnoConvertToMM.
- assert((_nMoreFlags & PropertyMoreFlags::METRIC_ITEM) &&
- ( (aType.getTypeClass() == css::uno::TypeClass_BYTE)
- || (aType.getTypeClass() == css::uno::TypeClass_SHORT)
- || (aType.getTypeClass() == css::uno::TypeClass_UNSIGNED_SHORT)
- || (aType.getTypeClass() == css::uno::TypeClass_LONG)
- || (aType.getTypeClass() == css::uno::TypeClass_UNSIGNED_LONG)
- ) );
- }
-
SfxItemPropertySimpleEntry( const SfxItemPropertyMapEntry* pMapEntry )
: nWID( pMapEntry->nWID )
, aType( pMapEntry->aType )
diff --git a/include/tools/gen.hxx b/include/tools/gen.hxx
index d37ece2bedb5..53f7fb716e3c 100644
--- a/include/tools/gen.hxx
+++ b/include/tools/gen.hxx
@@ -745,10 +745,6 @@ inline SvStream& ReadPair( SvStream& rIStream, Point& v ) { return ReadPair(rISt
inline SvStream& WritePair( SvStream& rOStream, const Point& v ) { return WritePair(rOStream, v.toPair()); }
inline SvStream& ReadPair( SvStream& rIStream, Size& v ) { return ReadPair(rIStream, v.toPair()); }
inline SvStream& WritePair( SvStream& rOStream, const Size& v ) { return WritePair(rOStream, v.toPair()); }
-inline SvStream& ReadPair( SvStream& rIStream, Range& v ) { return ReadPair(rIStream, v.toPair()); }
-inline SvStream& WritePair( SvStream& rOStream, const Range& v ) { return WritePair(rOStream, v.toPair()); }
-inline SvStream& ReadPair( SvStream& rIStream, Selection& v ) { return ReadPair(rIStream, v.toPair()); }
-inline SvStream& WritePair( SvStream& rOStream, const Selection& v ) { return WritePair(rOStream, v.toPair()); }
#endif
diff --git a/include/vcl/btndlg.hxx b/include/vcl/btndlg.hxx
index c449eec8a3e3..86122f979d8a 100644
--- a/include/vcl/btndlg.hxx
+++ b/include/vcl/btndlg.hxx
@@ -59,19 +59,12 @@ public:
void SetPageSizePixel( const Size& rSize ) { maPageSize = rSize; }
- sal_uInt16 GetCurButtonId() const { return mnCurButtonId; }
-
void AddButton( const OUString& rText, sal_uInt16 nId, ButtonDialogFlags nBtnFlags = ButtonDialogFlags::NONE, long nSepPixel = 0 );
void AddButton( StandardButtonType eType, sal_uInt16 nId, ButtonDialogFlags nBtnFlags = ButtonDialogFlags::NONE, long nSepPixel = 0 );
void RemoveButton( sal_uInt16 nId );
- void Clear();
sal_uInt16 GetButtonId( sal_uInt16 nButton ) const;
PushButton* GetPushButton( sal_uInt16 nId ) const;
- void SetButtonText( sal_uInt16 nId, const OUString& rText );
- void SetButtonHelpText( sal_uInt16 nId, const OUString& rText );
-
- void SetFocusButton( sal_uInt16 nId ) { mnFocusButtonId = nId; }
protected:
ButtonDialog( WindowType nType );
diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx
index c649e9904e6a..71819bf8b2da 100644
--- a/include/vcl/builder.hxx
+++ b/include/vcl/builder.hxx
@@ -81,9 +81,6 @@ public:
//sID may not exist
PopupMenu* get_menu(const OString& sID);
- //given an sID return the response value for that widget
- short get_response(const vcl::Window *pWindow) const;
-
//release ownership of pWindow, i.e. don't delete it
void drop_ownership(const vcl::Window *pWindow);
diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx
index cfea8a19a5e9..b225a932dd86 100644
--- a/include/xmloff/xmlexp.hxx
+++ b/include/xmloff/xmlexp.hxx
@@ -467,11 +467,6 @@ public:
bool AddEmbeddedXGraphicAsBase64(css::uno::Reference<css::graphic::XGraphic> const & rxGraphic);
bool GetGraphicMimeTypeFromStream(css::uno::Reference<css::graphic::XGraphic> const & rxGraphic, OUString & rOutMimeType);
- css::uno::Reference<css::io::XInputStream> GetEmbeddedGraphicObjectStream(
- const OUString& rGraphicObjectURL);
- bool AddEmbeddedGraphicObjectAsBase64(
- const OUString& rGraphicObjectURL );
-
OUString AddEmbeddedObject(
const OUString& rEmbeddedObjectURL );
bool AddEmbeddedObjectAsBase64(
diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx
index 691d3e704b54..3f6f3bd504ce 100644
--- a/include/xmloff/xmlimp.hxx
+++ b/include/xmloff/xmlimp.hxx
@@ -571,14 +571,6 @@ public:
*/
sal_uInt16 getGeneratorVersion() const;
- /** If true, the URL for graphic shapes may be stored as a package URL and
- loaded later (on demand) by the application. Otherwise graphics are
- loaded immediately and the graphic shape gets the graphic manager URL.
-
- @see <member>mbIsGraphicLoadOnDemandSupported</member>
- */
- bool isGraphicLoadOnDemandSupported() const { return mbIsGraphicLoadOnDemandSupported;}
-
/**
Returns true if the embedded font document URL has already been processed.
Otherwise returns false and consequent calls with the same URL will return true.