summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-05-17 23:29:31 +0200
committerMichael Meeks <michael.meeks@suse.com>2013-05-20 11:33:40 +0100
commit78afd7f6579eff4c3d8688b38d3b9d025be2098b (patch)
treefe8e2c4dcf128adbaa61a7485e6b498b80e040bc
parent956aae27b85d914a23044ebe437484f0dee26815 (diff)
sidebar: Kill DrawBevelBorder(), nobody uses that now.
Change-Id: I7901ad17515002c8568a46f9a11c0c9919c0841e
-rw-r--r--sfx2/source/sidebar/DrawHelper.cxx74
-rw-r--r--sfx2/source/sidebar/DrawHelper.hxx7
2 files changed, 0 insertions, 81 deletions
diff --git a/sfx2/source/sidebar/DrawHelper.cxx b/sfx2/source/sidebar/DrawHelper.cxx
index f8172b2cf52c..85dbe372da60 100644
--- a/sfx2/source/sidebar/DrawHelper.cxx
+++ b/sfx2/source/sidebar/DrawHelper.cxx
@@ -21,7 +21,6 @@
#include <vcl/lineinfo.hxx>
-
namespace sfx2 { namespace sidebar {
void DrawHelper::DrawBorder (
@@ -65,70 +64,6 @@ void DrawHelper::DrawBorder (
rVerticalPaint);
}
-
-
-
-void DrawHelper::DrawBevelBorder (
- OutputDevice& rDevice,
- const Rectangle rBox,
- const SvBorder aBorderSize,
- const Paint& rTopLeftPaint,
- const Paint& rCenterPaint,
- const Paint& rBottomRightPaint)
-{
- // Draw top line.
- DrawHorizontalLine(
- rDevice,
- rBox.Left(),
- rBox.Right() - aBorderSize.Right(),
- rBox.Top(),
- aBorderSize.Top(),
- rTopLeftPaint);
- // Draw bottom line.
- DrawHorizontalLine(
- rDevice,
- rBox.Left()+aBorderSize.Left(),
- rBox.Right(),
- rBox.Bottom()-aBorderSize.Bottom()+1,
- aBorderSize.Bottom(),
- rBottomRightPaint);
- // Draw left line.
- DrawVerticalLine(
- rDevice,
- rBox.Top()+aBorderSize.Top(),
- rBox.Bottom() - aBorderSize.Bottom(),
- rBox.Left(),
- aBorderSize.Left(),
- rTopLeftPaint);
- // Draw right line.
- DrawVerticalLine(
- rDevice,
- rBox.Top()+aBorderSize.Top(),
- rBox.Bottom()-aBorderSize.Bottom(),
- rBox.Right()-aBorderSize.Right()+1,
- aBorderSize.Right(),
- rBottomRightPaint);
- // Draw top right corner.
- DrawVerticalLine(
- rDevice,
- rBox.Top(),
- rBox.Top()+aBorderSize.Top()-1,
- rBox.Right()-aBorderSize.Right()+1,
- aBorderSize.Right(),
- rCenterPaint);
- // Draw bottom right corner.
- DrawVerticalLine(
- rDevice,
- rBox.Bottom() - aBorderSize.Bottom()+1,
- rBox.Bottom(),
- rBox.Left(),
- aBorderSize.Left(),
- rCenterPaint);
-}
-
-
-
-
void DrawHelper::DrawHorizontalLine(
OutputDevice& rDevice,
const sal_Int32 nLeft,
@@ -165,9 +100,6 @@ void DrawHelper::DrawHorizontalLine(
}
}
-
-
-
void DrawHelper::DrawVerticalLine(
OutputDevice& rDevice,
const sal_Int32 nTop,
@@ -204,9 +136,6 @@ void DrawHelper::DrawVerticalLine(
}
}
-
-
-
void DrawHelper::DrawRoundedRectangle (
OutputDevice& rDevice,
const Rectangle& rBox,
@@ -238,7 +167,4 @@ void DrawHelper::DrawRoundedRectangle (
}
}
-
-
-
} } // end of namespace sfx2::sidebar
diff --git a/sfx2/source/sidebar/DrawHelper.hxx b/sfx2/source/sidebar/DrawHelper.hxx
index 45bf7ea9c25b..c17c9ed6a1b0 100644
--- a/sfx2/source/sidebar/DrawHelper.hxx
+++ b/sfx2/source/sidebar/DrawHelper.hxx
@@ -39,13 +39,6 @@ public:
const SvBorder aBorderSize,
const Paint& rHorizontalPaint,
const Paint& rVerticalPaint);
- static void DrawBevelBorder (
- OutputDevice& rDevice,
- const Rectangle rBox,
- const SvBorder aBorderSize,
- const Paint& rTopLeftPaint,
- const Paint& rCenterPaint,
- const Paint& rBottomRightPaint);
static void DrawHorizontalLine(
OutputDevice& rDevice,
const sal_Int32 nLeft,