summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorMathieu Vonlanthen <mat_von@fastmail.fm>2012-07-28 16:13:18 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-07-30 05:20:02 +0200
commit0bdf6fc7c71c4c49e6d6f83d56ac953272ad16d5 (patch)
tree08633952db16da614de58e03e1c7a8b4cc83674d /vcl/source/control
parent2fd593ae8a8140188da31bb4fb76f7a9baaba339 (diff)
Bug 48549 - System::Beep() removal
Change-Id: I011048912af051a762a78af8646513a1fc624073
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/field2.cxx1
-rw-r--r--vcl/source/control/scrbar.cxx7
-rw-r--r--vcl/source/control/tabctrl.cxx1
3 files changed, 0 insertions, 9 deletions
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx
index 43c324a628c2..b30e275da104 100644
--- a/vcl/source/control/field2.cxx
+++ b/vcl/source/control/field2.cxx
@@ -29,7 +29,6 @@
#include <comphelper/string.hxx>
#include <tools/rc.h>
#include <vcl/svapp.hxx>
-#include <vcl/sound.hxx>
#include <vcl/event.hxx>
#include <vcl/field.hxx>
#include <vcl/unohelp.hxx>
diff --git a/vcl/source/control/scrbar.cxx b/vcl/source/control/scrbar.cxx
index 863b8274d621..585190153df4 100644
--- a/vcl/source/control/scrbar.cxx
+++ b/vcl/source/control/scrbar.cxx
@@ -28,7 +28,6 @@
#include "vcl/event.hxx"
-#include "vcl/sound.hxx"
#include "vcl/decoview.hxx"
#include "vcl/scrbar.hxx"
#include "vcl/timer.hxx"
@@ -970,8 +969,6 @@ void ScrollBar::MouseButtonDown( const MouseEvent& rMEvt )
meScrollType = SCROLL_LINEUP;
mnDragDraw = SCRBAR_DRAW_BTN1;
}
- else
- Sound::Beep( SOUND_DISABLE, this );
}
else if ( HitTestNativeControl( CTRL_SCROLLBAR, bHorizontal? PART_BUTTON_RIGHT: PART_BUTTON_DOWN,
aControlRegion, rMousePos, bIsInside )?
@@ -984,8 +981,6 @@ void ScrollBar::MouseButtonDown( const MouseEvent& rMEvt )
meScrollType = SCROLL_LINEDOWN;
mnDragDraw = SCRBAR_DRAW_BTN2;
}
- else
- Sound::Beep( SOUND_DISABLE, this );
}
else
{
@@ -1028,8 +1023,6 @@ void ScrollBar::MouseButtonDown( const MouseEvent& rMEvt )
mnStateFlags |= SCRBAR_STATE_THUMB_DOWN;
ImplDraw( mnDragDraw, this );
}
- else
- Sound::Beep( SOUND_DISABLE, this );
}
else if( HitTestNativeControl( CTRL_SCROLLBAR, bHorizontal? PART_TRACK_HORZ_AREA : PART_TRACK_VERT_AREA,
aControlRegion, rMousePos, bIsInside )?
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index ab7ffd387ff4..84d6e37f5dd7 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -38,7 +38,6 @@
#include "vcl/tabpage.hxx"
#include "vcl/tabctrl.hxx"
#include "vcl/controllayout.hxx"
-#include "vcl/sound.hxx"
#include "vcl/lstbox.hxx"
#include "controldata.hxx"