From 2beba8f93e7991372dd45351c92c50f7850dc46a Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Wed, 8 Aug 2012 13:53:08 +0200 Subject: reduce ascii noise and useless comments Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4 --- framework/source/fwe/classes/addonmenu.cxx | 3 --- framework/source/fwe/classes/addonsoptions.cxx | 8 -------- framework/source/fwe/classes/bmkmenu.cxx | 4 ---- framework/source/fwe/classes/framelistanalyzer.cxx | 19 ------------------- framework/source/fwe/helper/titlehelper.cxx | 2 -- .../fwe/interaction/preventduplicateinteraction.cxx | 15 --------------- framework/source/fwe/xml/menuconfiguration.cxx | 4 ---- framework/source/fwe/xml/statusbarconfiguration.cxx | 4 ---- framework/source/fwe/xml/statusbardocumenthandler.cxx | 4 ---- framework/source/fwe/xml/toolboxconfiguration.cxx | 4 ---- framework/source/fwe/xml/toolboxdocumenthandler.cxx | 4 ---- .../source/fwe/xml/toolboxlayoutdocumenthandler.cxx | 4 ---- 12 files changed, 75 deletions(-) (limited to 'framework/source/fwe') diff --git a/framework/source/fwe/classes/addonmenu.cxx b/framework/source/fwe/classes/addonmenu.cxx index 250fc1620ab3..b73be4869302 100644 --- a/framework/source/fwe/classes/addonmenu.cxx +++ b/framework/source/fwe/classes/addonmenu.cxx @@ -42,9 +42,6 @@ #include #include #include -//_________________________________________________________________________________________________________________ -// namespace -//_________________________________________________________________________________________________________________ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; diff --git a/framework/source/fwe/classes/addonsoptions.cxx b/framework/source/fwe/classes/addonsoptions.cxx index aadf95e3752f..c1789c81a313 100644 --- a/framework/source/fwe/classes/addonsoptions.cxx +++ b/framework/source/fwe/classes/addonsoptions.cxx @@ -57,10 +57,6 @@ using namespace ::com::sun::star::uno ; using namespace ::com::sun::star::beans ; using namespace ::com::sun::star::lang ; -//_________________________________________________________________________________________________________________ -// const -//_________________________________________________________________________________________________________________ - #define ROOTNODE_ADDONMENU ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Office.Addons" )) #define PATHDELIMITER ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/" )) #define SEPARATOR_URL_STR "private:separator" @@ -371,10 +367,6 @@ class AddonsOptions_Impl : public ConfigItem ToolbarMergingInstructions m_aCachedToolbarMergingInstructions; }; -//_________________________________________________________________________________________________________________ -// definitions -//_________________________________________________________________________________________________________________ - //***************************************************************************************************************** // constructor //***************************************************************************************************************** diff --git a/framework/source/fwe/classes/bmkmenu.cxx b/framework/source/fwe/classes/bmkmenu.cxx index 61c179049a58..c0ff1a5b60b2 100644 --- a/framework/source/fwe/classes/bmkmenu.cxx +++ b/framework/source/fwe/classes/bmkmenu.cxx @@ -47,10 +47,6 @@ #include #include -//_________________________________________________________________________________________________________________ -// namespace -//_________________________________________________________________________________________________________________ - using namespace ::comphelper; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; diff --git a/framework/source/fwe/classes/framelistanalyzer.cxx b/framework/source/fwe/classes/framelistanalyzer.cxx index 3df2b0d07ad7..5aee045c1de8 100644 --- a/framework/source/fwe/classes/framelistanalyzer.cxx +++ b/framework/source/fwe/classes/framelistanalyzer.cxx @@ -26,7 +26,6 @@ * ************************************************************************/ - #include "framework/framelistanalyzer.hxx" #include @@ -43,22 +42,8 @@ #include #include -//_______________________________________________ -// namespace - namespace framework{ -//_______________________________________________ -// non exported const - -//_______________________________________________ -// non exported definitions - -//_______________________________________________ -// declarations - -//_______________________________________________ - /** */ @@ -72,8 +57,6 @@ FrameListAnalyzer::FrameListAnalyzer( const css::uno::Reference< css::frame::XFr impl_analyze(); } -//_______________________________________________ - /** */ @@ -81,8 +64,6 @@ FrameListAnalyzer::~FrameListAnalyzer() { } -//_______________________________________________ - /** returns an analyzed list of all currently opened (top!) frames inside the desktop tree. We try to get a snapshot of all opened frames, which are part of the desktop frame container. diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx index f95d2252276f..1782d3404a86 100644 --- a/framework/source/fwe/helper/titlehelper.cxx +++ b/framework/source/fwe/helper/titlehelper.cxx @@ -44,8 +44,6 @@ #include #include -//_______________________________________________ -// namespace namespace framework{ diff --git a/framework/source/fwe/interaction/preventduplicateinteraction.cxx b/framework/source/fwe/interaction/preventduplicateinteraction.cxx index 29b06b3ff70b..59cf842e86d5 100644 --- a/framework/source/fwe/interaction/preventduplicateinteraction.cxx +++ b/framework/source/fwe/interaction/preventduplicateinteraction.cxx @@ -17,32 +17,17 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include "framework/preventduplicateinteraction.hxx" #include #include -//_________________________________________________________________________________________________________________ -// namespace -//_________________________________________________________________________________________________________________ - namespace framework{ namespace css = ::com::sun::star; -//_________________________________________________________________________________________________________________ -// exported const -//_________________________________________________________________________________________________________________ - #define IMPLEMENTATIONNAME_UIINTERACTIONHANDLER ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.uui.UUIInteractionHandler")) -//_________________________________________________________________________________________________________________ -// exported definitions -//_________________________________________________________________________________________________________________ - -//_________________________________________________________________________________________________________________ - PreventDuplicateInteraction::PreventDuplicateInteraction(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR) : ThreadHelpBase2() , m_xSMGR(xSMGR) diff --git a/framework/source/fwe/xml/menuconfiguration.cxx b/framework/source/fwe/xml/menuconfiguration.cxx index 0c5463b9b119..fe522fe3de95 100644 --- a/framework/source/fwe/xml/menuconfiguration.cxx +++ b/framework/source/fwe/xml/menuconfiguration.cxx @@ -40,10 +40,6 @@ #include #include -//_________________________________________________________________________________________________________________ -// namespace -//_________________________________________________________________________________________________________________ - using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::beans; diff --git a/framework/source/fwe/xml/statusbarconfiguration.cxx b/framework/source/fwe/xml/statusbarconfiguration.cxx index dac8637ba078..17e41e381b4f 100644 --- a/framework/source/fwe/xml/statusbarconfiguration.cxx +++ b/framework/source/fwe/xml/statusbarconfiguration.cxx @@ -40,10 +40,6 @@ #include #include -//_________________________________________________________________________________________________________________ -// namespace -//_________________________________________________________________________________________________________________ - using namespace ::com::sun::star::uno; using namespace ::com::sun::star::xml::sax; using namespace ::com::sun::star::lang; diff --git a/framework/source/fwe/xml/statusbardocumenthandler.cxx b/framework/source/fwe/xml/statusbardocumenthandler.cxx index 3b64e62b829d..04038e851562 100644 --- a/framework/source/fwe/xml/statusbardocumenthandler.cxx +++ b/framework/source/fwe/xml/statusbardocumenthandler.cxx @@ -43,10 +43,6 @@ #include -//_________________________________________________________________________________________________________________ -// namespace -//_________________________________________________________________________________________________________________ - using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::xml::sax; diff --git a/framework/source/fwe/xml/toolboxconfiguration.cxx b/framework/source/fwe/xml/toolboxconfiguration.cxx index b2fefb42a633..13afba4cf8ea 100644 --- a/framework/source/fwe/xml/toolboxconfiguration.cxx +++ b/framework/source/fwe/xml/toolboxconfiguration.cxx @@ -40,10 +40,6 @@ #include #include -//_________________________________________________________________________________________________________________ -// namespace -//_________________________________________________________________________________________________________________ - using namespace ::com::sun::star::uno; using namespace ::com::sun::star::xml::sax; using namespace ::com::sun::star::lang; diff --git a/framework/source/fwe/xml/toolboxdocumenthandler.cxx b/framework/source/fwe/xml/toolboxdocumenthandler.cxx index b3a22ae507ad..e97d86cbf933 100644 --- a/framework/source/fwe/xml/toolboxdocumenthandler.cxx +++ b/framework/source/fwe/xml/toolboxdocumenthandler.cxx @@ -47,10 +47,6 @@ #include -//_________________________________________________________________________________________________________________ -// namespace -//_________________________________________________________________________________________________________________ - using namespace ::com::sun::star::uno; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::container; diff --git a/framework/source/fwe/xml/toolboxlayoutdocumenthandler.cxx b/framework/source/fwe/xml/toolboxlayoutdocumenthandler.cxx index dcfe37449bc6..3e04ede17ef6 100644 --- a/framework/source/fwe/xml/toolboxlayoutdocumenthandler.cxx +++ b/framework/source/fwe/xml/toolboxlayoutdocumenthandler.cxx @@ -30,8 +30,4 @@ #include #include -//_________________________________________________________________________________________________________________ -// namespace -//_________________________________________________________________________________________________________________ - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit