summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-05-09 13:00:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-05-09 14:31:12 +0200
commit7f6d5dfb2244468e2faa7be05d4258692c6e84dc (patch)
tree8c03b0980c003a66f2a2683920c1557a3ada6e8e /include/sfx2
parentb4009daccd11e416865efd5fd3c205c46691bb12 (diff)
loplugin:unusedmethods
Change-Id: I7b4d2e5e611935284e2902b0089950768dfb7717 Reviewed-on: https://gerrit.libreoffice.org/72036 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/basedlgs.hxx2
-rw-r--r--include/sfx2/templatelocalview.hxx44
-rw-r--r--include/sfx2/thumbnailview.hxx6
3 files changed, 0 insertions, 52 deletions
diff --git a/include/sfx2/basedlgs.hxx b/include/sfx2/basedlgs.hxx
index 9f712bd8632b..88f4af7d9b74 100644
--- a/include/sfx2/basedlgs.hxx
+++ b/include/sfx2/basedlgs.hxx
@@ -56,8 +56,6 @@ private:
protected:
SfxModalDialog(vcl::Window *pParent, const OUString& rID, const OUString& rUIXMLDescription);
- OUString& GetExtraData() { return aExtraData; }
-
public:
virtual ~SfxModalDialog() override;
virtual void dispose() override;
diff --git a/include/sfx2/templatelocalview.hxx b/include/sfx2/templatelocalview.hxx
index 329988c455fd..bc79b36a4bbe 100644
--- a/include/sfx2/templatelocalview.hxx
+++ b/include/sfx2/templatelocalview.hxx
@@ -86,44 +86,12 @@ public:
void showRegion (TemplateContainerItem const *pItem);
- void showRegion (const OUString &rName);
-
- void createContextMenu(const bool bIsDefault );
-
DECL_LINK(ContextMenuSelectHdl, Menu*, bool);
TemplateContainerItem* getRegion(OUString const & sStr);
- sal_uInt16 getRegionId (size_t pos) const;
-
- sal_uInt16 getRegionId (OUString const & sRegionName) const;
-
OUString getRegionName(const sal_uInt16 nRegionId) const;
- OUString getRegionItemName(const sal_uInt16 nItemId) const;
-
- std::vector<OUString> getFolderNames ();
-
- std::vector<TemplateItemProperties>
- getFilteredItems (const std::function<bool (const TemplateItemProperties&) > &rFunc) const;
-
- sal_uInt16 createRegion (const OUString &rName);
-
- bool renameRegion(const OUString &rTitle, const OUString &rNewTitle);
-
- bool removeRegion (const sal_uInt16 nItemId);
-
- bool removeTemplate (const sal_uInt16 nItemId, const sal_uInt16 nSrcItemId);
-
- bool moveTemplate (const ThumbnailViewItem* pItem, const sal_uInt16 nSrcItem,
- const sal_uInt16 nTargetItem);
-
- void moveTemplates (const std::set<const ThumbnailViewItem*,selection_cmp_fn> &rItems, const sal_uInt16 nTargetItem);
-
- bool copyFrom(TemplateContainerItem *pItem, const OUString &rPath);
-
- bool exportTo (const sal_uInt16 nItemId, const sal_uInt16 nRegionItemId, const OUString &rName);
-
virtual bool renameItem(ThumbnailViewItem* pItem, const OUString& sNewTitle) override;
virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
@@ -134,24 +102,14 @@ public:
virtual void KeyInput( const KeyEvent& rKEvt ) override;
- sal_uInt16 getCurRegionId () const { return mnCurRegionId;}
-
- void setOpenRegionHdl(const Link<void*,void> &rLink);
-
void setCreateContextMenuHdl(const Link<ThumbnailViewItem*,void> &rLink);
void setOpenTemplateHdl(const Link<ThumbnailViewItem*,void> &rLink);
void setEditTemplateHdl(const Link<ThumbnailViewItem*,void> &rLink);
- void setDeleteTemplateHdl(const Link<ThumbnailViewItem*,void> &rLink);
-
- void setDefaultTemplateHdl(const Link<ThumbnailViewItem*,void> &rLink);
-
void updateThumbnailDimensions(long itemMaxSize);
- void RemoveDefaultTemplateIcon( const OUString& rPath);
-
static BitmapEx scaleImg (const BitmapEx &rImg, long width, long height);
static BitmapEx getDefaultThumbnail( const OUString& rPath );
@@ -268,8 +226,6 @@ public:
void setDefaultTemplateHdl(const Link<ThumbnailViewItem*,void> &rLink);
- void updateThumbnailDimensions(long itemMaxSize);
-
void RemoveDefaultTemplateIcon( const OUString& rPath);
static BitmapEx scaleImg (const BitmapEx &rImg, long width, long height);
diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx
index 1bc476a47fa5..825244b81445 100644
--- a/include/sfx2/thumbnailview.hxx
+++ b/include/sfx2/thumbnailview.hxx
@@ -226,12 +226,8 @@ public:
void ShowTooltips( bool bShowTooltips );
- void SetMultiSelectionEnabled( bool bIsMultiSelectionEnabled );
-
void filterItems (const std::function<bool (const ThumbnailViewItem*) > &func);
- void setItemStateHdl (const Link<const ThumbnailViewItem*,void> &aLink) { maItemStateHdl = aLink; }
-
virtual void Resize() override;
static BitmapEx readThumbnail(const OUString &msURL);
@@ -375,8 +371,6 @@ public:
virtual void Resize() override;
- static BitmapEx readThumbnail(const OUString &msURL);
-
virtual void Show() override
{
mxScrolledWindow->show();