summaryrefslogtreecommitdiff
path: root/writerperfect/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-24 20:35:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-25 12:17:39 +0200
commitb26a3db534cd30bee596670e99897ee5ce907adf (patch)
tree0b875722f000d88460b506a34d7a72befe6501be /writerperfect/inc
parent502d73cda8fa1f482634bb6435fd1440757fdad9 (diff)
loplugin:returnconstval in writerperfect
Change-Id: I86e9977438c69c19adafc3743e618321a05e3923 Reviewed-on: https://gerrit.libreoffice.org/78064 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerperfect/inc')
-rw-r--r--writerperfect/inc/DirectoryStream.hxx2
-rw-r--r--writerperfect/inc/DocumentHandlerFor.hxx2
-rw-r--r--writerperfect/inc/DocumentHandlerForOdg.hxx2
-rw-r--r--writerperfect/inc/DocumentHandlerForOdp.hxx2
-rw-r--r--writerperfect/inc/DocumentHandlerForOds.hxx2
-rw-r--r--writerperfect/inc/DocumentHandlerForOdt.hxx2
6 files changed, 6 insertions, 6 deletions
diff --git a/writerperfect/inc/DirectoryStream.hxx b/writerperfect/inc/DirectoryStream.hxx
index 5fb9d2b8d3db..6747c8707109 100644
--- a/writerperfect/inc/DirectoryStream.hxx
+++ b/writerperfect/inc/DirectoryStream.hxx
@@ -44,7 +44,7 @@ public:
static std::unique_ptr<DirectoryStream>
createForParent(const css::uno::Reference<css::ucb::XContent>& xContent);
- const css::uno::Reference<css::ucb::XContent> getContent() const;
+ css::uno::Reference<css::ucb::XContent> getContent() const;
virtual bool isStructured() override;
virtual unsigned subStreamCount() override;
diff --git a/writerperfect/inc/DocumentHandlerFor.hxx b/writerperfect/inc/DocumentHandlerFor.hxx
index 0f31b85fd176..d90039e2c5c2 100644
--- a/writerperfect/inc/DocumentHandlerFor.hxx
+++ b/writerperfect/inc/DocumentHandlerFor.hxx
@@ -16,7 +16,7 @@ namespace writerperfect
*/
template <class Generator> struct DocumentHandlerFor
{
- // static const OUString name();
+ // static OUString name();
};
}
diff --git a/writerperfect/inc/DocumentHandlerForOdg.hxx b/writerperfect/inc/DocumentHandlerForOdg.hxx
index 72968edc14f1..9d46bcbe5492 100644
--- a/writerperfect/inc/DocumentHandlerForOdg.hxx
+++ b/writerperfect/inc/DocumentHandlerForOdg.hxx
@@ -16,7 +16,7 @@ namespace writerperfect
{
template <> struct DocumentHandlerFor<OdgGenerator>
{
- static const OUString name() { return "com.sun.star.comp.Draw.XMLOasisImporter"; }
+ static OUString name() { return "com.sun.star.comp.Draw.XMLOasisImporter"; }
};
}
diff --git a/writerperfect/inc/DocumentHandlerForOdp.hxx b/writerperfect/inc/DocumentHandlerForOdp.hxx
index c919514b80cb..9ef36814df77 100644
--- a/writerperfect/inc/DocumentHandlerForOdp.hxx
+++ b/writerperfect/inc/DocumentHandlerForOdp.hxx
@@ -16,7 +16,7 @@ namespace writerperfect
{
template <> struct DocumentHandlerFor<OdpGenerator>
{
- static const OUString name() { return "com.sun.star.comp.Impress.XMLOasisImporter"; }
+ static OUString name() { return "com.sun.star.comp.Impress.XMLOasisImporter"; }
};
}
diff --git a/writerperfect/inc/DocumentHandlerForOds.hxx b/writerperfect/inc/DocumentHandlerForOds.hxx
index 4ee268176d32..a73944391f28 100644
--- a/writerperfect/inc/DocumentHandlerForOds.hxx
+++ b/writerperfect/inc/DocumentHandlerForOds.hxx
@@ -16,7 +16,7 @@ namespace writerperfect
{
template <> struct DocumentHandlerFor<OdsGenerator>
{
- static const OUString name() { return "com.sun.star.comp.Calc.XMLOasisImporter"; }
+ static OUString name() { return "com.sun.star.comp.Calc.XMLOasisImporter"; }
};
}
diff --git a/writerperfect/inc/DocumentHandlerForOdt.hxx b/writerperfect/inc/DocumentHandlerForOdt.hxx
index ea3742a27dfd..b454e57d7b71 100644
--- a/writerperfect/inc/DocumentHandlerForOdt.hxx
+++ b/writerperfect/inc/DocumentHandlerForOdt.hxx
@@ -16,7 +16,7 @@ namespace writerperfect
{
template <> struct DocumentHandlerFor<OdtGenerator>
{
- static const OUString name() { return "com.sun.star.comp.Writer.XMLOasisImporter"; }
+ static OUString name() { return "com.sun.star.comp.Writer.XMLOasisImporter"; }
};
}