diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-03-12 12:24:29 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-03-12 12:24:29 +0100 |
commit | 60ce6ed678ccf1e2a78c316bc35771cb945cb18d (patch) | |
tree | 4e3fab50d2be73f1a86e9c34c17ca29438c5bc90 /svtools/source/toolpanel | |
parent | ed4a0ba889495ce4841b766ce8ee272479a9d44a (diff) |
slidecopy: silenced GCC compiler warnings
Diffstat (limited to 'svtools/source/toolpanel')
-rw-r--r-- | svtools/source/toolpanel/paneltabbar.cxx | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/svtools/source/toolpanel/paneltabbar.cxx b/svtools/source/toolpanel/paneltabbar.cxx index 894c53d16db4..fdc5f3f23ee3 100644 --- a/svtools/source/toolpanel/paneltabbar.cxx +++ b/svtools/source/toolpanel/paneltabbar.cxx @@ -215,6 +215,7 @@ namespace svt // aControlValue, ::rtl::OUString(), // aBoundingRegion, aContentRegion // ); + (void)i_nItemFlags; return Rectangle( Point( i_rContentArea.Left() - 1, i_rContentArea.Top() - 1 ), Size( i_rContentArea.GetWidth() + 2, i_rContentArea.GetHeight() + 2 ) @@ -472,24 +473,6 @@ namespace svt private: OutputDevice& m_rDevice; }; - - //-------------------------------------------------------------------------------------------------------------- - static void lcl_deflateRect( Rectangle& io_rArea, const Inset& i_rInset ) - { - io_rArea.Left() += i_rInset.nLeft; - io_rArea.Top() += i_rInset.nTop; - io_rArea.Right() -= i_rInset.nRight; - io_rArea.Bottom() -= i_rInset.nBottom; - } - - //-------------------------------------------------------------------------------------------------------------- - static void lcl_inflateRect( Rectangle& io_rArea, const Inset& i_rInset ) - { - io_rArea.Left() -= i_rInset.nLeft; - io_rArea.Top() -= i_rInset.nTop; - io_rArea.Right() += i_rInset.nRight; - io_rArea.Bottom() += i_rInset.nBottom; - } } //================================================================================================================== |