diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-31 22:42:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-31 22:42:22 +0000 |
commit | 970ccf4f69080e827008b5da8d8640c202b42306 (patch) | |
tree | 2378056c77896e99c496c6c42dbb0db81d6066b4 /starmath/inc | |
parent | 2762c6dcc1e4839b6e384238adb000024a4f0222 (diff) |
drop unnecessary includes
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/rect.hxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/starmath/inc/rect.hxx b/starmath/inc/rect.hxx index 57cceba3b784..80542dfa0837 100644 --- a/starmath/inc/rect.hxx +++ b/starmath/inc/rect.hxx @@ -31,6 +31,7 @@ #include <new> +#include <rtl/ustring.hxx> #include <tools/gen.hxx> #include <vcl/outdev.hxx> #include <vcl/metric.hxx> @@ -39,9 +40,9 @@ bool SmGetGlyphBoundRect(const OutputDevice &rDev, - const XubString &rText, Rectangle &rRect); + const rtl::OUString &rText, Rectangle &rRect); -bool SmIsMathAlpha(const XubString &rText); +bool SmIsMathAlpha(const rtl::OUString &rText); inline long SmFromTo(long nFrom, long nTo, double fRelDist) @@ -109,9 +110,9 @@ class SmRect protected: void BuildRect (const OutputDevice &rDev, const SmFormat *pFormat, - const XubString &rText, sal_uInt16 nBorderWidth); + const rtl::OUString &rText, sal_uInt16 nBorderWidth); void Init(const OutputDevice &rDev, const SmFormat *pFormat, - const XubString &rText, sal_uInt16 nBorderWidth); + const rtl::OUString &rText, sal_uInt16 nBorderWidth); void ClearBaseline() { bHasBaseline = false; }; inline void CopyMBL(const SmRect& rRect); @@ -122,7 +123,7 @@ protected: public: SmRect(); SmRect(const OutputDevice &rDev, const SmFormat *pFormat, - const XubString &rText, long nBorderWidth); + const rtl::OUString &rText, long nBorderWidth); SmRect(long nWidth, long nHeight); SmRect(const SmRect &rRect); |