diff options
author | Mathieu Vonlanthen <mat_von@fastmail.fm> | 2012-07-28 16:13:18 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-07-30 05:20:02 +0200 |
commit | 0bdf6fc7c71c4c49e6d6f83d56ac953272ad16d5 (patch) | |
tree | 08633952db16da614de58e03e1c7a8b4cc83674d /vcl/source/app | |
parent | 2fd593ae8a8140188da31bb4fb76f7a9baaba339 (diff) |
Bug 48549 - System::Beep() removal
Change-Id: I011048912af051a762a78af8646513a1fc624073
Diffstat (limited to 'vcl/source/app')
-rw-r--r-- | vcl/source/app/dbggui.cxx | 2 | ||||
-rw-r--r-- | vcl/source/app/sound.cxx | 40 |
2 files changed, 0 insertions, 42 deletions
diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx index 5603d4cefa34..7f7ead52e4f7 100644 --- a/vcl/source/app/dbggui.cxx +++ b/vcl/source/app/dbggui.cxx @@ -49,7 +49,6 @@ #include "vcl/field.hxx" #include "vcl/msgbox.hxx" #include "vcl/wrkwin.hxx" -#include "vcl/sound.hxx" #include "vcl/threadex.hxx" #include "svdata.hxx" @@ -1664,7 +1663,6 @@ void DbgPrintMsgBox( const char* pLine ) } #endif - Sound::Beep( SOUND_ERROR ); #ifdef UNX fprintf( stderr, "%s\n", pLine ); return; diff --git a/vcl/source/app/sound.cxx b/vcl/source/app/sound.cxx deleted file mode 100644 index 498842c2e7ec..000000000000 --- a/vcl/source/app/sound.cxx +++ /dev/null @@ -1,40 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - - -#include <vcl/svapp.hxx> -#include <vcl/window.hxx> -#include <vcl/sound.hxx> - -#include <salframe.hxx> -#include <svdata.hxx> - -void Sound::Beep( SoundType eType, Window* pWindow ) -{ - // #i91990# - if ( Application::IsHeadlessModeEnabled() ) - return; - - if ( !pWindow ) - pWindow = ImplGetDefaultWindow(); - - pWindow->ImplGetFrame()->Beep( eType ); -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |