diff options
author | Kayo Hamid <revol.code@yahoo.com> | 2010-11-30 16:44:46 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2010-11-30 16:44:46 +0100 |
commit | 1f6aa8f2a8352cc5cc3ef8981afa278a9759c379 (patch) | |
tree | e04367b885eeeaec41c59e30c9f41670b5ac966e /sw/source/ui/utlui | |
parent | 276c2a21860c78ff370b2b6c2212dc46ec3d9080 (diff) |
clean code at writer
Diffstat (limited to 'sw/source/ui/utlui')
-rw-r--r-- | sw/source/ui/utlui/navicfg.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/utlui/numfmtlb.cxx | 7 | ||||
-rw-r--r-- | sw/source/ui/utlui/unotools.cxx | 1 | ||||
-rw-r--r-- | sw/source/ui/utlui/viewlayoutctrl.cxx | 14 |
4 files changed, 0 insertions, 23 deletions
diff --git a/sw/source/ui/utlui/navicfg.cxx b/sw/source/ui/utlui/navicfg.cxx index cbc89fb4bbf3..3dc9320cb1a4 100644 --- a/sw/source/ui/utlui/navicfg.cxx +++ b/sw/source/ui/utlui/navicfg.cxx @@ -77,7 +77,6 @@ SwNavigationConfig::SwNavigationConfig() : { Sequence<OUString> aNames = GetPropertyNames(); Sequence<Any> aValues = GetProperties(aNames); -// EnableNotification(aNames); const Any* pValues = aValues.getConstArray(); OSL_ENSURE(aValues.getLength() == aNames.getLength(), "GetProperties failed"); if(aValues.getLength() == aNames.getLength()) diff --git a/sw/source/ui/utlui/numfmtlb.cxx b/sw/source/ui/utlui/numfmtlb.cxx index 13aecfd2bbc4..caa7f7466892 100644 --- a/sw/source/ui/utlui/numfmtlb.cxx +++ b/sw/source/ui/utlui/numfmtlb.cxx @@ -335,7 +335,6 @@ void NumFormatListBox::SetDefFormat(const ULONG nDefFmt) while ((ULONG)GetEntryData(nPos) == ULONG_MAX) nPos++; -// ULONG nSysNumFmt = pFormatter->GetFormatIndex( NF_NUMBER_SYSTEM, eCurLanguage); ULONG nSysShortDateFmt = pFormatter->GetFormatIndex( NF_DATE_SYSTEM_SHORT, eCurLanguage); ULONG nSysLongDateFmt = pFormatter->GetFormatIndex( NF_DATE_SYSTEM_LONG, eCurLanguage); @@ -471,12 +470,6 @@ double NumFormatListBox::GetDefValue(const short nFormatType) const case NUMBERFORMAT_TIME: fDefValue = SVX_NUMVAL_TIME; break; -/* { - String sValue("31.8.1997 16:57:34"); - ULONG nFormat = pFormatter->GetStandardFormat(nFormatType, LANGUAGE_GERMAN); - pFormatter->IsNumberFormat( sValue, nFormat, fDefValue ); - } - break;*/ case NUMBERFORMAT_TEXT: case NUMBERFORMAT_UNDEFINED: diff --git a/sw/source/ui/utlui/unotools.cxx b/sw/source/ui/utlui/unotools.cxx index b805494580a3..0bf8d24358b3 100644 --- a/sw/source/ui/utlui/unotools.cxx +++ b/sw/source/ui/utlui/unotools.cxx @@ -308,7 +308,6 @@ IMPL_LINK( SwOneExampleFrame, TimeoutHdl, Timer*, pTimer ) if( aInitializedLink.IsSet() ) { rWindow.Enable(sal_False, sal_True); - //rWindow.Enable(sal_True, sal_False); aInitializedLink.Call(this); } diff --git a/sw/source/ui/utlui/viewlayoutctrl.cxx b/sw/source/ui/utlui/viewlayoutctrl.cxx index 2c04be78e229..18b7ac1446ac 100644 --- a/sw/source/ui/utlui/viewlayoutctrl.cxx +++ b/sw/source/ui/utlui/viewlayoutctrl.cxx @@ -115,9 +115,6 @@ void SwViewLayoutControl::Paint( const UserDrawEvent& rUsrEvt ) Color aOldLineColor = pDev->GetLineColor(); Color aOldFillColor = pDev->GetFillColor(); - //pDev->SetLineColor(); - //pDev->SetFillColor( pDev->GetBackground().GetColor() ); - const bool bSingleColumn = 0 == mpImpl->mnState; const bool bAutomatic = 1 == mpImpl->mnState; const bool bBookMode = 2 == mpImpl->mnState; @@ -138,17 +135,6 @@ void SwViewLayoutControl::Paint( const UserDrawEvent& rUsrEvt ) // draw bookmode image: aRect.Left() += nImageWidthAuto; pDev->DrawImage( aRect.TopLeft(), bBookMode ? mpImpl->maImageBookMode_Active : mpImpl->maImageBookMode ); - - // draw separators - //aRect = rUsrEvt.GetRect(); - //aRect.Left() += nImageWidth; - //aRect.setWidth( 1 ); - //pDev->DrawRect( aRect ); - //aRect.Left() += nImageWidth; - //pDev->DrawRect( aRect ); - - //pDev->SetLineColor( aOldLineColor ); - //pDev->SetFillColor( aOldFillColor ); } BOOL SwViewLayoutControl::MouseButtonDown( const MouseEvent & rEvt ) |