summaryrefslogtreecommitdiff
path: root/basic/source/inc/sbunoobj.hxx
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2012-03-09 18:44:44 +0000
committerNoel Power <noel.power@novell.com>2012-03-09 18:48:36 +0000
commit7dafa7a3b14441c6a27ab051db01f53e2c434f0a (patch)
tree5020ac048737dada2d26b414279eead7b9781721 /basic/source/inc/sbunoobj.hxx
parentbee742eb7a0d5dfe23e61d9ee49a29286de90256 (diff)
fix error comparing a struct vs an uno prop containing a struct fdo#42819
hack to fix the scenario where sometimes we get "Object required" error when comparing an uno property containing a struct with another struct ( if that property is "MAYBEVOID" )
Diffstat (limited to 'basic/source/inc/sbunoobj.hxx')
-rw-r--r--basic/source/inc/sbunoobj.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/basic/source/inc/sbunoobj.hxx b/basic/source/inc/sbunoobj.hxx
index 5e833c26795d..f27e99a272ed 100644
--- a/basic/source/inc/sbunoobj.hxx
+++ b/basic/source/inc/sbunoobj.hxx
@@ -138,15 +138,16 @@ class SbUnoProperty : public SbxProperty
sal_Int32 nId;
bool mbInvocation; // Property is based on invocation
-
+ SbxDataType mRealType;
virtual ~SbUnoProperty();
public:
TYPEINFO();
- SbUnoProperty( const rtl::OUString& aName_, SbxDataType eSbxType,
+ SbUnoProperty( const rtl::OUString& aName_, SbxDataType eSbxType, SbxDataType eRealSbxType,
const ::com::sun::star::beans::Property& aUnoProp_, sal_Int32 nId_, bool bInvocation );
bool isInvocationBased( void )
{ return mbInvocation; }
+ SbxDataType getRealType() { return mRealType; }
};
// factory class to create uno-structs per DIM AS NEW