summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drawinglayer/source/primitive2d/gridprimitive2d.cxx2
-rw-r--r--vcl/win/source/gdi/salgdi.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/primitive2d/gridprimitive2d.cxx b/drawinglayer/source/primitive2d/gridprimitive2d.cxx
index afbd65ec4805..49a675d6d041 100644
--- a/drawinglayer/source/primitive2d/gridprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/gridprimitive2d.cxx
@@ -127,7 +127,7 @@ namespace drawinglayer
if(rViewInformation.getDiscreteViewport().isEmpty())
{
- // not set, use logic size to travel over all potentioal grid points
+ // not set, use logic size to travel over all potential grid points
aExtendedViewport = basegfx::B2DRange(0.0, 0.0, aScale.getX(), aScale.getY());
}
else
diff --git a/vcl/win/source/gdi/salgdi.cxx b/vcl/win/source/gdi/salgdi.cxx
index 9cb39cc15f20..31af87670d59 100644
--- a/vcl/win/source/gdi/salgdi.cxx
+++ b/vcl/win/source/gdi/salgdi.cxx
@@ -809,7 +809,7 @@ bool WinSalGraphics::setClipRegion( const Region& i_rClip )
if(bUsePolygon)
{
- // #i122149# check the comment above to know that this may lead to potentioal repaint
+ // #i122149# check the comment above to know that this may lead to potential repaint
// problems. It may be solved (if needed) by scaling the polygon by one in X
// and Y. Currently the workaround to only use it if really unavoidable will
// solve most cases. When someone is really using polygon-based Regions he