diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-11 13:01:53 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-11 13:17:08 +0100 |
commit | 214f5cf2f104c1e64307ca9d4b933a39c87c507b (patch) | |
tree | 69c44b093b1b66024c36bcd00b59bb253e3e00ca | |
parent | 00c62e306f4fd866f04a496a28c15d317ba02222 (diff) |
loplugin:privatebase: Publicly derive from UNO interfaces
Somewhat arbitrarily prefer public over private derivation; the former is what
is used by default across the code base.
Change-Id: I936c1b0d3231ac97015863f396a5af49f6c9647b
-rw-r--r-- | extensions/source/scanner/sane.hxx | 2 | ||||
-rw-r--r-- | package/source/xstor/owriteablestream.hxx | 2 | ||||
-rw-r--r-- | svtools/source/inc/unoiface.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/access/acccell.hxx | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/extensions/source/scanner/sane.hxx b/extensions/source/scanner/sane.hxx index 5b80d3964abf..504ede7804f2 100644 --- a/extensions/source/scanner/sane.hxx +++ b/extensions/source/scanner/sane.hxx @@ -29,7 +29,7 @@ // - BitmapTransporter - -class BitmapTransporter : public OWeakObject, css::awt::XBitmap +class BitmapTransporter : public OWeakObject, public css::awt::XBitmap { SvMemoryStream m_aStream; osl::Mutex m_aProtector; diff --git a/package/source/xstor/owriteablestream.hxx b/package/source/xstor/owriteablestream.hxx index d34f1fb89cb9..c84a653fca45 100644 --- a/package/source/xstor/owriteablestream.hxx +++ b/package/source/xstor/owriteablestream.hxx @@ -230,7 +230,7 @@ public: sal_Int32 GetNewRelId() { return m_nRelId ++; } }; -class OWriteStream : css::lang::XTypeProvider +class OWriteStream : public css::lang::XTypeProvider , public css::io::XInputStream , public css::io::XOutputStream , public css::embed::XExtendedStorageStream diff --git a/svtools/source/inc/unoiface.hxx b/svtools/source/inc/unoiface.hxx index 13178e423019..659b36383f6d 100644 --- a/svtools/source/inc/unoiface.hxx +++ b/svtools/source/inc/unoiface.hxx @@ -113,7 +113,7 @@ public: // class VCLXFileControl -class VCLXFileControl : css::awt::XTextComponent, public css::awt::XTextLayoutConstrains, public VCLXWindow +class VCLXFileControl : public css::awt::XTextComponent, public css::awt::XTextLayoutConstrains, public VCLXWindow { protected: DECL_LINK_TYPED(ModifyHdl, Edit&, void); diff --git a/sw/source/core/access/acccell.hxx b/sw/source/core/access/acccell.hxx index 6d66f33e35b9..62585a3faa22 100644 --- a/sw/source/core/access/acccell.hxx +++ b/sw/source/core/access/acccell.hxx @@ -29,8 +29,8 @@ class SwAccessibleTable; class SwFrameFormat; class SwAccessibleCell : public SwAccessibleContext, - css::accessibility::XAccessibleValue, - css::accessibility::XAccessibleSelection, + public css::accessibility::XAccessibleValue, + public css::accessibility::XAccessibleSelection, public css::accessibility::XAccessibleExtendedAttributes { // Implementation for XAccessibleSelection interface |