diff options
author | Korrawit Pruegsanusak <detective.conan.1412@gmail.com> | 2011-05-29 11:20:36 +0700 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2011-05-30 12:03:44 +0100 |
commit | b9376ed8d4699f2cb5cd0515ed0768de1ffccee1 (patch) | |
tree | bee084ffb02292c0434e665ea0e813c7ab6b0cc3 /chart2 | |
parent | b585a9809cfc6b777c0012cf36d9eddba8a14e32 (diff) |
Code Cleanup
* Remove empty and bogus comments
* Remove dead codes
* Fix typos in comments
Released under LGPLv3+/MPL
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/ChartController.hxx | 1 | ||||
-rw-r--r-- | chart2/source/controller/main/ChartController_Tools.cxx | 1 | ||||
-rw-r--r-- | chart2/source/inc/LifeTime.hxx | 1 | ||||
-rw-r--r-- | chart2/source/inc/MediaDescriptorHelper.hxx | 18 | ||||
-rw-r--r-- | chart2/source/model/template/ChartTypeTemplate.hxx | 1 |
5 files changed, 9 insertions, 13 deletions
diff --git a/chart2/source/controller/main/ChartController.hxx b/chart2/source/controller/main/ChartController.hxx index 829fbe50918d..72e13fac33ad 100644 --- a/chart2/source/controller/main/ChartController.hxx +++ b/chart2/source/controller/main/ChartController.hxx @@ -682,7 +682,6 @@ private: void impl_ShapeControllerDispatch( const ::com::sun::star::util::URL& rURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rArgs ); - // DECL_LINK( DoubleClickWaitingHdl, void* ); void execute_DoubleClick( const Point* pMousePixel = NULL ); void startDoubleClickWaiting(); diff --git a/chart2/source/controller/main/ChartController_Tools.cxx b/chart2/source/controller/main/ChartController_Tools.cxx index 3ecee57543b4..22418d3bce86 100644 --- a/chart2/source/controller/main/ChartController_Tools.cxx +++ b/chart2/source/controller/main/ChartController_Tools.cxx @@ -595,7 +595,6 @@ bool ChartController::executeDispatch_Delete() bool bReturn = false; // remove the selected object - // rtl::OUString aCID( m_aSelection.getSelectedCID() ); if( aCID.getLength() ) { diff --git a/chart2/source/inc/LifeTime.hxx b/chart2/source/inc/LifeTime.hxx index 52836816f0b2..bb154c8e215c 100644 --- a/chart2/source/inc/LifeTime.hxx +++ b/chart2/source/inc/LifeTime.hxx @@ -75,7 +75,6 @@ protected: sal_Bool volatile m_bDisposed; sal_Bool volatile m_bInDispose; - // sal_Bool m_bLongLastingCallsCancelable; ::osl::Condition m_aNoLongLastingCallCountCondition; sal_Int32 volatile m_nLongLastingCallCount; diff --git a/chart2/source/inc/MediaDescriptorHelper.hxx b/chart2/source/inc/MediaDescriptorHelper.hxx index c5b6861c2542..93f5b2ee7f63 100644 --- a/chart2/source/inc/MediaDescriptorHelper.hxx +++ b/chart2/source/inc/MediaDescriptorHelper.hxx @@ -90,26 +90,26 @@ public: //@todo define this for debug only, except URL sal_Bool AsTemplate; //document is a template. sal_Bool ISSET_AsTemplate; - ::rtl::OUString Author; // + ::rtl::OUString Author; sal_Bool ISSET_Author; ::rtl::OUString CharacterSet; //identifier of used character set. sal_Bool ISSET_CharacterSet; - ::rtl::OUString Comment;// + ::rtl::OUString Comment; sal_Bool ISSET_Comment; ::com::sun::star::uno::Any - ComponentData;// + ComponentData; sal_Bool ISSET_ComponentData; ::rtl::OUString FileName; //deprecated, same as url sal_Bool ISSET_FileName; ::com::sun::star::uno::Any - FilterData;// + FilterData; sal_Bool ISSET_FilterData; ::rtl::OUString FilterName; //internal filter name. sal_Bool ISSET_FilterName; ::rtl::OUString FilterFlags;//deprecated, sal_Bool ISSET_FilterFlags; - ::rtl::OUString FilterOptions;// + ::rtl::OUString FilterOptions; sal_Bool ISSET_FilterOptions; //not documented ... @todo remove? ::rtl::OUString FrameName; //name of target frame. @@ -128,7 +128,7 @@ public: InputStream; //content of document. sal_Bool ISSET_InputStream; ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > - InteractionHandler; // //::com::sun::star::task::XInteractionHandler + InteractionHandler; //::com::sun::star::task::XInteractionHandler sal_Bool ISSET_InteractionHandler; ::rtl::OUString JumpMark; //specifies the name of a mark within the document where the first view is to position itself. @@ -141,7 +141,7 @@ public: sal_Bool ISSET_OpenNewView; sal_Bool Overwrite; //opens a new view for an already loaded document. sal_Bool ISSET_Overwrite; - ::rtl::OUString Password; // + ::rtl::OUString Password; sal_Bool ISSET_Password; //not documented ... @todo remove? @@ -162,7 +162,7 @@ public: sal_Bool ISSET_Referer; ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > - StatusIndicator; // //::com::sun::star::task::XStatusIndicator + StatusIndicator; //::com::sun::star::task::XStatusIndicator sal_Bool ISSET_StatusIndicator; //not documented ... @todo remove? sal_Bool Silent; //prevents dialogs to query for more information. @@ -179,7 +179,7 @@ public: sal_Bool ISSET_Version; ::com::sun::star::uno::Any - ViewData;// + ViewData; sal_Bool ISSET_ViewData; sal_Int16 ViewId; //id of the initial view. sal_Bool ISSET_ViewId; diff --git a/chart2/source/model/template/ChartTypeTemplate.hxx b/chart2/source/model/template/ChartTypeTemplate.hxx index 931a6357772f..5a5e5d002da6 100644 --- a/chart2/source/model/template/ChartTypeTemplate.hxx +++ b/chart2/source/model/template/ChartTypeTemplate.hxx @@ -130,7 +130,6 @@ protected: const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDiagram >& xDiagram ) throw (::com::sun::star::uno::RuntimeException); - // virtual void SAL_CALL applyStyles( const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDiagram >& xDiagram ) throw (::com::sun::star::uno::RuntimeException); |