summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp/labprt.cxx
diff options
context:
space:
mode:
authorJacek Wolszczak <shutdownrunner@gmail.com>2010-10-20 15:36:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-20 15:36:15 +0100
commit6031a9e618344f8e32f0502db6c0e6ecd6a4de38 (patch)
tree37f0af5c58482d8ca0dca644c257c81890f17903 /sw/source/ui/envelp/labprt.cxx
parent76ca32af52e801725855a09815c078f331aa292d (diff)
convert to new OSL family of asserts
Diffstat (limited to 'sw/source/ui/envelp/labprt.cxx')
-rw-r--r--sw/source/ui/envelp/labprt.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/envelp/labprt.cxx b/sw/source/ui/envelp/labprt.cxx
index 1b521ea099a2..7dce45446dec 100644
--- a/sw/source/ui/envelp/labprt.cxx
+++ b/sw/source/ui/envelp/labprt.cxx
@@ -67,7 +67,7 @@ SwLabPrtPage::SwLabPrtPage(Window* pParent, const SfxItemSet& rSet) :
FreeResource();
SetExchangeSupport();
- // Handler installieren
+ // Install handlers
Link aLk = LINK(this, SwLabPrtPage, CountHdl);
aPageButton .SetClickHdl( aLk );
aSingleButton.SetClickHdl( aLk );
@@ -95,7 +95,7 @@ IMPL_LINK( SwLabPrtPage, CountHdl, Button *, pButton )
{
if (pButton == &aPrtSetup)
{
- // Druck-Setup aufrufen
+ // Call printer setup
if (!pPrinter)
pPrinter = new Printer;
@@ -116,9 +116,9 @@ IMPL_LINK( SwLabPrtPage, CountHdl, Button *, pButton )
if ( bEnable )
aColField.GrabFocus();
-#ifdef DBG_UTIL
+#if OSL_DEBUG_LEVEL > 1
else
- ASSERT( pButton == &aPageButton, "NewButton?" );
+ OSL_ENSURE( pButton == &aPageButton, "NewButton?" );
#endif
return 0;
}