summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ruler.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index 2551dc39581d..61b5b60d539f 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -856,9 +856,10 @@ static void ImplDrawRulerTab(vcl::RenderContext& rRenderContext, const Point& rP
// drawn become asymmetric due to the +1 offsets
sal_uInt16 DPIOffset = rRenderContext.GetDPIScaleFactor() - 1;
- tools::Rectangle aRect1;
- tools::Rectangle aRect2;
- tools::Rectangle aRect3;
+ // A tabstop is drawn using three rectangles
+ tools::Rectangle aRect1; // A horizontal short line
+ tools::Rectangle aRect2; // A vertical short line
+ tools::Rectangle aRect3; // A small square
aRect3.SetEmpty();