[Libreoffice-commits] .: reportdesign/source
Caolán McNamara
caolan at kemper.freedesktop.org
Mon Nov 29 08:11:32 PST 2010
reportdesign/source/ui/report/DesignView.cxx | 4 ----
reportdesign/source/ui/report/dlgedfunc.cxx | 2 --
2 files changed, 6 deletions(-)
New commits:
commit 5fe3a3d6e621597b883b45faa302460d2949bd63
Author: Wol <anthony at youngman.org.uk>
Date: Mon Nov 29 16:11:25 2010 +0000
More comment 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/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)
{
More information about the Libreoffice-commits
mailing list