diff options
Diffstat (limited to 'svtools/source/misc/imap2.cxx')
-rw-r--r-- | svtools/source/misc/imap2.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/misc/imap2.cxx b/svtools/source/misc/imap2.cxx index e1424f5d47b4..d8a6f5a9e312 100644 --- a/svtools/source/misc/imap2.cxx +++ b/svtools/source/misc/imap2.cxx @@ -42,9 +42,9 @@ void IMapObject::AppendCERNCoords(OStringBuffer& rBuf, const Point& rPoint100) const Point aPixPt( Application::GetDefaultDevice()->LogicToPixel( rPoint100, MapMode( MapUnit::Map100thMM ) ) ); rBuf.append('('); - rBuf.append(static_cast<sal_Int32>(aPixPt.X())); + rBuf.append(aPixPt.X()); rBuf.append(','); - rBuf.append(static_cast<sal_Int32>(aPixPt.Y())); + rBuf.append(aPixPt.Y()); rBuf.append(") "); } @@ -52,9 +52,9 @@ void IMapObject::AppendNCSACoords(OStringBuffer& rBuf, const Point& rPoint100) { const Point aPixPt( Application::GetDefaultDevice()->LogicToPixel( rPoint100, MapMode( MapUnit::Map100thMM ) ) ); - rBuf.append(static_cast<sal_Int32>(aPixPt.X())); + rBuf.append(aPixPt.X()); rBuf.append(','); - rBuf.append(static_cast<sal_Int32>(aPixPt.Y())); + rBuf.append(aPixPt.Y()); rBuf.append(' '); } |