summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/unotools/configitem.hxx8
-rw-r--r--include/unotools/streamwrap.hxx6
2 files changed, 8 insertions, 6 deletions
diff --git a/include/unotools/configitem.hxx b/include/unotools/configitem.hxx
index f04f2b057798..649c05fdbe28 100644
--- a/include/unotools/configitem.hxx
+++ b/include/unotools/configitem.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_UNOTOOLS_CONFIGITEM_HXX
#include <sal/types.h>
+#include <rtl/ref.hxx>
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Sequence.h>
#include <com/sun/star/uno/Reference.h>
@@ -57,6 +58,7 @@ namespace o3tl
namespace utl
{
+class ConfigChangeListener_Impl;
enum class ConfigNameFormat
{
@@ -72,7 +74,7 @@ namespace utl
const OUString sSubTree;
css::uno::Reference< css::container::XHierarchicalNameAccess>
m_xHierarchyAccess;
- css::uno::Reference< css::util::XChangesListener >
+ rtl::Reference< ConfigChangeListener_Impl >
xChangeLstnr;
ConfigItemMode m_nMode;
bool m_bIsModified;
@@ -144,8 +146,8 @@ namespace utl
public:
virtual ~ConfigItem() override;
- ConfigItem(ConfigItem const &) = default;
- ConfigItem(ConfigItem &&) = default;
+ ConfigItem(ConfigItem const &);
+ ConfigItem(ConfigItem &&);
ConfigItem & operator =(ConfigItem const &) = delete; // due to const sSubTree
ConfigItem & operator =(ConfigItem &&) = delete; // due to const sSubTree
diff --git a/include/unotools/streamwrap.hxx b/include/unotools/streamwrap.hxx
index dfe0134086a0..a21d9e070995 100644
--- a/include/unotools/streamwrap.hxx
+++ b/include/unotools/streamwrap.hxx
@@ -104,14 +104,14 @@ class OOutputStreamWrapper : public cppu::WeakImplHelper<css::io::XOutputStream>
public:
UNOTOOLS_DLLPUBLIC OOutputStreamWrapper(SvStream& _rStream);
-protected:
- virtual ~OOutputStreamWrapper() override;
-
// css::io::XOutputStream
virtual void SAL_CALL writeBytes(const css::uno::Sequence< sal_Int8 >& aData) override final;
virtual void SAL_CALL flush() override final;
virtual void SAL_CALL closeOutput() override final;
+protected:
+ virtual ~OOutputStreamWrapper() override;
+
/// throws an exception according to the error flag of m_pSvStream
void checkError() const;