LibreOffice Module svx (master) 1
Macros
drawitem.cxx File Reference
#include <svx/drawitem.hxx>
#include <svx/xtable.hxx>
#include <utility>
Include dependency graph for drawitem.cxx:

Go to the source code of this file.

Macros

#define QUERY_PUT_IMPL(svtype, xtype)
 

Macro Definition Documentation

◆ QUERY_PUT_IMPL

#define QUERY_PUT_IMPL (   svtype,
  xtype 
)
Value:
bool svtype::QueryValue( css::uno::Any& rVal, sal_uInt8 ) const \
{ \
rVal <<= uno::Reference< uno::XWeak >( p##xtype ); \
return true; \
} \
\
bool svtype::PutValue( const css::uno::Any& rVal, sal_uInt8 ) \
{ \
uno::Reference< uno::XWeak > xRef; \
if( rVal >>= xRef ) { \
p##xtype = X##xtype##Ref(dynamic_cast<X##xtype *>(xRef.get())); \
return true; \
} \
return false; \
}
unsigned char sal_uInt8

Definition at line 77 of file drawitem.cxx.