summaryrefslogtreecommitdiff
path: root/cui
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 /cui
parent2fd593ae8a8140188da31bb4fb76f7a9baaba339 (diff)
Bug 48549 - System::Beep() removal
Change-Id: I011048912af051a762a78af8646513a1fc624073
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/colorpicker.cxx1
-rw-r--r--cui/source/dialogs/cuicharmap.cxx5
-rw-r--r--cui/source/dialogs/cuitbxform.cxx1
3 files changed, 1 insertions, 6 deletions
diff --git a/cui/source/dialogs/colorpicker.cxx b/cui/source/dialogs/colorpicker.cxx
index 40f73027bb31..497a210bcf82 100644
--- a/cui/source/dialogs/colorpicker.cxx
+++ b/cui/source/dialogs/colorpicker.cxx
@@ -49,7 +49,6 @@
#include <vcl/field.hxx>
#include <vcl/bmpacc.hxx>
#include <vcl/decoview.hxx>
-#include <vcl/sound.hxx>
#include <vcl/svapp.hxx>
#include <toolkit/helper/vclunohelper.hxx>
diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx
index 458709259dc5..71c3ae4fdfac 100644
--- a/cui/source/dialogs/cuicharmap.cxx
+++ b/cui/source/dialogs/cuicharmap.cxx
@@ -29,7 +29,6 @@
#include <stdio.h>
#include <tools/shl.hxx>
-#include <vcl/sound.hxx>
#include <vcl/svapp.hxx>
#include <svtools/colorcfg.hxx>
#include <svl/eitem.hxx>
@@ -476,9 +475,7 @@ IMPL_LINK_NOARG(SvxCharMapData, CharSelectHdl)
{
String aText = aShowText.GetText();
- if ( aText.Len() == CHARMAP_MAXLEN )
- Sound::Beep( SOUND_WARNING );
- else
+ if ( aText.Len() != CHARMAP_MAXLEN )
{
sal_UCS4 cChar = aShowSet.GetSelectCharacter();
// using the new UCS4 constructor
diff --git a/cui/source/dialogs/cuitbxform.cxx b/cui/source/dialogs/cuitbxform.cxx
index b9e2bc98339f..263102da1a3c 100644
--- a/cui/source/dialogs/cuitbxform.cxx
+++ b/cui/source/dialogs/cuitbxform.cxx
@@ -25,7 +25,6 @@
#include <sfx2/dispatch.hxx>
#include <vcl/toolbox.hxx>
#include <vcl/fixed.hxx>
-#include <vcl/sound.hxx>
#include <dialmgr.hxx>
#include <cuires.hrc>
#include "cuitbxform.hxx"