Kaydet (Commit) 123c64ab authored tarafından Thomas Arnhold's avatar Thomas Arnhold

starawt -> css::awt

Change-Id: I76dd16aa2c42a649162ea2e37c824af30cdd557b
üst 78b2d821
......@@ -27,7 +27,7 @@ namespace comphelper
const css::uno::Reference<stario::XObjectOutputStream>& operator << (
const css::uno::Reference<stario::XObjectOutputStream>& _rxOutStream,
const starawt::FontDescriptor& _rFont)
const css::awt::FontDescriptor& _rFont)
{
_rxOutStream->writeUTF( _rFont.Name );
_rxOutStream->writeShort( _rFont.Height );
......@@ -52,7 +52,7 @@ const css::uno::Reference<stario::XObjectOutputStream>& operator << (
const css::uno::Reference<stario::XObjectInputStream>& operator >> (
const css::uno::Reference<stario::XObjectInputStream>& _rxInStream,
starawt::FontDescriptor& _rFont)
css::awt::FontDescriptor& _rFont)
{
// schreiben des Fontdescriptors
_rFont.Name = _rxInStream->readUTF();
......@@ -64,7 +64,7 @@ const css::uno::Reference<stario::XObjectInputStream>& operator >> (
_rFont.Pitch = _rxInStream->readShort();
_rFont.CharacterWidth = static_cast< float >(_rxInStream->readDouble());
_rFont.Weight = static_cast< float >(_rxInStream->readDouble());
_rFont.Slant = (starawt::FontSlant)_rxInStream->readShort();
_rFont.Slant = (css::awt::FontSlant)_rxInStream->readShort();
_rFont.Underline = _rxInStream->readShort();
_rFont.Strikeout = _rxInStream->readShort();
_rFont.Orientation = static_cast< float >(_rxInStream->readDouble());
......
......@@ -30,7 +30,6 @@ namespace comphelper
namespace stario = ::com::sun::star::io;
namespace starawt = ::com::sun::star::awt;
// bool
COMPHELPER_DLLPUBLIC const css::uno::Reference<stario::XObjectInputStream>& operator >> (const css::uno::Reference<stario::XObjectInputStream>& _rxInStream, bool& _rVal);
......@@ -60,8 +59,8 @@ COMPHELPER_DLLPUBLIC const css::uno::Reference<stario::XObjectInputStream>& oper
COMPHELPER_DLLPUBLIC const css::uno::Reference<stario::XObjectOutputStream>& operator << (const css::uno::Reference<stario::XObjectOutputStream>& _rxOutStream, sal_Int32 _nValue);
// FontDescriptor
COMPHELPER_DLLPUBLIC const css::uno::Reference<stario::XObjectInputStream>& operator >> (const css::uno::Reference<stario::XObjectInputStream>& InStream, starawt::FontDescriptor& rVal);
COMPHELPER_DLLPUBLIC const css::uno::Reference<stario::XObjectOutputStream>& operator << (const css::uno::Reference<stario::XObjectOutputStream>& OutStream, const starawt::FontDescriptor& rVal);
COMPHELPER_DLLPUBLIC const css::uno::Reference<stario::XObjectInputStream>& operator >> (const css::uno::Reference<stario::XObjectInputStream>& InStream, css::awt::FontDescriptor& rVal);
COMPHELPER_DLLPUBLIC const css::uno::Reference<stario::XObjectOutputStream>& operator << (const css::uno::Reference<stario::XObjectOutputStream>& OutStream, const css::awt::FontDescriptor& rVal);
// sequences
template <class ELEMENT>
......
......@@ -37,7 +37,6 @@ namespace com { namespace sun { namespace star { namespace awt {
namespace comphelper
{
namespace starawt = ::com::sun::star::awt;
typedef css::uno::Reference< css::uno::XInterface > InterfaceRef;
typedef css::uno::Sequence< OUString > StringSequence;
......@@ -52,8 +51,8 @@ namespace comphelper
/** compare two FontDescriptor's
*/
COMPHELPER_DLLPUBLIC bool operator ==(const starawt::FontDescriptor& _rLeft, const starawt::FontDescriptor& _rRight);
inline bool operator !=(const starawt::FontDescriptor& _rLeft, const starawt::FontDescriptor& _rRight)
COMPHELPER_DLLPUBLIC bool operator ==(const css::awt::FontDescriptor& _rLeft, const css::awt::FontDescriptor& _rRight);
inline bool operator !=(const css::awt::FontDescriptor& _rLeft, const css::awt::FontDescriptor& _rRight)
{
return !(_rLeft == _rRight);
}
......@@ -129,7 +128,7 @@ namespace comphelper
the XXX_DONTKNOW enum values (which isn't the case if you instantiate it
via the default constructor)
*/
COMPHELPER_DLLPUBLIC starawt::FontDescriptor getDefaultFont();
COMPHELPER_DLLPUBLIC css::awt::FontDescriptor getDefaultFont();
/** examine a sequence for the com.sun.star.uno::Type of it's elements.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment