diff options
Diffstat (limited to 'include/svx/ruler.hxx')
-rw-r--r-- | include/svx/ruler.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/svx/ruler.hxx b/include/svx/ruler.hxx index aa18893ec3cc..a6faad748bc8 100644 --- a/include/svx/ruler.hxx +++ b/include/svx/ruler.hxx @@ -22,7 +22,7 @@ #include <vcl/menu.hxx> #include <svtools/ruler.hxx> #include <svl/lstner.hxx> -#include "svx/svxdllapi.h" +#include <svx/svxdllapi.h> class SvxProtectItem; class SvxRulerItem; @@ -124,6 +124,9 @@ 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; + long PixelHAdjust(long lPos, long lPos2) const; long PixelVAdjust(long lPos, long lPos2) const; long PixelAdjust(long lPos, long lPos2) const; |