diff options
-rw-r--r-- | include/sfx2/objitem.hxx | 3 | ||||
-rw-r--r-- | sfx2/source/doc/objitem.cxx | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/include/sfx2/objitem.hxx b/include/sfx2/objitem.hxx index 7fb199c88ab1..17b7f0cf1de2 100644 --- a/include/sfx2/objitem.hxx +++ b/include/sfx2/objitem.hxx @@ -36,6 +36,9 @@ public: virtual bool operator==( const SfxPoolItem& ) const override; virtual SfxObjectItem* Clone( SfxItemPool *pPool = nullptr ) const override; + virtual bool QueryValue(css::uno::Any&, sal_uInt8 nMemberId = 0) const override; + virtual bool PutValue(const css::uno::Any&, sal_uInt8) override; + SfxShell* GetShell() const { return _pSh; } }; diff --git a/sfx2/source/doc/objitem.cxx b/sfx2/source/doc/objitem.cxx index 7165a475e291..e776e6608788 100644 --- a/sfx2/source/doc/objitem.cxx +++ b/sfx2/source/doc/objitem.cxx @@ -84,4 +84,14 @@ SfxObjectItem* SfxObjectItem::Clone( SfxItemPool *) const return new SfxObjectItem( *this ); } +bool SfxObjectItem::QueryValue(css::uno::Any&, sal_uInt8) const +{ + return false; +} + +bool SfxObjectItem::PutValue(const css::uno::Any&, sal_uInt8) +{ + return false; +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |