summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-06-12 14:42:51 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-07-20 01:26:08 -0400
commite873661f6c20389d50ee2d4661b00d111e46f3e5 (patch)
tree724646bac031fa8984ff3f3a6a02a0ab6756045b /vcl/source/window
parentd48ceabd7aef42580d70c680ac863f497b146cca (diff)
convert more DBG_ASSERT(false to SAL_WARN
Reviewed-on: https://gerrit.libreoffice.org/26195 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> (cherry picked from commit 272a8afa60fe9a6b497c69a58b0054ad5b880690) Change-Id: Ie52f28f28c67a91c4d3d4517d5c6a466890c7a55
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/dlgctrl.cxx2
-rw-r--r--vcl/source/window/menu.cxx2
-rw-r--r--vcl/source/window/printdlg.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/dlgctrl.cxx b/vcl/source/window/dlgctrl.cxx
index 3895ae2f4b50..2dbda7fdfb32 100644
--- a/vcl/source/window/dlgctrl.cxx
+++ b/vcl/source/window/dlgctrl.cxx
@@ -368,7 +368,7 @@ vcl::Window* ImplFindDlgCtrlWindow( vcl::Window* pParent, vcl::Window* pWindow,
if ( nIteration >= 2 )
{
// this is an unexpected scenario
- DBG_ASSERT( false, "It seems to be an endless loop!" );
+ SAL_WARN( "vcl", "It seems to be an endless loop!" );
rFormStart = 0;
break;
}
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index bf1a68a1dc72..89593b5c9eb1 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -1018,7 +1018,7 @@ void Menu::ShowItem( sal_uInt16 nItemId, bool bVisible )
vcl::Window* pWin = ImplGetWindow();
if ( pWin && pWin->IsVisible() )
{
- DBG_ASSERT( false, "Menu::ShowItem - ignored for visible popups!" );
+ SAL_WARN( "vcl", "Menu::ShowItem - ignored for visible popups!" );
return;
}
pData->bVisible = bVisible;
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 71c175b52dfc..1d3eff4a033b 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -1714,7 +1714,7 @@ void PrintDialog::updateWindowFromProperty( const OUString& i_rProperty )
}
else
{
- DBG_ASSERT( false, "missing a checkbox" );
+ SAL_WARN( "vcl", "missing a checkbox" );
}
}
else if( pValue->Value >>= nVal )