summaryrefslogtreecommitdiff
path: root/package/inc/ZipOutputStream.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-21 20:06:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-22 09:34:43 +0200
commit7a769391772b1184d801a123fb226017e8d65848 (patch)
tree41e5a167d37a549d54bf4ad0b12b48b9c3221ac9 /package/inc/ZipOutputStream.hxx
parentd5b07dc9c0185e59077e54c91792476dcbba8d44 (diff)
loplugin:constmethod in package
Change-Id: I44bc86a179164e1d039dd3a5f2c8a23396d870b3 Reviewed-on: https://gerrit.libreoffice.org/77931 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'package/inc/ZipOutputStream.hxx')
-rw-r--r--package/inc/ZipOutputStream.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/inc/ZipOutputStream.hxx b/package/inc/ZipOutputStream.hxx
index b527abde1443..aeb7ab1f86e8 100644
--- a/package/inc/ZipOutputStream.hxx
+++ b/package/inc/ZipOutputStream.hxx
@@ -63,7 +63,7 @@ public:
/// @throws css::io::IOException
/// @throws css::uno::RuntimeException
void finish();
- const css::uno::Reference< css::io::XOutputStream >& getStream();
+ const css::uno::Reference< css::io::XOutputStream >& getStream() const;
static sal_uInt32 getCurrentDosTime();
static void setEntry( ZipEntry *pEntry );
@@ -87,7 +87,7 @@ public:
void reduceScheduledThreadTasksToGivenNumberOrLess(
sal_Int32 nThreadTasks);
- const std::shared_ptr<comphelper::ThreadTaskTag>& getThreadTaskTag() { return mpThreadTaskTag; }
+ const std::shared_ptr<comphelper::ThreadTaskTag>& getThreadTaskTag() const { return mpThreadTaskTag; }
};
#endif