summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-08 09:57:25 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-08 13:06:58 +0000
commit602647c2417e0e19e44f9c35a49fbb88ff8ac261 (patch)
treefb56a519ec12c3884a70862272c554c89d3b4b75 /include/sfx2
parent8f25e553b91f5ed3544c580a450658cc76ffed56 (diff)
loplugin:unnecessaryvirtual
Change-Id: If25d9307efda5f57b0f80a0cf5c2c5cab6a752d6 Reviewed-on: https://gerrit.libreoffice.org/27981 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/objsh.hxx2
-rw-r--r--include/sfx2/templatelocalview.hxx6
-rw-r--r--include/sfx2/thumbnailviewitem.hxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index cc4b74ca0b3e..3c7f9e841000 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -435,7 +435,7 @@ public:
static sal_uInt32 HandleFilter( SfxMedium* pMedium, SfxObjectShell* pDoc );
virtual bool PrepareClose(bool bUI = true);
- virtual bool IsInformationLost();
+ bool IsInformationLost();
virtual HiddenInformation GetHiddenInformationState( HiddenInformation nStates );
sal_Int16 QueryHiddenInformation( HiddenWarningFact eFact, vcl::Window* pParent );
bool IsSecurityOptOpenReadOnly() const;
diff --git a/include/sfx2/templatelocalview.hxx b/include/sfx2/templatelocalview.hxx
index 3db83979706a..f139b2608ac4 100644
--- a/include/sfx2/templatelocalview.hxx
+++ b/include/sfx2/templatelocalview.hxx
@@ -87,13 +87,13 @@ public:
void insertItems (const std::vector<TemplateItemProperties> &rTemplates, bool isRegionSelected = true, bool bShowCategoryInTooltip = false);
// Fill view with template folders thumbnails
- virtual void Populate ();
+ void Populate ();
virtual void reload ();
virtual void showAllTemplates ();
- virtual void showRegion (TemplateContainerItem *pItem);
+ void showRegion (TemplateContainerItem *pItem);
void showRegion (const OUString &rName);
@@ -116,7 +116,7 @@ public:
std::vector<TemplateItemProperties>
getFilteredItems (const std::function<bool (const TemplateItemProperties&) > &rFunc) const;
- virtual sal_uInt16 createRegion (const OUString &rName);
+ sal_uInt16 createRegion (const OUString &rName);
bool renameRegion(const OUString &rTitle, const OUString &rNewTitle);
diff --git a/include/sfx2/thumbnailviewitem.hxx b/include/sfx2/thumbnailviewitem.hxx
index ed3c4231f5e5..b39c1d2d5844 100644
--- a/include/sfx2/thumbnailviewitem.hxx
+++ b/include/sfx2/thumbnailviewitem.hxx
@@ -105,7 +105,7 @@ public:
void setHelpText (const OUString &sText) { maHelpText = sText; }
virtual OUString getHelpText() const { return maHelpText; };
- virtual OUString getTitle() const { return maTitle; };
+ OUString getTitle() const { return maTitle; };
void setTitle (const OUString& rTitle);