[Libreoffice-commits] .: chart2/source
Michael Meeks
mmeeks at kemper.freedesktop.org
Tue Nov 23 08:46:38 PST 2010
chart2/source/controller/chartapiwrapper/TitleWrapper.cxx | 4 ----
chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx | 3 ---
chart2/source/controller/chartapiwrapper/UpDownBarWrapper.hxx | 3 ---
chart2/source/controller/chartapiwrapper/WallFloorWrapper.cxx | 1 -
4 files changed, 11 deletions(-)
New commits:
commit a5b19dcc5c5c14ac28db3cd3ba28313a964c6b23
Author: Timo Heino <eraggo at gmail.com>
Date: Tue Nov 23 17:16:13 2010 +0200
More 'easy-hacks' completed
Removed some commented out code.
chart2/source/controller/chartapiwrapper/ cleaned. Moving to next 1
Signed-off-by: Timo Heino <eraggo at gmail.com>
diff --git a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
index 7f99597..23cef15 100644
--- a/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/TitleWrapper.cxx
@@ -197,7 +197,6 @@ const Sequence< Property > & lcl_GetPropertySequence()
::chart::CharacterProperties::AddPropertiesToVector( aProperties );
::chart::LineProperties::AddPropertiesToVector( aProperties );
::chart::FillProperties::AddPropertiesToVector( aProperties );
-// ::chart::NamedProperties::AddPropertiesToVector( aProperties );
::chart::UserDefinedProperties::AddPropertiesToVector( aProperties );
::chart::wrapper::WrappedAutomaticPositionProperties::addProperties( aProperties );
::chart::wrapper::WrappedScaleTextProperties::addProperties( aProperties );
@@ -553,9 +552,6 @@ Sequence< OUString > TitleWrapper::getSupportedServiceNames_Static()
aServices[ 1 ] = C2U( "com.sun.star.drawing.Shape" );
aServices[ 2 ] = C2U( "com.sun.star.xml.UserDefinedAttributeSupplier" );
aServices[ 3 ] = C2U( "com.sun.star.style.CharacterProperties" );
-// aServices[ 4 ] = C2U( "com.sun.star.beans.PropertySet" );
-// aServices[ 5 ] = C2U( "com.sun.star.drawing.FillProperties" );
-// aServices[ 6 ] = C2U( "com.sun.star.drawing.LineProperties" );
return aServices;
}
diff --git a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx
index e638032..ed81fb9 100644
--- a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.cxx
@@ -70,7 +70,6 @@ const Sequence< Property > & lcl_GetPropertySequence()
::chart::LineProperties::AddPropertiesToVector( aProperties );
::chart::FillProperties::AddPropertiesToVector( aProperties );
-// ::chart::NamedProperties::AddPropertiesToVector( aProperties );
::chart::UserDefinedProperties::AddPropertiesToVector( aProperties );
// and sort them for access via bsearch
@@ -254,8 +253,6 @@ void SAL_CALL UpDownBarWrapper::setPropertyValues( const uno::Sequence< ::rtl::O
}
}
//todo: store unknown properties elsewhere
-// if( bUnknownProperty )
-// throw beans::UnknownPropertyException();
}
uno::Sequence< uno::Any > SAL_CALL UpDownBarWrapper::getPropertyValues( const uno::Sequence< ::rtl::OUString >& rNameSeq )
throw (uno::RuntimeException)
diff --git a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.hxx b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.hxx
index 496c47b..88dce1c 100644
--- a/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.hxx
+++ b/chart2/source/controller/chartapiwrapper/UpDownBarWrapper.hxx
@@ -63,9 +63,6 @@ class UpDownBarWrapper : public MutexContainer
, ::com::sun::star::beans::XMultiPropertySet
, ::com::sun::star::beans::XPropertyState
, ::com::sun::star::beans::XMultiPropertyStates
- // , ::com::sun::star::uno::XWeak // implemented by WeakImplHelper(optional interface)
- // , ::com::sun::star::uno::XInterface // implemented by WeakImplHelper
- // , ::com::sun::star::lang::XTypeProvider // implemented by WeakImplHelper
>
{
public:
diff --git a/chart2/source/controller/chartapiwrapper/WallFloorWrapper.cxx b/chart2/source/controller/chartapiwrapper/WallFloorWrapper.cxx
index a2de469..2a69e0c 100644
--- a/chart2/source/controller/chartapiwrapper/WallFloorWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/WallFloorWrapper.cxx
@@ -72,7 +72,6 @@ const Sequence< Property > & lcl_GetPropertySequence()
::std::vector< ::com::sun::star::beans::Property > aProperties;
::chart::FillProperties::AddPropertiesToVector( aProperties );
::chart::LineProperties::AddPropertiesToVector( aProperties );
-// ::chart::NamedProperties::AddPropertiesToVector( aProperties );
::chart::UserDefinedProperties::AddPropertiesToVector( aProperties );
// and sort them for access via bsearch
More information about the Libreoffice-commits
mailing list