summaryrefslogtreecommitdiff
path: root/include/svx/ruler.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/ruler.hxx')
-rw-r--r--include/svx/ruler.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/ruler.hxx b/include/svx/ruler.hxx
index a6faad748bc8..f017dafeb0f4 100644
--- a/include/svx/ruler.hxx
+++ b/include/svx/ruler.hxx
@@ -124,8 +124,8 @@ class SVX_DLLPUBLIC SvxRuler: public Ruler, public SfxListener
void UpdateColumns();
void UpdateObject();
- // Normalize position to the ruler's tick value
- void NormalizePosition(long& rValue) const;
+ // Convert position to stick to ruler ticks
+ long MakePositionSticky(long rValue, bool aSnapToFrameMargin = true) const;
long PixelHAdjust(long lPos, long lPos2) const;
long PixelVAdjust(long lPos, long lPos2) const;