summaryrefslogtreecommitdiff
path: root/include/drawinglayer
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-16 10:09:58 +0200
committerNoel Grandin <noel@peralex.com>2014-09-18 08:54:37 +0200
commit60e78fbb806bb45e635ba1de45ceffe187938ac0 (patch)
tree17ff5aaa57f4d23e177f1fe423def1691139a4a8 /include/drawinglayer
parent9c818268767d6a1c1bc731ae30c45883bab987e7 (diff)
fdo#82577: Handle Font
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
Diffstat (limited to 'include/drawinglayer')
-rw-r--r--include/drawinglayer/primitive2d/textlayoutdevice.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/drawinglayer/primitive2d/textlayoutdevice.hxx b/include/drawinglayer/primitive2d/textlayoutdevice.hxx
index 4bb4bc2f1ea6..024e7b45d950 100644
--- a/include/drawinglayer/primitive2d/textlayoutdevice.hxx
+++ b/include/drawinglayer/primitive2d/textlayoutdevice.hxx
@@ -30,7 +30,7 @@
// predefines
class VirtualDevice;
-class Font;
+namespace vcl { class Font; }
namespace rtl {
class OUString;
};
@@ -65,7 +65,7 @@ namespace drawinglayer
~TextLayouterDevice();
/// tooling methods
- void setFont(const Font& rFont);
+ void setFont(const vcl::Font& rFont);
void setFontAttribute(
const attribute::FontAttribute& rFontAttribute,
double fFontScaleX,
@@ -125,7 +125,7 @@ namespace drawinglayer
both defines FontStretching, where no stretching happens at
fFontScaleY == fFontScaleX
*/
- Font DRAWINGLAYER_DLLPUBLIC getVclFontFromFontAttribute(
+ vcl::Font DRAWINGLAYER_DLLPUBLIC getVclFontFromFontAttribute(
const attribute::FontAttribute& rFontAttribute,
double fFontScaleX,
double fFontScaleY,
@@ -139,7 +139,7 @@ namespace drawinglayer
*/
attribute::FontAttribute DRAWINGLAYER_DLLPUBLIC getFontAttributeFromVclFont(
basegfx::B2DVector& o_rSize,
- const Font& rFont,
+ const vcl::Font& rFont,
bool bRTL,
bool bBiDiStrong);