summaryrefslogtreecommitdiff
path: root/include/svtools/imapobj.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-14 11:27:52 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-14 10:21:55 +0000
commit06ea347b939895d3091ce747c26de58f4d4a766a (patch)
treee93a25d2aadc36c263a8ccd8b593449b37fb8b6b /include/svtools/imapobj.hxx
parent9be8c4f21200aeec5b334d9536b3b7a0b72c24fa (diff)
loplugin:unusedmethods svtools
Change-Id: I04ad31055c04a247faddf4311943ca769051473c Reviewed-on: https://gerrit.libreoffice.org/17032 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svtools/imapobj.hxx')
-rw-r--r--include/svtools/imapobj.hxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/svtools/imapobj.hxx b/include/svtools/imapobj.hxx
index 5fcd543e6383..f604b863cc71 100644
--- a/include/svtools/imapobj.hxx
+++ b/include/svtools/imapobj.hxx
@@ -95,8 +95,6 @@ public:
void Write ( SvStream& rOStm, const OUString& rBaseURL ) const;
void Read( SvStream& rIStm, const OUString& rBaseURL );
- virtual Rectangle GetBoundRect() const = 0;
-
const OUString& GetURL() const { return aURL; }
void SetURL( const OUString& rURL ) { aURL = rURL; }
@@ -120,26 +118,8 @@ public:
// IMap-Events
inline const SvxMacroTableDtor& GetMacroTable() const { return aEventList;}
inline void SetMacroTable( const SvxMacroTableDtor& rTbl ) { aEventList = rTbl; }
-
- inline const SvxMacro& GetEvent( sal_uInt16 nEvent ) const;
- inline bool HasEvent( sal_uInt16 nEvent ) const;
- void SetEvent( sal_uInt16 nEvent, const SvxMacro& );
- inline bool DelEvent( sal_uInt16 nEvent );
};
-inline bool IMapObject::HasEvent( sal_uInt16 nEvent ) const
-{
- return aEventList.IsKeyValid( nEvent );
-}
-inline const SvxMacro& IMapObject::GetEvent( sal_uInt16 nEvent ) const
-{
- return *(aEventList.Get( nEvent ));
-}
-inline bool IMapObject::DelEvent( sal_uInt16 nEvent )
-{
- return aEventList.Erase( nEvent );
-}
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */