diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-16 10:09:58 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-18 08:54:37 +0200 |
commit | 60e78fbb806bb45e635ba1de45ceffe187938ac0 (patch) | |
tree | 17ff5aaa57f4d23e177f1fe423def1691139a4a8 /starmath/source/view.cxx | |
parent | 9c818268767d6a1c1bc731ae30c45883bab987e7 (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 'starmath/source/view.cxx')
-rw-r--r-- | starmath/source/view.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 53a3e4fc6586..f59f9bc24f44 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -1191,7 +1191,7 @@ void SmViewShell::Impl_Print( { Size aSize600 (0, 600); Size aSize650 (0, 650); - Font aFont(FAMILY_DONTKNOW, aSize600); + vcl::Font aFont(FAMILY_DONTKNOW, aSize600); aFont.SetAlign(ALIGN_TOP); aFont.SetWeight(WEIGHT_BOLD); @@ -1236,7 +1236,7 @@ void SmViewShell::Impl_Print( // output text on bottom if (bIsPrintFormulaText) { - Font aFont(FAMILY_DONTKNOW, Size(0, 600)); + vcl::Font aFont(FAMILY_DONTKNOW, Size(0, 600)); aFont.SetAlign(ALIGN_TOP); aFont.SetColor( Color(COL_BLACK) ); |