summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorElton Chung <elton@layerjet.com>2012-02-10 14:53:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-10 15:42:53 +0000
commitea1fa6963d1f45130a3dc3d635e5b37120bf364b (patch)
treefaf9361fae977f504e9d4ce795c3f6225bff67fb /vcl
parent4e022ca124bbedfc6464f67edd11f3edd51d24e8 (diff)
Remove unused code
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/vcl/hatch.hxx1
-rw-r--r--vcl/source/gdi/hatch.cxx9
2 files changed, 0 insertions, 10 deletions
diff --git a/vcl/inc/vcl/hatch.hxx b/vcl/inc/vcl/hatch.hxx
index 947740229f7f..a1896a48cc88 100644
--- a/vcl/inc/vcl/hatch.hxx
+++ b/vcl/inc/vcl/hatch.hxx
@@ -78,7 +78,6 @@ public:
sal_Bool operator!=( const Hatch& rHatch ) const { return !(Hatch::operator==( rHatch ) ); }
sal_Bool IsSameInstance( const Hatch& rHatch ) const { return( mpImplHatch == rHatch.mpImplHatch ); }
- void SetStyle( HatchStyle eStyle );
HatchStyle GetStyle() const { return mpImplHatch->meStyle; }
void SetColor( const Color& rColor );
diff --git a/vcl/source/gdi/hatch.cxx b/vcl/source/gdi/hatch.cxx
index 7b8b68226f00..d834c9e56fb6 100644
--- a/vcl/source/gdi/hatch.cxx
+++ b/vcl/source/gdi/hatch.cxx
@@ -144,15 +144,6 @@ void Hatch::ImplMakeUnique()
// -----------------------------------------------------------------------
-void Hatch::SetStyle( HatchStyle eStyle )
-{
- DBG_CHKTHIS( Hatch, NULL );
- ImplMakeUnique();
- mpImplHatch->meStyle = eStyle;
-}
-
-// -----------------------------------------------------------------------
-
void Hatch::SetColor( const Color& rColor )
{
DBG_CHKTHIS( Hatch, NULL );