summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/tools/gen.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/tools/gen.hxx b/include/tools/gen.hxx
index 11d26b0372f2..c6372d7c92dc 100644
--- a/include/tools/gen.hxx
+++ b/include/tools/gen.hxx
@@ -74,7 +74,7 @@ inline bool equal(Pair const & p1, Pair const & p2)
// Point
class Size;
-class SAL_WARN_UNUSED UNLESS_MERGELIBS(SAL_DLLPUBLIC_EXPORT) Point final : protected Pair
+class SAL_WARN_UNUSED TOOLS_DLLPUBLIC Point final : protected Pair
{
public:
constexpr Point() {}
@@ -88,6 +88,7 @@ public:
tools::Long AdjustX( tools::Long nHorzMove ) { mnA += nHorzMove; return mnA; }
tools::Long AdjustY( tools::Long nVertMove ) { mnB += nVertMove; return mnB; }
+ // Rotate parameter point using This as origin; store result back into parameter point
void RotateAround( tools::Long& rX, tools::Long& rY, Degree10 nOrientation ) const;
void RotateAround( Point&, Degree10 nOrientation ) const;