diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-13 20:52:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-13 21:03:34 +0000 |
commit | f1871a23ac4825b2a253ac63b9205ab9aebc7f9f (patch) | |
tree | 2b33cf42c2071fb7fb8d5646b9a5281c52a05294 /sfx2 | |
parent | c98643446524eaae7774e1b2cb315ce616b116f2 (diff) |
tidy code
devirtualize non-overridden virtuals, remove unused parameters, and
logically shrink based on that to minimum required
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/sfx2/objsh.hxx | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/sfx2/inc/sfx2/objsh.hxx b/sfx2/inc/sfx2/objsh.hxx index 130b9f4930..f9eb6aebb5 100644 --- a/sfx2/inc/sfx2/objsh.hxx +++ b/sfx2/inc/sfx2/objsh.hxx @@ -553,22 +553,16 @@ public: SfxStyleSheetBasePool* ) const; - virtual sal_uInt16 GetContentCount( - sal_uInt16 nIdx1 = INDEX_IGNORE, - sal_uInt16 nIdx2 = INDEX_IGNORE ); - virtual sal_Bool CanHaveChilds( - sal_uInt16 nIdx1, - sal_uInt16 nIdx2 = INDEX_IGNORE ); - virtual void GetContent( String &, + sal_uInt16 GetContentCount(sal_uInt16 nIdx); + bool CanHaveChilds( sal_uInt16 nIdx1, sal_uInt16 nIdx2 ); + void GetContent( String &, Bitmap &rClosedBitmap, Bitmap &rOpenedBitmap, - sal_Bool &bCanDelete, + bool &bCanDelete, sal_uInt16 nPos, - sal_uInt16 nIdx1, - sal_uInt16 nIdx2 = INDEX_IGNORE ); + sal_uInt16 nIdx1 ); - virtual void TriggerHelpPI( - sal_uInt16 nIdx1, sal_uInt16 nIdx2, sal_uInt16 nIdx3); + void TriggerHelpPI(sal_uInt16 nIdx1, sal_uInt16 nIdx2); virtual Bitmap GetStyleFamilyBitmap(SfxStyleFamily eFamily); |