summaryrefslogtreecommitdiff
path: root/sc/source/ui/Accessibility
diff options
context:
space:
mode:
authorDavid Hobley <davidh@sharpblue.org>2010-10-04 16:55:38 +0200
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2010-10-04 16:55:38 +0200
commitd93a5590382ca3d259fa3b8563eb54a3df4b249d (patch)
treeab3011b81af8cef1a5f317f7c7695f408ecbe6b2 /sc/source/ui/Accessibility
parentde5b6636b1330297a0a70d6edab7a7cd84b9eedb (diff)
More or OD style's comments removal
Diffstat (limited to 'sc/source/ui/Accessibility')
-rw-r--r--sc/source/ui/Accessibility/AccessibleText.cxx49
1 files changed, 3 insertions, 46 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleText.cxx b/sc/source/ui/Accessibility/AccessibleText.cxx
index 94ea082a862c..fc88b00a36ed 100644
--- a/sc/source/ui/Accessibility/AccessibleText.cxx
+++ b/sc/source/ui/Accessibility/AccessibleText.cxx
@@ -159,15 +159,11 @@ void ScViewForwarder::SetInvalid()
class ScEditObjectViewForwarder : public SvxViewForwarder
{
Window* mpWindow;
- // --> OD 2005-12-21 #i49561#
- // - EditView needed for access to its visible area.
+ // #i49561# EditView needed for access to its visible area.
const EditView* mpEditView;
- // <--
public:
- // --> OD 2005-12-21 #i49561#
ScEditObjectViewForwarder( Window* pWindow,
const EditView* _pEditView);
- // <--
virtual ~ScEditObjectViewForwarder();
virtual BOOL IsValid() const;
@@ -178,7 +174,6 @@ public:
void SetInvalid();
};
-// --> OD 2005-12-21 #i49561#
ScEditObjectViewForwarder::ScEditObjectViewForwarder( Window* pWindow,
const EditView* _pEditView )
:
@@ -186,7 +181,6 @@ ScEditObjectViewForwarder::ScEditObjectViewForwarder( Window* pWindow,
mpEditView( _pEditView )
{
}
-// <--
ScEditObjectViewForwarder::~ScEditObjectViewForwarder()
{
@@ -219,7 +213,7 @@ Point ScEditObjectViewForwarder::LogicToPixel( const Point& rPoint, const MapMod
{
if (mpWindow)
{
- // --> OD 2005-12-21 #i49561# - consider offset of the visible area
+ // #i49561# - consider offset of the visible area
// of the EditView before converting point to pixel.
Point aPoint( rPoint );
if ( mpEditView )
@@ -228,7 +222,6 @@ Point ScEditObjectViewForwarder::LogicToPixel( const Point& rPoint, const MapMod
aPoint += aEditViewVisArea.TopLeft();
}
return mpWindow->LogicToPixel( aPoint, rMapMode );
- // <--
}
else
{
@@ -241,7 +234,7 @@ Point ScEditObjectViewForwarder::PixelToLogic( const Point& rPoint, const MapMod
{
if (mpWindow)
{
- // --> OD 2005-12-21 #i49561# - consider offset of the visible area
+ // #i49561# - consider offset of the visible area
// of the EditView after converting point to logic.
Point aPoint( mpWindow->PixelToLogic( rPoint, rMapMode ) );
if ( mpEditView )
@@ -250,7 +243,6 @@ Point ScEditObjectViewForwarder::PixelToLogic( const Point& rPoint, const MapMod
aPoint -= aEditViewVisArea.TopLeft();
}
return aPoint;
- // <--
}
else
{
@@ -264,8 +256,6 @@ void ScEditObjectViewForwarder::SetInvalid()
mpWindow = NULL;
}
-// ============================================================================
-
class ScPreviewViewForwarder : public SvxViewForwarder
{
protected:
@@ -399,8 +389,6 @@ Rectangle ScPreviewViewForwarder::CorrectVisArea(const Rectangle& rVisArea) cons
return aVisArea;
}
-// ============================================================================
-
class ScPreviewHeaderFooterViewForwarder : public ScPreviewViewForwarder
{
sal_Bool mbHeader;
@@ -442,8 +430,6 @@ Rectangle ScPreviewHeaderFooterViewForwarder::GetVisArea() const
return aVisArea;
}
-// ============================================================================
-
class ScPreviewCellViewForwarder : public ScPreviewViewForwarder
{
ScAddress maCellPos;
@@ -484,8 +470,6 @@ Rectangle ScPreviewCellViewForwarder::GetVisArea() const
return aVisArea;
}
-// ============================================================================
-
class ScPreviewHeaderCellViewForwarder : public ScPreviewViewForwarder
{
ScAddress maCellPos;
@@ -532,8 +516,6 @@ Rectangle ScPreviewHeaderCellViewForwarder::GetVisArea() const
return aVisArea;
}
-// ============================================================================
-
class ScPreviewNoteViewForwarder : public ScPreviewViewForwarder
{
ScAddress maCellPos;
@@ -578,8 +560,6 @@ Rectangle ScPreviewNoteViewForwarder::GetVisArea() const
return aVisArea;
}
-// ============================================================================
-
class ScEditViewForwarder : public SvxEditViewForwarder
{
EditView* mpEditView;
@@ -747,8 +727,6 @@ void ScEditViewForwarder::SetInvalid()
mpEditView = NULL;
}
-// ============================================================================
-
// ScAccessibleCellTextData: shared data between sub objects of a accessible cell text object
ScAccessibleCellTextData::ScAccessibleCellTextData(ScTabViewShell* pViewShell,
@@ -1061,8 +1039,6 @@ ScDocShell* ScAccessibleCellTextData::GetDocShell(ScTabViewShell* pViewShell)
}
-// ============================================================================
-
ScAccessibleEditObjectTextData::ScAccessibleEditObjectTextData(EditView* pEditView, Window* pWin)
:
mpViewForwarder(NULL),
@@ -1167,9 +1143,6 @@ IMPL_LINK(ScAccessibleEditObjectTextData, NotifyHdl, EENotify*, aNotify)
return 0;
}
-
-// ============================================================================
-
ScAccessibleEditLineTextData::ScAccessibleEditLineTextData(EditView* pEditView, Window* pWin)
:
ScAccessibleEditObjectTextData(pEditView, pWin),
@@ -1339,8 +1312,6 @@ void ScAccessibleEditLineTextData::EndEdit()
}
-// ============================================================================
-
// ScAccessiblePreviewCellTextData: shared data between sub objects of a accessible cell text object
ScAccessiblePreviewCellTextData::ScAccessiblePreviewCellTextData(ScPreviewShell* pViewShell,
@@ -1416,8 +1387,6 @@ ScDocShell* ScAccessiblePreviewCellTextData::GetDocShell(ScPreviewShell* pViewSh
}
-// ============================================================================
-
// ScAccessiblePreviewHeaderCellTextData: shared data between sub objects of a accessible cell text object
ScAccessiblePreviewHeaderCellTextData::ScAccessiblePreviewHeaderCellTextData(ScPreviewShell* pViewShell,
@@ -1530,9 +1499,6 @@ ScDocShell* ScAccessiblePreviewHeaderCellTextData::GetDocShell(ScPreviewShell* p
return pDocSh;
}
-
-// ============================================================================
-
ScAccessibleHeaderTextData::ScAccessibleHeaderTextData(ScPreviewShell* pViewShell,
const EditTextObject* pEditObj, sal_Bool bHeader, SvxAdjust eAdjust)
:
@@ -1647,9 +1613,6 @@ SvxViewForwarder* ScAccessibleHeaderTextData::GetViewForwarder()
return mpViewForwarder;
}
-
-// ============================================================================
-
ScAccessibleNoteTextData::ScAccessibleNoteTextData(ScPreviewShell* pViewShell,
const String& sText, const ScAddress& aCellPos, sal_Bool bMarkNote)
:
@@ -1816,8 +1779,6 @@ void ScCsvViewForwarder::SetInvalid()
mpWindow = NULL;
}
-// ----------------------------------------------------------------------------
-
ScAccessibleCsvTextData::ScAccessibleCsvTextData(
Window* pWindow, EditEngine* pEditEngine,
const String& rCellText, const Rectangle& rBoundBox, const Size& rCellSize ) :
@@ -1879,7 +1840,3 @@ SvxEditViewForwarder* ScAccessibleCsvTextData::GetEditViewForwarder( sal_Bool /*
{
return NULL;
}
-
-
-// ============================================================================
-