diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-07 21:35:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-07 21:35:57 +0200 |
commit | e2e058d450c1d2fdc6230933ec66c037971b9aea (patch) | |
tree | 7e418e7778242ff6993f194c167c49ec25ac105a /sfx2 | |
parent | 381f21c9287cefcd6c5b55f442292594c74e0846 (diff) |
loplugin:unreffun
Change-Id: I7320d86de08215fb656113cdaca71645c4b9bc2e
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/workwin.cxx | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index 688cdb5fb2f4..2b360fa50974 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -456,67 +456,6 @@ sal_uInt16 ChildAlignValue(SfxChildAlignment eAlign) return ret; } -sal_uInt16 ChildTravelValue( SfxChildAlignment eAlign ) -{ - sal_uInt16 ret = 17; - - switch (eAlign) - { - case SfxChildAlignment::FIRSTLEFT: - ret = 1; - break; - case SfxChildAlignment::LEFT: - ret = 2; - break; - case SfxChildAlignment::LASTLEFT: - ret = 3; - break; - case SfxChildAlignment::TOOLBOXLEFT: - ret = 4; - break; - case SfxChildAlignment::HIGHESTTOP: - ret = 5; - break; - case SfxChildAlignment::TOP: - ret = 6; - break; - case SfxChildAlignment::TOOLBOXTOP: - ret = 7; - break; - case SfxChildAlignment::LOWESTTOP: - ret = 8; - break; - case SfxChildAlignment::HIGHESTBOTTOM: - ret = 9; - break; - case SfxChildAlignment::TOOLBOXBOTTOM: - ret = 10; - break; - case SfxChildAlignment::BOTTOM: - ret = 11; - break; - case SfxChildAlignment::LOWESTBOTTOM: - ret = 12; - break; - case SfxChildAlignment::TOOLBOXRIGHT: - ret = 13; - break; - case SfxChildAlignment::FIRSTRIGHT: - ret = 14; - break; - case SfxChildAlignment::RIGHT: - ret = 15; - break; - case SfxChildAlignment::LASTRIGHT: - ret = 16; - break; - case SfxChildAlignment::NOALIGNMENT: - break; // -Wall not handled. - } - - return ret; -} - void SfxWorkWindow::Sort_Impl() { aSortedList.clear(); |