Cheers,
Wol
>From fa312399900437d13fabc456c851be6f971ab3d1 Mon Sep 17 00:00:00 2001
From: Wol <[email protected]>
Date: Mon, 29 Nov 2010 15:47:37 +0000
Subject: [PATCH 2/2] More comment deletions
---
reportdesign/source/ui/report/DesignView.cxx | 4 ----
reportdesign/source/ui/report/ReportController.cxx | 4 ++--
reportdesign/source/ui/report/dlgedfunc.cxx | 2 --
3 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/reportdesign/source/ui/report/DesignView.cxx
b/reportdesign/source/ui/report/DesignView.cxx
index c404c53..968154d 100644
--- a/reportdesign/source/ui/report/DesignView.cxx
+++ b/reportdesign/source/ui/report/DesignView.cxx
@@ -466,11 +466,7 @@ void ODesignView::GetFocus()
//
-----------------------------------------------------------------------------
void ODesignView::ImplInitSettings()
{
-//#if OSL_DEBUG_LEVEL > 0
-// SetBackground( Wallpaper( COL_RED ));
-//#else
SetBackground( Wallpaper(
Application::GetSettings().GetStyleSettings().GetFaceColor() ));
-//#endif
SetFillColor( Application::GetSettings().GetStyleSettings().GetFaceColor()
);
SetTextFillColor(
Application::GetSettings().GetStyleSettings().GetFaceColor() );
}
diff --git a/reportdesign/source/ui/report/ReportController.cxx
b/reportdesign/source/ui/report/ReportController.cxx
index 584ac3e..e2db54f 100644
--- a/reportdesign/source/ui/report/ReportController.cxx
+++ b/reportdesign/source/ui/report/ReportController.cxx
@@ -1481,7 +1481,7 @@ void OReportController::Execute(sal_uInt16 _nId, const
Sequence< PropertyValue >
{
const String
sUndoAction(ModuleRes(RID_STR_UNDO_CHANGEFONT));
pListAction.reset(new
UndoManagerListAction(m_aUndoManager,sUndoAction));
- } // if ( !pListAction.get() )
+ }
uno::Reference< report::XReportControlFormat>
xReportControlFormat(*aIter,uno::UNO_QUERY);
lcl_setFontWPU_nothrow(xReportControlFormat,_nId);
}
@@ -3749,7 +3749,7 @@ void OReportController::listen(const bool _bAdd)
xGroups->addContainerListener(static_cast<XContainerListener*>(this));
m_xReportDefinition->addModifyListener(static_cast<XModifyListener*>(this));
}
- else /* ! _bAdd */
+ else
{
rObserver.RemoveSection(m_xReportDefinition->getDetail());
xGroups->removeContainerListener(static_cast<XContainerListener*>(this));
diff --git a/reportdesign/source/ui/report/dlgedfunc.cxx
b/reportdesign/source/ui/report/dlgedfunc.cxx
index 6b53a22..221c9b2 100644
--- a/reportdesign/source/ui/report/dlgedfunc.cxx
+++ b/reportdesign/source/ui/report/dlgedfunc.cxx
@@ -680,8 +680,6 @@ BOOL DlgEdFuncInsert::MouseButtonDown( const MouseEvent&
rMEvt )
const SdrHitKind eHit = m_rView.PickAnything(rMEvt, SDRMOUSEBUTTONDOWN,
aVEvt);
-// eHit == SDRHIT_UNMARKEDOBJECT under the mouse cursor is a unmarked object
-
if (eHit == SDRHIT_UNMARKEDOBJECT &&
nId != OBJ_CUSTOMSHAPE)
{
--
1.7.2.2
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice