summaryrefslogtreecommitdiffstats
path: root/toolkit/source
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-01-15 13:21:48 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-01-15 13:21:48 +0000
commit5af01c14a94c557b3e0372edef70d9e2294a4b34 (patch)
treefb73c61c039a5618ea0bbc8a22b7fb3e46b81854 /toolkit/source
parentINTEGRATION: CWS tkr08 (1.23.16); FILE MERGED (diff)
downloadcore-5af01c14a94c557b3e0372edef70d9e2294a4b34.tar.gz
core-5af01c14a94c557b3e0372edef70d9e2294a4b34.zip
INTEGRATION: CWS tkr08 (1.59.14); FILE MERGED
2007/12/10 13:04:35 tkr 1.59.14.1: #i84310# Property DIALOGSOURCEURL wasnt initialize
Diffstat (limited to 'toolkit/source')
-rw-r--r--toolkit/source/controls/unocontrolmodel.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx
index 36c750208dd6..66c1fe4e314a 100644
--- a/toolkit/source/controls/unocontrolmodel.cxx
+++ b/toolkit/source/controls/unocontrolmodel.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: unocontrolmodel.cxx,v $
*
- * $Revision: 1.60 $
+ * $Revision: 1.61 $
*
- * last change: $Author: ihi $ $Date: 2008-01-14 12:57:57 $
+ * last change: $Author: ihi $ $Date: 2008-01-15 14:21:48 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -54,6 +54,9 @@
#ifndef _COM_SUN_STAR_AWT_FONTSLANT_HPP_
#include <com/sun/star/awt/FontSlant.hpp>
#endif
+#ifndef _COM_SUN_STAR_GRAPHIC_XGRAPHICPROVIDER_HPP_
+#include <com/sun/star/graphic/XGraphicProvider.hpp>
+#endif
#ifndef _COM_SUN_STAR_IO_XMARKABLESTREAM_HPP_
#include <com/sun/star/io/XMarkableStream.hpp>
@@ -326,6 +329,8 @@ void UnoControlModel::ImplPropertyChanged( sal_uInt16 )
{
switch ( nPropId )
{
+ case BASEPROPERTY_GRAPHIC: aDefault <<= ::com::sun::star::uno::makeAny(
+ ::com::sun::star::uno::Reference< graphic::XGraphic >() ); break;
case BASEPROPERTY_VERTICALALIGN:
case BASEPROPERTY_BORDERCOLOR:
case BASEPROPERTY_SYMBOL_COLOR:
@@ -413,6 +418,7 @@ void UnoControlModel::ImplPropertyChanged( sal_uInt16 )
case BASEPROPERTY_HELPTEXT:
case BASEPROPERTY_HELPURL:
case BASEPROPERTY_IMAGEURL:
+ case BASEPROPERTY_DIALOGSOURCEURL:
case BASEPROPERTY_EDITMASK:
case BASEPROPERTY_LITERALMASK:
case BASEPROPERTY_LABEL: