summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-02-03 12:06:41 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-02-03 12:06:41 +0100
commitdc67e8e277d6ca8c3422cba0672157e461f9cc18 (patch)
tree96a4e4e26cd9f17275e5c3086b7359239a2421db /canvas
parent40caf500903c7da3dc93d9163bb8fe26ccda7a55 (diff)
removetooltypes01: #i112600# adjust cairo-related source code in canvas
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/cairo/cairo_canvashelper_text.cxx2
-rw-r--r--canvas/source/cairo/cairo_textlayout.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/cairo/cairo_canvashelper_text.cxx b/canvas/source/cairo/cairo_canvashelper_text.cxx
index 35310e1c078d..7e60d912e1ca 100644
--- a/canvas/source/cairo/cairo_canvashelper_text.cxx
+++ b/canvas/source/cairo/cairo_canvashelper_text.cxx
@@ -318,7 +318,7 @@ namespace cairocanvas
return uno::Reference< rendering::XCachedPrimitive >(NULL); // no output necessary
// change text direction and layout mode
- ULONG nLayoutMode(0);
+ sal_uLong nLayoutMode(0);
switch( textDirection )
{
case rendering::TextDirection::WEAK_LEFT_TO_RIGHT:
diff --git a/canvas/source/cairo/cairo_textlayout.cxx b/canvas/source/cairo/cairo_textlayout.cxx
index d0873b63f5f0..1da9197693ff 100644
--- a/canvas/source/cairo/cairo_textlayout.cxx
+++ b/canvas/source/cairo/cairo_textlayout.cxx
@@ -81,7 +81,7 @@ namespace cairocanvas
sal_Int8 nTextDirection )
{
// TODO(P3): avoid if already correctly set
- ULONG nLayoutMode;
+ sal_uLong nLayoutMode;
switch( nTextDirection )
{
default: