[Libreoffice-commits] core.git: extensions/inc extensions/source extensions/test extensions/workben
Alexander Wilms
f.alexander.wilms at gmail.com
Thu Feb 27 05:34:50 PST 2014
extensions/inc/extensio.hrc | 2
extensions/source/abpilot/abpfinalpage.cxx | 12
extensions/source/abpilot/abpfinalpage.hxx | 12
extensions/source/abpilot/abpresid.hrc | 46 -
extensions/source/abpilot/abptypes.hxx | 8
extensions/source/abpilot/abspage.cxx | 12
extensions/source/abpilot/abspage.hxx | 12
extensions/source/abpilot/abspilot.cxx | 14
extensions/source/abpilot/abspilot.hxx | 12
extensions/source/abpilot/abspilot.src | 22
extensions/source/abpilot/addresssettings.hxx | 16
extensions/source/abpilot/admininvokationimpl.cxx | 12
extensions/source/abpilot/admininvokationpage.cxx | 12
extensions/source/abpilot/admininvokationpage.hxx | 12
extensions/source/abpilot/datasourcehandling.cxx | 46 -
extensions/source/abpilot/datasourcehandling.hxx | 34 -
extensions/source/abpilot/fieldmappingimpl.cxx | 26
extensions/source/abpilot/fieldmappingimpl.hxx | 32 -
extensions/source/abpilot/fieldmappingpage.cxx | 12
extensions/source/abpilot/fieldmappingpage.hxx | 12
extensions/source/abpilot/tableselectionpage.cxx | 12
extensions/source/abpilot/tableselectionpage.hxx | 12
extensions/source/abpilot/typeselectionpage.cxx | 12
extensions/source/abpilot/typeselectionpage.hxx | 12
extensions/source/abpilot/unodialogabp.cxx | 12
extensions/source/abpilot/unodialogabp.hxx | 12
extensions/source/activex/SOActionsApproval.cxx | 4
extensions/source/activex/SOActionsApproval.h | 2
extensions/source/activex/SOActiveX.cxx | 4
extensions/source/activex/SOActiveX.h | 2
extensions/source/activex/SOComWindowPeer.cxx | 4
extensions/source/activex/SOComWindowPeer.h | 2
extensions/source/activex/SODispatchInterceptor.cxx | 4
extensions/source/activex/SODispatchInterceptor.h | 2
extensions/source/activex/resource.h | 4
extensions/source/activex/so_activex.cxx | 18
extensions/source/activex/so_activex.idl | 2
extensions/source/activex/so_activex.rc | 50 -
extensions/source/bibliography/bibbeam.hxx | 8
extensions/source/bibliography/bibconfig.hxx | 10
extensions/source/bibliography/bibresid.hxx | 2
extensions/source/bibliography/bibview.cxx | 8
extensions/source/bibliography/bibview.hxx | 10
extensions/source/bibliography/datman.hxx | 2
extensions/source/bibliography/formcontrolcontainer.cxx | 12
extensions/source/bibliography/formcontrolcontainer.hxx | 12
extensions/source/bibliography/loadlisteneradapter.cxx | 20
extensions/source/bibliography/loadlisteneradapter.hxx | 24
extensions/source/config/ldap/componentdef.cxx | 2
extensions/source/config/ldap/ldapaccess.hxx | 6
extensions/source/config/ldap/ldapuserprofilebe.cxx | 2
extensions/source/config/ldap/ldapuserprofilebe.hxx | 2
extensions/source/dbpilots/commonpagesdbp.cxx | 20
extensions/source/dbpilots/commonpagesdbp.hxx | 20
extensions/source/dbpilots/controlwizard.cxx | 20
extensions/source/dbpilots/controlwizard.hxx | 20
extensions/source/dbpilots/dbpresid.hrc | 34 -
extensions/source/dbpilots/dbptools.cxx | 8
extensions/source/dbpilots/dbptools.hxx | 8
extensions/source/dbpilots/dbptypes.hxx | 8
extensions/source/dbpilots/gridwizard.cxx | 16
extensions/source/dbpilots/gridwizard.hxx | 24
extensions/source/dbpilots/groupboxwiz.cxx | 32 -
extensions/source/dbpilots/groupboxwiz.hxx | 40 -
extensions/source/dbpilots/listcombowizard.cxx | 32 -
extensions/source/dbpilots/listcombowizard.hxx | 36 -
extensions/source/dbpilots/optiongrouplayouter.cxx | 12
extensions/source/dbpilots/optiongrouplayouter.hxx | 12
extensions/source/dbpilots/unoautopilot.hxx | 16
extensions/source/dbpilots/unoautopilot.inl | 26
extensions/source/dbpilots/wizardcontext.hxx | 12
extensions/source/dbpilots/wizardservices.cxx | 20
extensions/source/dbpilots/wizardservices.hxx | 20
extensions/source/inc/componentmodule.cxx | 16
extensions/source/inc/componentmodule.hxx | 28 -
extensions/source/logging/consolehandler.cxx | 16
extensions/source/logging/filehandler.cxx | 16
extensions/source/logging/log_module.cxx | 8
extensions/source/logging/log_module.hxx | 8
extensions/source/logging/log_services.cxx | 8
extensions/source/logging/loggerconfig.cxx | 8
extensions/source/logging/loggerconfig.hxx | 8
extensions/source/logging/loghandler.cxx | 12
extensions/source/logging/loghandler.hxx | 12
extensions/source/logging/logrecord.cxx | 12
extensions/source/logging/logrecord.hxx | 12
extensions/source/logging/methodguard.hxx | 12
extensions/source/logging/plaintextformatter.cxx | 16
extensions/source/macosx/spotlight/OOoContentDataParser.m | 32 -
extensions/source/macosx/spotlight/OOoMetaDataParser.m | 44 -
extensions/source/macosx/spotlight/OOoSpotlightImporter.m | 34 -
extensions/source/ole/jscriptclasses.cxx | 10
extensions/source/ole/oledll.cxx | 2
extensions/source/ole/oleobjw.hxx | 4
extensions/source/ole/unoconversionutilities.hxx | 2
extensions/source/plugin/aqua/sysplug.mm | 42 -
extensions/source/plugin/base/manager.cxx | 2
extensions/source/plugin/base/multiplx.cxx | 4
extensions/source/plugin/base/plctrl.cxx | 2
extensions/source/plugin/base/plmodel.cxx | 2
extensions/source/plugin/inc/plugin/aqua/sysplug.hxx | 2
extensions/source/plugin/inc/plugin/plctrl.hxx | 2
extensions/source/plugin/inc/plugin/win/sysplug.hxx | 2
extensions/source/propctrlr/MasterDetailLinkDialog.cxx | 12
extensions/source/propctrlr/MasterDetailLinkDialog.hxx | 12
extensions/source/propctrlr/browserline.cxx | 12
extensions/source/propctrlr/browserline.hxx | 12
extensions/source/propctrlr/browserlistbox.cxx | 26
extensions/source/propctrlr/browserlistbox.hxx | 20
extensions/source/propctrlr/browserpage.cxx | 12
extensions/source/propctrlr/browserpage.hxx | 12
extensions/source/propctrlr/browserview.cxx | 12
extensions/source/propctrlr/browserview.hxx | 12
extensions/source/propctrlr/buttonnavigationhandler.cxx | 12
extensions/source/propctrlr/buttonnavigationhandler.hxx | 12
extensions/source/propctrlr/cellbindinghandler.cxx | 12
extensions/source/propctrlr/cellbindinghandler.hxx | 12
extensions/source/propctrlr/cellbindinghelper.cxx | 14
extensions/source/propctrlr/cellbindinghelper.hxx | 12
extensions/source/propctrlr/commoncontrol.cxx | 12
extensions/source/propctrlr/commoncontrol.hxx | 56 +-
extensions/source/propctrlr/composeduiupdate.cxx | 80 +-
extensions/source/propctrlr/composeduiupdate.hxx | 20
extensions/source/propctrlr/controlfontdialog.cxx | 12
extensions/source/propctrlr/controlfontdialog.hxx | 12
extensions/source/propctrlr/controltype.hxx | 12
extensions/source/propctrlr/defaultforminspection.cxx | 12
extensions/source/propctrlr/defaultforminspection.hxx | 12
extensions/source/propctrlr/defaulthelpprovider.cxx | 12
extensions/source/propctrlr/defaulthelpprovider.hxx | 12
extensions/source/propctrlr/editpropertyhandler.cxx | 12
extensions/source/propctrlr/editpropertyhandler.hxx | 12
extensions/source/propctrlr/eformshelper.cxx | 20
extensions/source/propctrlr/eformshelper.hxx | 12
extensions/source/propctrlr/eformspropertyhandler.cxx | 14
extensions/source/propctrlr/eformspropertyhandler.hxx | 12
extensions/source/propctrlr/enumrepresentation.hxx | 12
extensions/source/propctrlr/eventhandler.hxx | 16
extensions/source/propctrlr/fontdialog.cxx | 36 -
extensions/source/propctrlr/fontdialog.hxx | 12
extensions/source/propctrlr/fontitemids.hxx | 8
extensions/source/propctrlr/formbrowsertools.cxx | 8
extensions/source/propctrlr/formbrowsertools.hxx | 18
extensions/source/propctrlr/formcomponenthandler.cxx | 78 +-
extensions/source/propctrlr/formcomponenthandler.hxx | 20
extensions/source/propctrlr/formcontroller.cxx | 16
extensions/source/propctrlr/formcontroller.hxx | 20
extensions/source/propctrlr/formgeometryhandler.cxx | 28 -
extensions/source/propctrlr/formlinkdialog.cxx | 16
extensions/source/propctrlr/formlinkdialog.hxx | 12
extensions/source/propctrlr/formmetadata.cxx | 20
extensions/source/propctrlr/formmetadata.hxx | 24
extensions/source/propctrlr/formresid.hrc | 14
extensions/source/propctrlr/formstrings.hxx | 8
extensions/source/propctrlr/genericpropertyhandler.hxx | 12
extensions/source/propctrlr/handlerhelper.cxx | 12
extensions/source/propctrlr/handlerhelper.hxx | 12
extensions/source/propctrlr/inspectorhelpwindow.cxx | 10
extensions/source/propctrlr/inspectorhelpwindow.hxx | 12
extensions/source/propctrlr/inspectormodelbase.cxx | 20
extensions/source/propctrlr/inspectormodelbase.hxx | 12
extensions/source/propctrlr/linedescriptor.hxx | 12
extensions/source/propctrlr/listselectiondlg.cxx | 12
extensions/source/propctrlr/listselectiondlg.hxx | 12
extensions/source/propctrlr/modulepcr.cxx | 8
extensions/source/propctrlr/modulepcr.hxx | 8
extensions/source/propctrlr/newdatatype.cxx | 12
extensions/source/propctrlr/newdatatype.hxx | 12
extensions/source/propctrlr/objectinspectormodel.cxx | 16
extensions/source/propctrlr/pcrcommon.cxx | 12
extensions/source/propctrlr/pcrcommon.hxx | 28 -
extensions/source/propctrlr/pcrcommontypes.hxx | 8
extensions/source/propctrlr/pcrstrings.hxx | 8
extensions/source/propctrlr/pcrunodialogs.cxx | 12
extensions/source/propctrlr/pcrunodialogs.hxx | 12
extensions/source/propctrlr/propcontroller.cxx | 20
extensions/source/propctrlr/propcontroller.hxx | 12
extensions/source/propctrlr/propcontrolobserver.hxx | 12
extensions/source/propctrlr/propertycomposer.cxx | 16
extensions/source/propctrlr/propertycomposer.hxx | 12
extensions/source/propctrlr/propertycontrolextender.cxx | 16
extensions/source/propctrlr/propertycontrolextender.hxx | 12
extensions/source/propctrlr/propertyeditor.cxx | 12
extensions/source/propctrlr/propertyeditor.hxx | 12
extensions/source/propctrlr/propertyhandler.hxx | 34 -
extensions/source/propctrlr/propertyinfo.hxx | 12
extensions/source/propctrlr/propeventtranslation.cxx | 12
extensions/source/propctrlr/propeventtranslation.hxx | 12
extensions/source/propctrlr/proplinelistener.hxx | 10
extensions/source/propctrlr/propresid.hrc | 4
extensions/source/propctrlr/pushbuttonnavigation.cxx | 12
extensions/source/propctrlr/pushbuttonnavigation.hxx | 12
extensions/source/propctrlr/selectlabeldialog.cxx | 12
extensions/source/propctrlr/selectlabeldialog.hxx | 12
extensions/source/propctrlr/sqlcommanddesign.cxx | 16
extensions/source/propctrlr/sqlcommanddesign.hxx | 16
extensions/source/propctrlr/standardcontrol.cxx | 70 +-
extensions/source/propctrlr/standardcontrol.hxx | 70 +-
extensions/source/propctrlr/submissionhandler.cxx | 16
extensions/source/propctrlr/submissionhandler.hxx | 16
extensions/source/propctrlr/taborder.cxx | 22
extensions/source/propctrlr/taborder.hxx | 16
extensions/source/propctrlr/unourl.cxx | 12
extensions/source/propctrlr/unourl.hxx | 12
extensions/source/propctrlr/usercontrol.cxx | 28 -
extensions/source/propctrlr/usercontrol.hxx | 32 -
extensions/source/propctrlr/xsddatatypes.cxx | 16
extensions/source/propctrlr/xsddatatypes.hxx | 12
extensions/source/propctrlr/xsdvalidationhelper.cxx | 12
extensions/source/propctrlr/xsdvalidationhelper.hxx | 12
extensions/source/propctrlr/xsdvalidationpropertyhandler.cxx | 12
extensions/source/propctrlr/xsdvalidationpropertyhandler.hxx | 12
extensions/source/scanner/sane.hxx | 8
extensions/source/update/check/updatecheck.cxx | 2
extensions/source/update/check/updatecheckconfig.hxx | 2
extensions/test/ole/AxTestComponents/AxTestComponents.cpp | 10
extensions/test/ole/AxTestComponents/AxTestComponents.idl | 2
extensions/test/ole/AxTestComponents/AxTestComponents.rc | 50 -
extensions/test/ole/AxTestComponents/Basic.cpp | 2
extensions/test/ole/AxTestComponents/Basic.h | 2
extensions/test/ole/AxTestComponents/Foo.cpp | 2
extensions/test/ole/AxTestComponents/Foo.h | 2
extensions/test/ole/AxTestComponents/resource.h | 4
extensions/test/ole/EventListenerSample/EventListener/EventListener.cpp | 10
extensions/test/ole/EventListenerSample/EventListener/EventListener.idl | 2
extensions/test/ole/EventListenerSample/EventListener/EventListener.rc | 50 -
extensions/test/ole/EventListenerSample/EventListener/EvtListener.cpp | 2
extensions/test/ole/EventListenerSample/EventListener/EvtListener.h | 2
extensions/test/ole/EventListenerSample/EventListener/resource.h | 4
extensions/test/ole/JScriptNewStyle.htm | 268 +++++-----
extensions/test/ole/MfcControl/MfcControl.cpp | 8
extensions/test/ole/MfcControl/MfcControl.h | 2
extensions/test/ole/MfcControl/MfcControl.rc | 56 +-
extensions/test/ole/MfcControl/MfcControlCtl.cpp | 30 -
extensions/test/ole/MfcControl/MfcControlCtl.h | 2
extensions/test/ole/MfcControl/MfcControlPpg.cpp | 12
extensions/test/ole/MfcControl/MfcControlPpg.h | 2
extensions/test/ole/MfcControl/Resource.h | 2
extensions/test/ole/OleClient/clientTest.cxx | 58 +-
extensions/test/ole/OleClient/funcs.cxx | 2
extensions/test/ole/OleConverterVar1/convTest.cxx | 14
extensions/test/ole/OleConverterVar1/smartarray.h | 6
extensions/test/ole/OleTest.htm | 218 ++++----
extensions/test/ole/ScriptTest.html | 2
extensions/test/ole/callUnoToJava.htm | 36 -
extensions/test/ole/cpnt/cpnt.cxx | 2
extensions/test/ole/cpptest/cpptest.cxx | 2
extensions/test/ole/unoTocomCalls/Test/StdAfx.h | 2
extensions/test/ole/unoTocomCalls/Test/Test.cpp | 22
extensions/test/ole/unoTocomCalls/XCallback_Impl/Callback.cpp | 2
extensions/test/ole/unoTocomCalls/XCallback_Impl/Callback.h | 4
extensions/test/ole/unoTocomCalls/XCallback_Impl/Simple.cpp | 2
extensions/test/ole/unoTocomCalls/XCallback_Impl/Simple.h | 2
extensions/test/ole/unoTocomCalls/XCallback_Impl/XCallback_Impl.cpp | 10
extensions/test/ole/unoTocomCalls/XCallback_Impl/XCallback_Impl.idl | 2
extensions/test/ole/unoTocomCalls/XCallback_Impl/XCallback_Impl.rc | 48 -
extensions/test/ole/unoTocomCalls/XCallback_Impl/resource.h | 4
extensions/workben/testcomponent.cxx | 4
extensions/workben/testframecontrol.cxx | 6
259 files changed, 2143 insertions(+), 2149 deletions(-)
New commits:
commit 15246c959ae5ab4e124859a4d8981676f9eb657f
Author: Alexander Wilms <f.alexander.wilms at gmail.com>
Date: Tue Feb 25 18:36:00 2014 +0100
Remove visual noise from extensions
Change-Id: I0397d0d0e5343b7ed192a790664b068ac6955bd3
Reviewed-on: https://gerrit.libreoffice.org/8259
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/extensions/inc/extensio.hrc b/extensions/inc/extensio.hrc
index 413319d..a203b41 100644
--- a/extensions/inc/extensio.hrc
+++ b/extensions/inc/extensio.hrc
@@ -21,7 +21,7 @@
#include <svl/solar.hrc>
-// -----------------------------------------------------------------------
+
// - resource id ranges
#define RID_ABP_START ( RID_MORE_EXTENSIONS_START + 0 )
diff --git a/extensions/source/abpilot/abpfinalpage.cxx b/extensions/source/abpilot/abpfinalpage.cxx
index 0006168..4e9d69c 100644
--- a/extensions/source/abpilot/abpfinalpage.cxx
+++ b/extensions/source/abpilot/abpfinalpage.cxx
@@ -28,10 +28,10 @@
#include <vcl/msgbox.hxx>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
-//.........................................................................
+
namespace abp
{
-//.........................................................................
+
using namespace ::svt;
using namespace ::utl;
@@ -41,9 +41,9 @@ namespace abp
OSL_ENSURE(pFilter,"Filter: StarOffice XML (Base) could not be found!");
return pFilter;
}
- //=====================================================================
+
//= FinalPage
- //=====================================================================
+
FinalPage::FinalPage( OAddessBookSourcePilot* _pParent )
:AddressBookSourcePage(_pParent, ModuleRes(RID_PAGE_FINAL))
@@ -207,8 +207,8 @@ namespace abp
implCheckName();
return 0L;
}
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/abpilot/abpfinalpage.hxx b/extensions/source/abpilot/abpfinalpage.hxx
index 49e8a5a..a65af43 100644
--- a/extensions/source/abpilot/abpfinalpage.hxx
+++ b/extensions/source/abpilot/abpfinalpage.hxx
@@ -27,14 +27,14 @@
#include <svx/databaselocationinput.hxx>
#include <vcl/edit.hxx>
-//.........................................................................
+
namespace abp
{
-//.........................................................................
- //=====================================================================
+
+
//= FinalPage
- //=====================================================================
+
class FinalPage : public AddressBookSourcePage
{
protected:
@@ -76,9 +76,9 @@ namespace abp
void setFields();
};
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
#endif // EXTENSIONS_ABP_ABPFINALPAGE_HXX
diff --git a/extensions/source/abpilot/abpresid.hrc b/extensions/source/abpilot/abpresid.hrc
index 94f95ab..402590a 100644
--- a/extensions/source/abpilot/abpresid.hrc
+++ b/extensions/source/abpilot/abpresid.hrc
@@ -23,7 +23,7 @@
#include "abpilot.hrc"
#include "extensio.hrc"
-//========================================================================
+
// basics
#define RID_DIALOG_START RID_ABP_START
@@ -34,7 +34,7 @@
#define RID_QUERYBOX_START RID_ABP_START
#define RID_BITMAP_START RID_ABP_START
-//========================================================================
+
// dialogs
#define RID_DLG_ADDRESSBOOKSOURCEPILOT ( RID_DIALOG_START + 0 )
@@ -42,7 +42,7 @@
#define RID_DIALOG_END RID_DLG_ADDRESSBOOKSOURCEPILOT
-//========================================================================
+
// tab pages
#define RID_PAGE_SELECTABTYPE ( RID_PAGE_START + 0 )
@@ -54,7 +54,7 @@
#define RID_PAGE_END RID_PAGE_FINAL
-//========================================================================
+
// strings
#define RID_STR_DEFAULT_NAME ( RID_STRING_START + 0 )
@@ -67,7 +67,7 @@
#define RID_STRING_END RID_STR_NOFIELDSASSIGNED
-//========================================================================
+
// error boxes
#define RID_ERR_NEEDTYPESELECTION ( RID_ERRORBOX_START + 0 )
@@ -75,7 +75,7 @@
#define RID_ERRORBOX_END RID_ERR_NEEDTYPESELECTION
-//========================================================================
+
// query boxes
#define RID_QRY_NOTABLES ( RID_QUERYBOX_START + 0 )
@@ -85,7 +85,7 @@
#define RID_QUERYBOX_END RID_QRY_NO_EVO_GW
-//========================================================================
+
// untyped resources
#define RID_RSC_NOTUSEDYET ( RID_UNTYPED_START + 0 )
@@ -93,7 +93,7 @@
#define RID_UNTYPED_END RID_RSC_NOTUSEDYET
-//========================================================================
+
// bitmaps
#define BMP_HEADERIMAGE ( RID_BITMAP_START + 0 )
@@ -101,8 +101,8 @@
#define RID_BITMAP_END BMP_HEADERIMAGE
-//========================================================================
-//========================================================================
+
+
//= range checks
#if RID_DIALOG_END > RID_ABP_END
@@ -127,15 +127,15 @@
#error "please adjust the resource id ranges!!"
#endif
-//========================================================================
+
// local resource ids
-//........................................................................
+
#define FL_SEPARATOR 1
#define FL_TYPE 2
#define FL_NAME 3
-//........................................................................
+
#define FT_TYPE_HINTS 1
#define FT_ADMINEXPLANATION 3
#define FT_NAME_EXPL 4
@@ -147,7 +147,7 @@
#define FT_DUPLICATENAME 10
#define FT_LOCATION 11
-//........................................................................
+
#define RB_MORK 1
#define RB_THUNDERBIRD 2
#define RB_EVOLUTION 3
@@ -160,34 +160,34 @@
#define RB_EVOLUTION_GROUPWISE 10
#define RB_EVOLUTION_LDAP 11
-//........................................................................
+
#define ET_DATASOURCENAME 1
-//........................................................................
+
#define PB_INVOKE_ADMIN_DIALOG 1
#define PB_INVOKE_FIELDS_DIALOG 2
#define PB_BROWSE 3
-//........................................................................
+
#define LB_TABLELIST 1
-//........................................................................
+
#define CB_REGISTER_DS 1
-//........................................................................
+
#define CBB_LOCATION 1
-//........................................................................
+
#define STR_SELECT_ABTYPE 1
#define STR_INVOKE_ADMIN_DIALOG 2
#define STR_TABLE_SELECTION 3
#define STR_MANUAL_FIELD_MAPPING 4
#define STR_FINAL_CONFIRM 5
-//========================================================================
+
// some defines
-//........................................................................
+
#define WINDOW_SIZE_X 240
#define WINDOW_SIZE_Y 185
@@ -201,7 +201,7 @@
#define BORDER_X 12
-//........................................................................
+
#endif // EXTENSIONS_ABPRESID_HRC
diff --git a/extensions/source/abpilot/abptypes.hxx b/extensions/source/abpilot/abptypes.hxx
index 1cb4abf..5a69cf5 100644
--- a/extensions/source/abpilot/abptypes.hxx
+++ b/extensions/source/abpilot/abptypes.hxx
@@ -27,18 +27,18 @@
#include <rtl/ustring.hxx>
-//.........................................................................
+
namespace abp
{
-//.........................................................................
+
typedef std::set<OUString> StringBag;
typedef std::map<OUString, OUString> MapString2String;
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
#endif // EXTENSIONS_ABP_ABPTYPES_HXX
diff --git a/extensions/source/abpilot/abspage.cxx b/extensions/source/abpilot/abspage.cxx
index 27b41ac..a6245db 100644
--- a/extensions/source/abpilot/abspage.cxx
+++ b/extensions/source/abpilot/abspage.cxx
@@ -20,17 +20,17 @@
#include "abspage.hxx"
#include "abspilot.hxx"
-//.........................................................................
+
namespace abp
{
-//.........................................................................
+
using namespace ::svt;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
- //=====================================================================
+
//= AddressBookSourcePage
- //=====================================================================
+
AddressBookSourcePage::AddressBookSourcePage( OAddessBookSourcePilot* _pParent, const ResId& _rId )
:AddressBookSourcePage_Base(_pParent, _rId)
{
@@ -73,8 +73,8 @@ namespace abp
return getDialog()->getORB();
}
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/abpilot/abspage.hxx b/extensions/source/abpilot/abspage.hxx
index d8369c3..fcbf779 100644
--- a/extensions/source/abpilot/abspage.hxx
+++ b/extensions/source/abpilot/abspage.hxx
@@ -26,17 +26,17 @@
#include "componentmodule.hxx"
#include <vcl/fixed.hxx>
-//.........................................................................
+
namespace abp
{
-//.........................................................................
+
class OAddessBookSourcePilot;
struct AddressSettings;
- //=====================================================================
+
//= AddressBookSourcePage
- //=====================================================================
+
typedef ::svt::OWizardPage AddressBookSourcePage_Base;
/// the base class for all tab pages in the address book source wizard
class AddressBookSourcePage : public AddressBookSourcePage_Base
@@ -57,9 +57,9 @@ namespace abp
virtual void DeactivatePage();
};
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
#endif // EXTENSIONS_ABP_ABSPAGE_HXX
diff --git a/extensions/source/abpilot/abspilot.cxx b/extensions/source/abpilot/abspilot.cxx
index 46893fc..765890a 100644
--- a/extensions/source/abpilot/abspilot.cxx
+++ b/extensions/source/abpilot/abspilot.cxx
@@ -34,10 +34,10 @@
#include "fieldmappingpage.hxx"
#include "fieldmappingimpl.hxx"
-//.........................................................................
+
namespace abp
{
-//.........................................................................
+
#define STATE_SELECT_ABTYPE 0
#define STATE_INVOKE_ADMIN_DIALOG 1
@@ -54,9 +54,9 @@ namespace abp
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
- //=====================================================================
+
//= OAddessBookSourcePilot
- //=====================================================================
+
OAddessBookSourcePilot::OAddessBookSourcePilot(Window* _pParent, const Reference< XComponentContext >& _rxORB)
:OAddessBookSourcePilot_Base( _pParent, ModuleRes( RID_DLG_ADDRESSBOOKSOURCEPILOT ),
@@ -270,7 +270,7 @@ namespace abp
break;
}
- // ........................................................
+
// now that we connected to the data source, check whether we need the "table selection" page
const StringBag& aTables = m_aNewDataSource.getTableNames();
@@ -490,8 +490,8 @@ namespace abp
impl_updateRoadmap( _eType );
}
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/abpilot/abspilot.hxx b/extensions/source/abpilot/abspilot.hxx
index 26a4135..082c461 100644
--- a/extensions/source/abpilot/abspilot.hxx
+++ b/extensions/source/abpilot/abspilot.hxx
@@ -25,14 +25,14 @@
#include <vcl/fixed.hxx>
#include "datasourcehandling.hxx"
-//.........................................................................
+
namespace abp
{
-//.........................................................................
- //=====================================================================
+
+
//= OAddessBookSourcePilot
- //=====================================================================
+
typedef ::svt::RoadmapWizard OAddessBookSourcePilot_Base;
class OAddessBookSourcePilot : public OAddessBookSourcePilot_Base
{
@@ -134,9 +134,9 @@ namespace abp
void impl_updateRoadmap( AddressSourceType _eType );
};
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
#endif // EXTENSIONS_ABSPILOT_HXX
diff --git a/extensions/source/abpilot/abspilot.src b/extensions/source/abpilot/abspilot.src
index 310616c..f898724 100644
--- a/extensions/source/abpilot/abspilot.src
+++ b/extensions/source/abpilot/abspilot.src
@@ -19,7 +19,7 @@
#include "abpresid.hrc"
-//........................................................................
+
ModalDialog RID_DLG_ADDRESSBOOKSOURCEPILOT
{
Text [ en-US ] = "Address Book Data Source Wizard" ;
@@ -58,7 +58,7 @@ ModalDialog RID_DLG_ADDRESSBOOKSOURCEPILOT
};
};
-//........................................................................
+
TabPage RID_PAGE_SELECTABTYPE
{
HelpID = "extensions:TabPage:RID_PAGE_SELECTABTYPE";
@@ -150,7 +150,7 @@ TabPage RID_PAGE_SELECTABTYPE
};
};
-//........................................................................
+
TabPage RID_PAGE_ADMININVOKATION
{
HelpID = "extensions:TabPage:RID_PAGE_ADMININVOKATION";
@@ -186,7 +186,7 @@ TabPage RID_PAGE_ADMININVOKATION
};
};
-//........................................................................
+
TabPage RID_PAGE_TABLESELECTION_AB
{
HelpID = "extensions:TabPage:RID_PAGE_TABLESELECTION_AB";
@@ -215,7 +215,7 @@ TabPage RID_PAGE_TABLESELECTION_AB
};
};
-//........................................................................
+
TabPage RID_PAGE_FIELDMAPPING
{
HelpID = "extensions:TabPage:RID_PAGE_FIELDMAPPING";
@@ -248,7 +248,7 @@ TabPage RID_PAGE_FIELDMAPPING
};
};
-//........................................................................
+
TabPage RID_PAGE_FINAL
{
HelpID = "extensions:TabPage:RID_PAGE_FINAL";
@@ -334,7 +334,7 @@ TabPage RID_PAGE_FINAL
};
};
-//........................................................................
+
ErrorBox RID_ERR_NEEDTYPESELECTION
{
Buttons = WB_OK;
@@ -342,7 +342,7 @@ ErrorBox RID_ERR_NEEDTYPESELECTION
Message [ en-US ] = "Please select a type of address book.";
};
-//........................................................................
+
QueryBox RID_QRY_NOTABLES
{
Buttons = WB_YES_NO;
@@ -351,7 +351,7 @@ QueryBox RID_QRY_NOTABLES
Message [ en-US ] = "The data source does not contain any tables.\nDo you want to set it up as an address data source, anyway?";
};
-//........................................................................
+
QueryBox RID_QRY_NO_EVO_GW
{
Buttons = WB_YES_NO;
@@ -360,7 +360,7 @@ QueryBox RID_QRY_NO_EVO_GW
Message [ en-US ] = "You don't seem to have any GroupWise account configured in Evolution.\nDo you want to set it up as an address data source, anyway?";
};
-//........................................................................
+
String RID_STR_DEFAULT_NAME
{
Text [ en-US ] = "Addresses";
@@ -391,7 +391,7 @@ String RID_STR_NOFIELDSASSIGNED
Text [ en-US ] = "There are no fields assigned at this time.\nYou can either assign fields now or do so later by first choosing:\n\"File - Template - Address Book Source...\"";
};
-//........................................................................
+
Bitmap BMP_HEADERIMAGE
{
file = "addresspilot.bmp";
diff --git a/extensions/source/abpilot/addresssettings.hxx b/extensions/source/abpilot/addresssettings.hxx
index 53cb58e..d719751 100644
--- a/extensions/source/abpilot/addresssettings.hxx
+++ b/extensions/source/abpilot/addresssettings.hxx
@@ -23,14 +23,14 @@
#include <rtl/ustring.hxx>
#include "abptypes.hxx"
-//.........................................................................
+
namespace abp
{
-//.........................................................................
- //=====================================================================
+
+
//= AddressSourceType
- //=====================================================================
+
enum AddressSourceType
{
AST_MORK,
@@ -49,9 +49,9 @@ namespace abp
AST_INVALID
};
- //=====================================================================
+
//= AddressSettings
- //=====================================================================
+
struct AddressSettings
{
AddressSourceType eType;
@@ -63,9 +63,9 @@ namespace abp
bool bRegisterDataSource;
};
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
#endif // EXTENSIONS_ABP_ADDRESSSETTINGS_HXX
diff --git a/extensions/source/abpilot/admininvokationimpl.cxx b/extensions/source/abpilot/admininvokationimpl.cxx
index 143b567..6ad36a9 100644
--- a/extensions/source/abpilot/admininvokationimpl.cxx
+++ b/extensions/source/abpilot/admininvokationimpl.cxx
@@ -30,10 +30,10 @@
#include <vcl/waitobj.hxx>
-//.........................................................................
+
namespace abp
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -42,9 +42,9 @@ namespace abp
using namespace ::com::sun::star::ui::dialogs;
using namespace ::com::sun::star::sdbc;
- //=====================================================================
+
//= OAdminDialogInvokation
- //=====================================================================
+
OAdminDialogInvokation::OAdminDialogInvokation(const Reference< XComponentContext >& _rxContext
, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > _xDataSource
@@ -119,8 +119,8 @@ namespace abp
return sal_False;
}
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/abpilot/admininvokationpage.cxx b/extensions/source/abpilot/admininvokationpage.cxx
index 5435546..a237eb3 100644
--- a/extensions/source/abpilot/admininvokationpage.cxx
+++ b/extensions/source/abpilot/admininvokationpage.cxx
@@ -22,14 +22,14 @@
#include "admininvokationimpl.hxx"
#include "comphelper/processfactory.hxx"
-//.........................................................................
+
namespace abp
{
-//.........................................................................
- //=====================================================================
+
+
//= AdminDialogInvokationPage
- //=====================================================================
+
AdminDialogInvokationPage::AdminDialogInvokationPage( OAddessBookSourcePilot* _pParent )
:AddressBookSourcePage(_pParent, ModuleRes(RID_PAGE_ADMININVOKATION))
,m_aExplanation (this, ModuleRes(FT_ADMINEXPLANATION))
@@ -99,8 +99,8 @@ namespace abp
return 0L;
}
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/abpilot/admininvokationpage.hxx b/extensions/source/abpilot/admininvokationpage.hxx
index 1fa1599..77d75df 100644
--- a/extensions/source/abpilot/admininvokationpage.hxx
+++ b/extensions/source/abpilot/admininvokationpage.hxx
@@ -22,14 +22,14 @@
#include "abspage.hxx"
-//.........................................................................
+
namespace abp
{
-//.........................................................................
- //=====================================================================
+
+
//= AdminDialogInvokationPage
- //=====================================================================
+
class AdminDialogInvokationPage : public AddressBookSourcePage
{
protected:
@@ -57,9 +57,9 @@ namespace abp
void implUpdateErrorMessage();
};
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
#endif // EXTENSIONS_ABP_ADMINDIALOG_INVOKATION_PAGE_HXX
diff --git a/extensions/source/abpilot/datasourcehandling.cxx b/extensions/source/abpilot/datasourcehandling.cxx
index 7945bd2..5c5cfe9 100644
--- a/extensions/source/abpilot/datasourcehandling.cxx
+++ b/extensions/source/abpilot/datasourcehandling.cxx
@@ -46,10 +46,10 @@
#include <unotools/sharedunocomponent.hxx>
#include <vcl/stdtext.hxx>
-//.........................................................................
+
namespace abp
{
-//.........................................................................
+
using namespace ::utl;
using namespace ::comphelper;
@@ -63,10 +63,10 @@ namespace abp
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::frame;
- //=====================================================================
+
struct PackageAccessControl { };
- //=====================================================================
+
static Reference< XDatabaseContext > lcl_getDataSourceContext( const Reference< XComponentContext >& _rxContext ) SAL_THROW (( Exception ))
{
@@ -80,21 +80,21 @@ namespace abp
const Reference< XComponentContext >& _rxContext, const OUString& _rName,
Reference< XPropertySet >& /* [out] */ _rxNewDataSource ) SAL_THROW (( ::com::sun::star::uno::Exception ))
{
- //.............................................................
+
// get the data source context
Reference< XDatabaseContext > xContext = lcl_getDataSourceContext( _rxContext );
DBG_ASSERT( !xContext->hasByName( _rName ), "lcl_implCreateAndInsert: name already used!" );
(void)_rName;
- //.............................................................
+
// create a new data source
Reference< XPropertySet > xNewDataSource;
if (xContext.is())
xNewDataSource = Reference< XPropertySet >( xContext->createInstance(), UNO_QUERY );
DBG_ASSERT( xNewDataSource.is(), "lcl_implCreateAndInsert: could not create a new data source!" );
- //.............................................................
+
// insert the data source into the context
DBG_ASSERT( xContext.is(), "lcl_implCreateAndInsert: missing an interface on the context (XNamingService)!" );
if (xContext.is())
@@ -117,7 +117,7 @@ namespace abp
Reference< XPropertySet > xNewDataSource;
lcl_implCreateAndInsert( _rxORB, _rName, xNewDataSource );
- //.............................................................
+
// set the URL property
if (xNewDataSource.is())
{
@@ -157,9 +157,9 @@ namespace abp
}
}
- //=====================================================================
+
//= ODataSourceContextImpl
- //=====================================================================
+
struct ODataSourceContextImpl
{
Reference< XComponentContext > xORB;
@@ -174,9 +174,9 @@ namespace abp
}
};
- //=====================================================================
+
//= ODataSourceContext
- //=====================================================================
+
ODataSourceContext::ODataSourceContext(const Reference< XComponentContext >& _rxORB)
:m_pImpl( new ODataSourceContextImpl( _rxORB ) )
@@ -298,9 +298,9 @@ namespace abp
return lcl_implCreateAndSetURL( m_pImpl->xORB, _rName, "sdbc:dbase:" );
}
- //=====================================================================
+
//= ODataSourceImpl
- //=====================================================================
+
struct ODataSourceImpl
{
public:
@@ -332,9 +332,9 @@ namespace abp
{
}
- //=====================================================================
+
//= ODataSource
- //=====================================================================
+
ODataSource::ODataSource( const ODataSource& _rSource )
:m_pImpl( NULL )
@@ -512,7 +512,7 @@ namespace abp
// nothing to do
return sal_True;
- // ................................................................
+
// create the interaction handler (needed for authentication and error handling)
Reference< XInteractionHandler > xInteractions;
try
@@ -525,7 +525,7 @@ namespace abp
{
}
- // ................................................................
+
// failure to create the interaction handler is a serious issue ...
if (!xInteractions.is())
{
@@ -535,7 +535,7 @@ namespace abp
return sal_False;
}
- // ................................................................
+
// open the connection
Any aError;
Reference< XConnection > xConnection;
@@ -554,7 +554,7 @@ namespace abp
OSL_FAIL( "ODataSource::connect: caught a generic exception!" );
}
- // ................................................................
+
// handle errors
if ( aError.hasValue() && _pMessageParent )
{
@@ -587,7 +587,7 @@ namespace abp
if ( !xConnection.is() )
return sal_False;
- // ................................................................
+
// success
m_pImpl->xConnection.reset( xConnection );
m_pImpl->aTables.clear();
@@ -621,8 +621,8 @@ namespace abp
return m_pImpl ? m_pImpl->xDataSource : Reference< XPropertySet >();
}
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/abpilot/datasourcehandling.hxx b/extensions/source/abpilot/datasourcehandling.hxx
index d77a626..c3f56c5 100644
--- a/extensions/source/abpilot/datasourcehandling.hxx
+++ b/extensions/source/abpilot/datasourcehandling.hxx
@@ -25,7 +25,7 @@
#include "abptypes.hxx"
-//========================================================================
+
namespace com { namespace sun { namespace star {
namespace beans {
class XPropertySet;
@@ -35,14 +35,14 @@ namespace com { namespace sun { namespace star {
class Window;
-//.........................................................................
+
namespace abp
{
-//.........................................................................
- //=====================================================================
+
+
//= ODataSourceContext
- //=====================================================================
+
struct ODataSourceContextImpl;
class ODataSource;
/// a non-UNO wrapper for the data source context
@@ -97,9 +97,9 @@ namespace abp
ODataSource createNewDBase( const OUString& _rName ) SAL_THROW (( ));
};
- //=====================================================================
+
//= ODataSource
- //=====================================================================
+
struct ODataSourceImpl;
struct PackageAccessControl;
/** a non-UNO wrapper for a data source
@@ -114,9 +114,9 @@ namespace abp
ODataSourceImpl* m_pImpl;
public:
- // ----------------------------------------------------------------
+
// - ctor/dtor/assignment
- // ----------------------------------------------------------------
+
/// constructs an object which is initially invalid
ODataSource(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB
@@ -131,11 +131,11 @@ namespace abp
/// assignment
ODataSource& operator=( const ODataSource& _rSource );
- // ----------------------------------------------------------------
+
/// checks whether or not the object represents a valid data source
sal_Bool isValid() const SAL_THROW (( ));
- // ----------------------------------------------------------------
+
/// removes the data source represented by the object from the data source context
void remove() SAL_THROW (( ));
// TODO: put this into the context class
@@ -148,9 +148,9 @@ namespace abp
sal_Bool rename( const OUString& _rName ) SAL_THROW (( ));
// TODO: put this into the context class
- // ----------------------------------------------------------------
+
// - connection handling
- // ----------------------------------------------------------------
+
/** connects to the data source represented by this object
@param _pMessageParent
the window to use as parent for any error messages. If this is <NULL/>, no messages are displayed
@@ -171,7 +171,7 @@ namespace abp
/// register the data source under the given name in the configuration
void registerDataSource( const OUString& _sRegisteredDataSourceName ) SAL_THROW (( ));
- // ----------------------------------------------------------------
+
/** retrieves the tables names from the connection
<p>to be called when <method>isConnection</method> returns <TRUE/> only</p>
*/
@@ -185,7 +185,7 @@ namespace abp
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > getDataSource() const SAL_THROW (( ));
- // ----------------------------------------------------------------
+
/** set a new data source.
<p>Available to selected clients only</p>
*/
@@ -199,9 +199,9 @@ namespace abp
ODataSource( ); // never implemented
};
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
#endif // EXTENSIONS_ABP_DATASOURCEHANDLING_HXX
diff --git a/extensions/source/abpilot/fieldmappingimpl.cxx b/extensions/source/abpilot/fieldmappingimpl.cxx
index 0291d73..0104374 100644
--- a/extensions/source/abpilot/fieldmappingimpl.cxx
+++ b/extensions/source/abpilot/fieldmappingimpl.cxx
@@ -34,10 +34,10 @@
#include <unotools/confignode.hxx>
#include "sal/macros.h"
-//.........................................................................
+
namespace abp
{
-//.........................................................................
+
using namespace ::utl;
using namespace ::com::sun::star::uno;
@@ -63,10 +63,10 @@ namespace abp
return s_sAddressBookNodeName;
}
- //.....................................................................
+
namespace fieldmapping
{
- //.....................................................................
+
sal_Bool invokeDialog( const Reference< XComponentContext >& _rxORB, class Window* _pParent,
@@ -81,7 +81,7 @@ namespace abp
try
{
- // ........................................................
+
// create an instance of the dialog service
Reference< XWindow > xDialogParent = VCLUnoHelper::GetInterface( _pParent );
OUString sTitle(ModuleRes(RID_STR_FIELDDIALOGTITLE).toString());
@@ -287,14 +287,14 @@ namespace abp
aAddressBookSettings.commit();
}
- //.....................................................................
+
} // namespace fieldmapping
- //.....................................................................
- //.....................................................................
+
+
namespace addressconfig
{
- //.....................................................................
+
void writeTemplateAddressSource( const Reference< XComponentContext >& _rxContext,
@@ -332,12 +332,12 @@ namespace abp
aAddressBookSettings.commit();
}
- //.....................................................................
+
} // namespace addressconfig
- //.....................................................................
-//.........................................................................
+
+
} // namespace abp
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/abpilot/fieldmappingimpl.hxx b/extensions/source/abpilot/fieldmappingimpl.hxx
index 1793a99..a08b455 100644
--- a/extensions/source/abpilot/fieldmappingimpl.hxx
+++ b/extensions/source/abpilot/fieldmappingimpl.hxx
@@ -38,17 +38,17 @@ namespace com { namespace sun { namespace star {
} } }
class Window;
-//.........................................................................
+
namespace abp
{
-//.........................................................................
- //.....................................................................
+
+
namespace fieldmapping
{
- //.....................................................................
- //-----------------------------------------------------------------
+
+
/** invokes the field mapping dialog
@param _rxORB
service factory to use for creating UNO services
@@ -66,7 +66,7 @@ namespace abp
AddressSettings& _rSettings
) SAL_THROW ( ( ) );
- //-----------------------------------------------------------------
+
/** creates a default field mapping for usage with the address book SDBC driver
<p>The column names as used by the SDBC driver for address books is stored in the configuration,
and this function creates a mapping which uses this configuration information.</p>
@@ -76,7 +76,7 @@ namespace abp
MapString2String& /* [out] */ _rFieldAssignment
) SAL_THROW ( ( ) );
- //-----------------------------------------------------------------
+
/** writes a field mapping for the template document address source
*/
void writeTemplateAddressFieldMapping(
@@ -84,16 +84,16 @@ namespace abp
const MapString2String& _rFieldAssignment
) SAL_THROW ( ( ) );
- //.....................................................................
+
} // namespace fieldmapping
- //.....................................................................
- //.....................................................................
+
+
namespace addressconfig
{
- //.....................................................................
- //-----------------------------------------------------------------
+
+
/** writes the data source / table name given into the configuration, to where the template documents
expect it.
*/
@@ -109,13 +109,13 @@ namespace abp
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext
) SAL_THROW ( ( ) );
- //.....................................................................
+
} // namespace addressconfig
- //.....................................................................
-//.........................................................................
+
+
} // namespace abp
-//.........................................................................
+
#endif // EXTENSIONS_ABP_FIELDMAPPINGIMPL_HXX
diff --git a/extensions/source/abpilot/fieldmappingpage.cxx b/extensions/source/abpilot/fieldmappingpage.cxx
index ec2b650..5ebdc9d 100644
--- a/extensions/source/abpilot/fieldmappingpage.cxx
+++ b/extensions/source/abpilot/fieldmappingpage.cxx
@@ -23,14 +23,14 @@
#include "abspilot.hxx"
#include <comphelper/processfactory.hxx>
-//.........................................................................
+
namespace abp
{
-//.........................................................................
- //=====================================================================
+
+
//= FieldMappingPage
- //=====================================================================
+
FieldMappingPage::FieldMappingPage( OAddessBookSourcePilot* _pParent )
:AddressBookSourcePage( _pParent, ModuleRes( RID_PAGE_FIELDMAPPING ) )
@@ -103,8 +103,8 @@ namespace abp
return 0L;
}
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/abpilot/fieldmappingpage.hxx b/extensions/source/abpilot/fieldmappingpage.hxx
index b19bbcb..9509831 100644
--- a/extensions/source/abpilot/fieldmappingpage.hxx
+++ b/extensions/source/abpilot/fieldmappingpage.hxx
@@ -22,14 +22,14 @@
#include "abspage.hxx"
-//.........................................................................
+
namespace abp
{
-//.........................................................................
- //=====================================================================
+
+
//= FieldMappingPage
- //=====================================================================
+
class FieldMappingPage : public AddressBookSourcePage
{
protected:
@@ -54,9 +54,9 @@ namespace abp
void implUpdateHint();
};
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
#endif // EXTENSIONS_ABP_FIELDMAPPINGPAGE_HXX
diff --git a/extensions/source/abpilot/tableselectionpage.cxx b/extensions/source/abpilot/tableselectionpage.cxx
index 1dcf8b8..655b901 100644
--- a/extensions/source/abpilot/tableselectionpage.cxx
+++ b/extensions/source/abpilot/tableselectionpage.cxx
@@ -23,14 +23,14 @@
#include "abspilot.hxx"
#include <tools/debug.hxx>
-//.........................................................................
+
namespace abp
{
-//.........................................................................
- //=====================================================================
+
+
//= TableSelectionPage
- //=====================================================================
+
TableSelectionPage::TableSelectionPage( OAddessBookSourcePilot* _pParent )
:AddressBookSourcePage(_pParent, ModuleRes(RID_PAGE_TABLESELECTION_AB))
@@ -117,8 +117,8 @@ namespace abp
&& ( 0 < m_aTableList.GetSelectEntryCount() );
}
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/abpilot/tableselectionpage.hxx b/extensions/source/abpilot/tableselectionpage.hxx
index 5ac78b8..99be33c 100644
--- a/extensions/source/abpilot/tableselectionpage.hxx
+++ b/extensions/source/abpilot/tableselectionpage.hxx
@@ -23,14 +23,14 @@
#include "abspage.hxx"
#include <vcl/lstbox.hxx>
-//.........................................................................
+
namespace abp
{
-//.........................................................................
- //=====================================================================
+
+
//= TableSelectionPage
- //=====================================================================
+
class TableSelectionPage : public AddressBookSourcePage
{
protected:
@@ -57,9 +57,9 @@ namespace abp
DECL_LINK( OnTableDoubleClicked, void* );
};
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
#endif // EXTENSIONS_ABP_TABLESELECTIONPAGE_HXX
diff --git a/extensions/source/abpilot/typeselectionpage.cxx b/extensions/source/abpilot/typeselectionpage.cxx
index e194d35..b5d0c86 100644
--- a/extensions/source/abpilot/typeselectionpage.cxx
+++ b/extensions/source/abpilot/typeselectionpage.cxx
@@ -25,18 +25,12 @@
#include <com/sun/star/sdbc/DriverManager.hpp>
#include <comphelper/processfactory.hxx>
-//.........................................................................
namespace abp
{
-//.........................................................................
-
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::sdbc;
- //=====================================================================
- //= TypeSelectionPage
- //=====================================================================
-
+ // TypeSelectionPage
TypeSelectionPage::TypeSelectionPage( OAddessBookSourcePilot* _pParent )
:AddressBookSourcePage(_pParent, ModuleRes(RID_PAGE_SELECTABTYPE))
,m_aHint (this, ModuleRes(FT_TYPE_HINTS))
@@ -272,8 +266,8 @@ namespace abp
return 0L;
}
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/abpilot/typeselectionpage.hxx b/extensions/source/abpilot/typeselectionpage.hxx
index 74bc99a..2290d03 100644
--- a/extensions/source/abpilot/typeselectionpage.hxx
+++ b/extensions/source/abpilot/typeselectionpage.hxx
@@ -24,14 +24,14 @@
#include "addresssettings.hxx"
#include <vcl/edit.hxx>
-//.........................................................................
+
namespace abp
{
-//.........................................................................
- //=====================================================================
+
+
//= TypeSelectionPage
- //=====================================================================
+
class TypeSelectionPage : public AddressBookSourcePage
{
protected:
@@ -90,9 +90,9 @@ namespace abp
void selectType( AddressSourceType _eType );
};
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
#endif // EXTENSIONS_ABP_TYPESELECTIONPAGE_HXX
diff --git a/extensions/source/abpilot/unodialogabp.cxx b/extensions/source/abpilot/unodialogabp.cxx
index df088ba..a69131a 100644
--- a/extensions/source/abpilot/unodialogabp.cxx
+++ b/extensions/source/abpilot/unodialogabp.cxx
@@ -30,10 +30,10 @@ extern "C" void SAL_CALL createRegistryInfo_OABSPilotUno()
}
#define PROPERTY_ID_DATASOURCENAME 3
-//.........................................................................
+
namespace abp
{
-//.........................................................................
+
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -41,9 +41,9 @@ namespace abp
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::ui::dialogs;
- //=====================================================================
+
//= OABSPilotUno
- //=====================================================================
+
OABSPilotUno::OABSPilotUno(const Reference< XComponentContext >& _rxORB)
:OGenericUnoDialog(_rxORB)
@@ -194,8 +194,8 @@ namespace abp
}
}
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/abpilot/unodialogabp.hxx b/extensions/source/abpilot/unodialogabp.hxx
index 81ff0bf..dac7d5e 100644
--- a/extensions/source/abpilot/unodialogabp.hxx
+++ b/extensions/source/abpilot/unodialogabp.hxx
@@ -26,14 +26,14 @@
#include <com/sun/star/task/XJob.hpp>
#include <cppuhelper/implbase1.hxx>
-//.........................................................................
+
namespace abp
{
-//.........................................................................
- //=====================================================================
+
+
//= OABSPilotUno
- //=====================================================================
+
class OABSPilotUno;
typedef ::svt::OGenericUnoDialog OABSPilotUno_DBase;
typedef ::cppu::ImplHelper1< ::com::sun::star::task::XJob > OABSPilotUno_JBase;
@@ -88,9 +88,9 @@ namespace abp
virtual void executedDialog(sal_Int16 _nExecutionResult);
};
-//.........................................................................
+
} // namespace abp
-//.........................................................................
+
#endif // EXTENSIONS_ABP_UNODIALOG_HXX
diff --git a/extensions/source/activex/SOActionsApproval.cxx b/extensions/source/activex/SOActionsApproval.cxx
index d184d49..a59108e 100644
--- a/extensions/source/activex/SOActionsApproval.cxx
+++ b/extensions/source/activex/SOActionsApproval.cxx
@@ -25,8 +25,8 @@
#include "SOActionsApproval.h"
#include <sal/macros.h>
-/////////////////////////////////////////////////////////////////////////////
-//
+
+
STDMETHODIMP SOActionsApproval::InterfaceSupportsErrorInfo(REFIID riid)
{
diff --git a/extensions/source/activex/SOActionsApproval.h b/extensions/source/activex/SOActionsApproval.h
index 422a66b..ca99b45 100644
--- a/extensions/source/activex/SOActionsApproval.h
+++ b/extensions/source/activex/SOActionsApproval.h
@@ -35,7 +35,7 @@
#include "so_activex.h"
-/////////////////////////////////////////////////////////////////////////////
+
// SOActionsApproval
class SOActionsApproval :
diff --git a/extensions/source/activex/SOActiveX.cxx b/extensions/source/activex/SOActiveX.cxx
index ee80ba4..5df0c11 100644
--- a/extensions/source/activex/SOActiveX.cxx
+++ b/extensions/source/activex/SOActiveX.cxx
@@ -37,7 +37,7 @@
#define STAROFFICE_WINDOWCLASS "SOParentWindow"
-/////////////////////////////////////////////////////////////////////////////
+
void OutputError_Impl( HWND hw, HRESULT ErrorCode )
{
@@ -140,7 +140,7 @@ HRESULT GetPropertiesFromIDisp( IDispatch* pdispObject,
return S_OK;
}
-/////////////////////////////////////////////////////////////////////////////
+
// CSOActiveX
CSOActiveX::CSOActiveX()
diff --git a/extensions/source/activex/SOActiveX.h b/extensions/source/activex/SOActiveX.h
index 7e37c8a..97ec5a2 100644
--- a/extensions/source/activex/SOActiveX.h
+++ b/extensions/source/activex/SOActiveX.h
@@ -53,7 +53,7 @@ enum SOVersion {
OO_UNKNOWN
};
-/////////////////////////////////////////////////////////////////////////////
+
// CSOActiveX
class ATL_NO_VTABLE CSOActiveX :
public CComObjectRootEx<CComSingleThreadModel>,
diff --git a/extensions/source/activex/SOComWindowPeer.cxx b/extensions/source/activex/SOComWindowPeer.cxx
index 298e320..86d1504 100644
--- a/extensions/source/activex/SOComWindowPeer.cxx
+++ b/extensions/source/activex/SOComWindowPeer.cxx
@@ -24,8 +24,8 @@
#include "SOComWindowPeer.h"
#include <sal/macros.h>
-/////////////////////////////////////////////////////////////////////////////
-//
+
+
STDMETHODIMP SOComWindowPeer::InterfaceSupportsErrorInfo(REFIID riid)
{
diff --git a/extensions/source/activex/SOComWindowPeer.h b/extensions/source/activex/SOComWindowPeer.h
index 9eb4d6a..b038378 100644
--- a/extensions/source/activex/SOComWindowPeer.h
+++ b/extensions/source/activex/SOComWindowPeer.h
@@ -35,7 +35,7 @@
#include "so_activex.h"
-/////////////////////////////////////////////////////////////////////////////
+
// SOComWindowPeer
class SOComWindowPeer :
diff --git a/extensions/source/activex/SODispatchInterceptor.cxx b/extensions/source/activex/SODispatchInterceptor.cxx
index 4663d3f..ef15148 100644
--- a/extensions/source/activex/SODispatchInterceptor.cxx
+++ b/extensions/source/activex/SODispatchInterceptor.cxx
@@ -27,8 +27,8 @@
#include "com_uno_helper.h"
#include <sal/macros.h>
-/////////////////////////////////////////////////////////////////////////////
-//
+
+
STDMETHODIMP SODispatchInterceptor::InterfaceSupportsErrorInfo(REFIID riid)
{
diff --git a/extensions/source/activex/SODispatchInterceptor.h b/extensions/source/activex/SODispatchInterceptor.h
index f731f40..528eb3d 100644
--- a/extensions/source/activex/SODispatchInterceptor.h
+++ b/extensions/source/activex/SODispatchInterceptor.h
@@ -37,7 +37,7 @@
class CSOActiveX;
-/////////////////////////////////////////////////////////////////////////////
+
// SODispatchInterceptor
class SODispatchInterceptor :
diff --git a/extensions/source/activex/resource.h b/extensions/source/activex/resource.h
index 1e898c6..b7a77a5 100644
--- a/extensions/source/activex/resource.h
+++ b/extensions/source/activex/resource.h
@@ -20,7 +20,7 @@
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by so_activex.rc
-//
+
#define IDS_PROJNAME 100
#define IDB_SOACTIVEX 101
#define IDR_SOACTIVEX 102
@@ -33,7 +33,7 @@
// Next default values for new objects
-//
+
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 201
diff --git a/extensions/source/activex/so_activex.cxx b/extensions/source/activex/so_activex.cxx
index 4fbf358..850ebab 100644
--- a/extensions/source/activex/so_activex.cxx
+++ b/extensions/source/activex/so_activex.cxx
@@ -71,7 +71,7 @@ extern "C" {
WINADVAPI LONG WINAPI RegDeleteKeyExA(HKEY,LPCSTR,REGSAM,DWORD);
}
-/////////////////////////////////////////////////////////////////////////////
+
// DLL Entry Point
extern "C"
@@ -87,7 +87,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID /*lpReserved*/)
return TRUE; // ok
}
-/////////////////////////////////////////////////////////////////////////////
+
// Used to determine whether the DLL can be unloaded by OLE
STDAPI DllCanUnloadNow(void)
@@ -95,7 +95,7 @@ STDAPI DllCanUnloadNow(void)
return (_Module.GetLockCount()==0) ? S_OK : S_FALSE;
}
-/////////////////////////////////////////////////////////////////////////////
+
// Returns a class factory to create an object of the requested type
STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv)
@@ -103,7 +103,7 @@ STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv)
return _Module.GetClassObject(rclsid, riid, ppv);
}
-/////////////////////////////////////////////////////////////////////////////
+
// DllRegisterServer - Adds entries to the system registry
// for now database component and chart are always installed
@@ -349,7 +349,7 @@ STDAPI DllRegisterServerNative( int nMode, BOOL bForAllUsers, BOOL bFor64Bit, co
}
-/////////////////////////////////////////////////////////////////////////////
+
// DllUnregisterServer - Removes entries from the system registry
HRESULT DeleteKeyTree( HKEY hkey, const char* pPath, REGSAM nKeyAccess )
{
@@ -469,7 +469,7 @@ STDAPI DllUnregisterServerNative( int nMode, BOOL bForAllUsers, BOOL bFor64Bit )
}
-/////////////////////////////////////////////////////////////////////////////
+
// DllRegisterServerDoc - Adds entries to the system registry
#define SUPPORTED_MSEXT_NUM 7
@@ -572,7 +572,7 @@ STDAPI DllRegisterServerDoc( int nMode, BOOL bForAllUsers, BOOL bFor64Bit )
}
-/////////////////////////////////////////////////////////////////////////////
+
// DllUnregisterServerDoc - Removes entries from the system registry
STDAPI DllUnregisterServerDoc_Impl( int nMode, BOOL bForAllUsers, REGSAM nKeyAccess )
@@ -654,7 +654,7 @@ STDAPI DllUnregisterServerDoc( int nMode, BOOL bForAllUsers, BOOL bFor64Bit )
return hr;
}
-/////////////////////////////////////////////////////////////////////////////
+
// DllRegisterServer - regsvr32 entry point
STDAPI DllRegisterServer( void )
@@ -687,7 +687,7 @@ STDAPI DllRegisterServer( void )
return aResult;
}
-/////////////////////////////////////////////////////////////////////////////
+
// DllUnregisterServer - regsvr32 entry point
STDAPI DllUnregisterServer( void )
diff --git a/extensions/source/activex/so_activex.idl b/extensions/source/activex/so_activex.idl
index 926a3ff..c6a2d8f2 100644
--- a/extensions/source/activex/so_activex.idl
+++ b/extensions/source/activex/so_activex.idl
@@ -17,7 +17,7 @@
*/
// so_activex.idl : IDL source for so_activex.dll
-//
+
// This file will be processed by the MIDL tool to
// produce the type library (so_activex.tlb) and marshalling code.
diff --git a/extensions/source/activex/so_activex.rc b/extensions/source/activex/so_activex.rc
index c1dca6d..3891fa9 100644
--- a/extensions/source/activex/so_activex.rc
+++ b/extensions/source/activex/so_activex.rc
@@ -17,23 +17,23 @@
*/
//Microsoft Developer Studio generated resource script.
-//
+
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
+
+
// Generated from the TEXTINCLUDE 2 resource.
-//
+
#include <winresrc.h>
#define LB_ADDSTRING (WM_USER+1)
#define CB_ADDSTRING (WM_USER+3)
#define IDC_STATIC (-1)
-/////////////////////////////////////////////////////////////////////////////
+
#undef APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
+
// Russian resources
//#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS)
@@ -42,27 +42,27 @@
//#pragma code_page(1251)
//#endif //_WIN32
-/////////////////////////////////////////////////////////////////////////////
-//
+
+
// Bitmap
-//
+
//IDB_SOACTIVEX BITMAP DISCARDABLE "soacti.bmp"
-/////////////////////////////////////////////////////////////////////////////
-//
+
+
// REGISTRY
-//
+
IDR_SOACTIVEX REGISTRY DISCARDABLE "SOActiveX.rgs"
IDR_SOCOMWINDOWPEER REGISTRY DISCARDABLE "SOComWindowPeer.rgs"
IDR_SODISPATCHINTERCEPTOR REGISTRY DISCARDABLE "SODispatchInterceptor.rgs"
//#endif // Russian resources
-/////////////////////////////////////////////////////////////////////////////
-/////////////////////////////////////////////////////////////////////////////
+
+
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
@@ -72,10 +72,10 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
+
+
// TEXTINCLUDE
-//
+
1 TEXTINCLUDE DISCARDABLE
BEGIN
@@ -96,10 +96,10 @@ END
#endif // APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
+
+
// String Table
-//
+
STRINGTABLE DISCARDABLE
BEGIN
@@ -107,18 +107,18 @@ BEGIN
END
#endif // English (U.S.) resources
-/////////////////////////////////////////////////////////////////////////////
+
#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
+
+
// Generated from the TEXTINCLUDE 3 resource.
-//
+
1 TYPELIB SO_ACTIVEX_TLB
-/////////////////////////////////////////////////////////////////////////////
+
#endif // not APSTUDIO_INVOKED
diff --git a/extensions/source/bibliography/bibbeam.hxx b/extensions/source/bibliography/bibbeam.hxx
index 616680e..06b62ee 100644
--- a/extensions/source/bibliography/bibbeam.hxx
+++ b/extensions/source/bibliography/bibbeam.hxx
@@ -34,10 +34,10 @@
class BibDataManager;
-//.........................................................................
+
namespace bib
{
-//.........................................................................
+
class BibGridwin;
class BibBeamer
@@ -78,9 +78,9 @@ namespace bib
virtual void GetFocus();
};
-//.........................................................................
+
} // namespace bib
-//.........................................................................
+
#endif
diff --git a/extensions/source/bibliography/bibconfig.hxx b/extensions/source/bibliography/bibconfig.hxx
index fb17abd..fc1fb96 100644
--- a/extensions/source/bibliography/bibconfig.hxx
+++ b/extensions/source/bibliography/bibconfig.hxx
@@ -27,7 +27,7 @@ struct Mapping;
typedef boost::ptr_vector<Mapping> MappingArray;
-//-----------------------------------------------------------------------------
+
#define COLUMN_COUNT 31
#define IDENTIFIER_POS 0
#define AUTHORITYTYPE_POS 1
@@ -60,13 +60,13 @@ typedef boost::ptr_vector<Mapping> MappingArray;
#define CUSTOM3_POS 28
#define CUSTOM4_POS 29
#define CUSTOM5_POS 30
-//-----------------------------------------------------------------------------
+
struct StringPair
{
OUString sRealColumnName;
OUString sLogicalColumnName;
};
-//-----------------------------------------------------------------------------
+
struct Mapping
{
OUString sTableName;
@@ -77,14 +77,14 @@ struct Mapping
Mapping() :
nCommandType(0){}
};
-//-----------------------------------------------------------------------------
+
struct BibDBDescriptor
{
OUString sDataSource;
OUString sTableOrQuery;
sal_Int32 nCommandType;
};
-//-----------------------------------------------------------------------------
+
class BibConfig : public utl::ConfigItem
{
diff --git a/extensions/source/bibliography/bibresid.hxx b/extensions/source/bibliography/bibresid.hxx
index daa100d..3ba9dbd 100644
--- a/extensions/source/bibliography/bibresid.hxx
+++ b/extensions/source/bibliography/bibresid.hxx
@@ -22,7 +22,7 @@
#include <tools/resid.hxx>
-//===================================================================
+
class BibResId : public ResId
{
diff --git a/extensions/source/bibliography/bibview.cxx b/extensions/source/bibliography/bibview.cxx
index 82cf141..9ecf880 100644
--- a/extensions/source/bibliography/bibview.cxx
+++ b/extensions/source/bibliography/bibview.cxx
@@ -42,10 +42,10 @@ using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::uno;
-//.........................................................................
+
namespace bib
{
-//.........................................................................
+
BibView::BibView( Window* _pParent, BibDataManager* _pManager, WinBits _nStyle )
@@ -199,8 +199,8 @@ namespace bib
return m_pGeneralPage? m_pGeneralPage->HandleShortCutKey( rKeyEvent ) : sal_False;
}
-//.........................................................................
+
} // namespace bib
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/bibliography/bibview.hxx b/extensions/source/bibliography/bibview.hxx
index cc3d033..80f0949 100644
--- a/extensions/source/bibliography/bibview.hxx
+++ b/extensions/source/bibliography/bibview.hxx
@@ -29,12 +29,12 @@ class BibDataManager;
namespace com{ namespace sun{ namespace star{ namespace awt{ class XFocusListener;}}}}
-//.........................................................................
+
namespace bib
{
-//.........................................................................
- // -----------------------------------------------------------------------
+
+
class BibView : public BibWindow, public FormControlContainer
{
private:
@@ -69,9 +69,9 @@ namespace bib
virtual sal_Bool HandleShortCutKey( const KeyEvent& rKeyEvent ); // returns true, if key was handled
};
-//.........................................................................
+
} // namespace bib
-//.........................................................................
+
#endif
diff --git a/extensions/source/bibliography/datman.hxx b/extensions/source/bibliography/datman.hxx
index d3484b0..9d649ca 100644
--- a/extensions/source/bibliography/datman.hxx
+++ b/extensions/source/bibliography/datman.hxx
@@ -36,7 +36,7 @@
class Window;
-//-----------------------------------------------------------------------------
+
namespace bib
{
class BibView;
diff --git a/extensions/source/bibliography/formcontrolcontainer.cxx b/extensions/source/bibliography/formcontrolcontainer.cxx
index e388f91..7081523 100644
--- a/extensions/source/bibliography/formcontrolcontainer.cxx
+++ b/extensions/source/bibliography/formcontrolcontainer.cxx
@@ -23,19 +23,19 @@
#include <algorithm>
#include <functional>
-//.........................................................................
+
namespace bib
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::form;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::awt;
- //=====================================================================
+
//= FormControlContainer
- //=====================================================================
+
FormControlContainer::FormControlContainer( )
:OLoadListener( m_aMutex )
@@ -142,8 +142,8 @@ namespace bib
implSetDesignMode( sal_False );
}
-//.........................................................................
+
} // namespace bib
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/bibliography/formcontrolcontainer.hxx b/extensions/source/bibliography/formcontrolcontainer.hxx
index 3ba21c8..c7737c3 100644
--- a/extensions/source/bibliography/formcontrolcontainer.hxx
+++ b/extensions/source/bibliography/formcontrolcontainer.hxx
@@ -24,14 +24,14 @@
#include "loadlisteneradapter.hxx"
#include <com/sun/star/awt/XControlContainer.hpp>
-//.........................................................................
+
namespace bib
{
-//.........................................................................
- //=====================================================================
+
+
//= FormControlContainer
- //=====================================================================
+
class FormControlContainer
:public ::comphelper::OBaseMutex
,public ::bib::OLoadListener
@@ -66,9 +66,9 @@ namespace bib
};
-//.........................................................................
+
} // namespace bib
-//.........................................................................
+
#endif // EXTENSIONS_BIB_FORMCONTROLCONTAINER_HXX
diff --git a/extensions/source/bibliography/loadlisteneradapter.cxx b/extensions/source/bibliography/loadlisteneradapter.cxx
index aadfac3..e74c24e 100644
--- a/extensions/source/bibliography/loadlisteneradapter.cxx
+++ b/extensions/source/bibliography/loadlisteneradapter.cxx
@@ -21,18 +21,18 @@
#include <osl/diagnose.h>
#include <rtl/ref.hxx>
-//.........................................................................
+
namespace bib
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::form;
- //=====================================================================
+
//= OComponentListener
- //=====================================================================
+
OComponentListener::~OComponentListener()
{
@@ -69,9 +69,9 @@ namespace bib
}
}
- //=====================================================================
+
//= OComponentAdapterBase
- //=====================================================================
+
OComponentAdapterBase::OComponentAdapterBase( const Reference< XComponent >& _rxComp, sal_Bool _bAutoRelease )
:m_xComponent( _rxComp )
@@ -144,9 +144,9 @@ namespace bib
m_xComponent = NULL;
}
- //=====================================================================
+
//= OLoadListenerAdapter
- //=====================================================================
+
OLoadListenerAdapter::OLoadListenerAdapter( const Reference< XLoadable >& _rxLoadable, sal_Bool _bAutoRelease )
:OComponentAdapterBase( Reference< XComponent >( _rxLoadable, UNO_QUERY ), _bAutoRelease )
@@ -223,8 +223,8 @@ namespace bib
getLoadListener( )->_reloaded( _rEvent );
}
-//.........................................................................
+
} // namespace bib
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/bibliography/loadlisteneradapter.hxx b/extensions/source/bibliography/loadlisteneradapter.hxx
index 799c968..2735f59 100644
--- a/extensions/source/bibliography/loadlisteneradapter.hxx
+++ b/extensions/source/bibliography/loadlisteneradapter.hxx
@@ -25,16 +25,16 @@
#include <cppuhelper/implbase1.hxx>
#include <com/sun/star/form/XLoadable.hpp>
-//.........................................................................
+
namespace bib
{
-//.........................................................................
+
class OComponentAdapterBase;
- //=====================================================================
+
//= OComponentListener
- //=====================================================================
+
class OComponentListener
{
friend class OComponentAdapterBase;
@@ -58,9 +58,9 @@ namespace bib
void setAdapter( OComponentAdapterBase* _pAdapter );
};
- //=====================================================================
+
//= OComponentAdapterBase
- //=====================================================================
+
class OComponentAdapterBase
{
friend class OComponentListener;
@@ -114,9 +114,9 @@ namespace bib
virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw( ::com::sun::star::uno::RuntimeException, std::exception);
};
- //=====================================================================
+
//= OLoadListener
- //=====================================================================
+
class OLoadListener : public OComponentListener
{
friend class OLoadListenerAdapter;
@@ -132,9 +132,9 @@ namespace bib
virtual void _reloaded( const ::com::sun::star::lang::EventObject& aEvent ) = 0;
};
- //=====================================================================
+
//= OLoadListenerAdapter
- //=====================================================================
+
typedef ::cppu::WeakImplHelper1< ::com::sun::star::form::XLoadListener > OLoadListenerAdapter_Base;
class OLoadListenerAdapter
:public OLoadListenerAdapter_Base
@@ -169,9 +169,9 @@ namespace bib
virtual void SAL_CALL reloaded( const ::com::sun::star::lang::EventObject& aEvent ) throw (::com::sun::star::uno::RuntimeException, std::exception);
};
-//.........................................................................
+
} // namespace bib
-//.........................................................................
+
#endif // EXTENSIONS_BIB_LOADLISTENERADAPTER_HXX
diff --git a/extensions/source/config/ldap/componentdef.cxx b/extensions/source/config/ldap/componentdef.cxx
index d8a2749..bef1650 100644
--- a/extensions/source/config/ldap/componentdef.cxx
+++ b/extensions/source/config/ldap/componentdef.cxx
@@ -23,7 +23,7 @@
using namespace extensions::config::ldap ;
-//==============================================================================
+
static uno::Reference<uno::XInterface> SAL_CALL createLdapUserProfileBe(
const uno::Reference<uno::XComponentContext>& aContext) {
diff --git a/extensions/source/config/ldap/ldapaccess.hxx b/extensions/source/config/ldap/ldapaccess.hxx
index efec23a..a991d06 100644
--- a/extensions/source/config/ldap/ldapaccess.hxx
+++ b/extensions/source/config/ldap/ldapaccess.hxx
@@ -42,10 +42,10 @@ namespace extensions { namespace config { namespace ldap {
namespace uno = css::uno ;
namespace lang = css::lang ;
namespace ldap = css::ldap ;
-//------------------------------------------------------------------------------
+
struct LdapUserProfile;
-//------------------------------------------------------------------------------
+
/** Struct containing the information on LDAP connection */
struct LdapDefinition
{
@@ -129,7 +129,7 @@ private:
LdapDefinition mLdapDefinition;
} ;
-//------------------------------------------------------------------------------
+
}} }
#endif // EXTENSIONS_CONFIG_LDAP_LDAPUSERPROFILE_HXX_
diff --git a/extensions/source/config/ldap/ldapuserprofilebe.cxx b/extensions/source/config/ldap/ldapuserprofilebe.cxx
index 25e5d5c..4d53c39 100644
--- a/extensions/source/config/ldap/ldapuserprofilebe.cxx
+++ b/extensions/source/config/ldap/ldapuserprofilebe.cxx
@@ -33,7 +33,7 @@
#include <cppuhelper/supportsservice.hxx>
#include <osl/security.hxx>
-//==============================================================================
+
namespace extensions { namespace config { namespace ldap {
LdapUserProfileBe::LdapUserProfileBe( const uno::Reference<uno::XComponentContext>& xContext)
diff --git a/extensions/source/config/ldap/ldapuserprofilebe.hxx b/extensions/source/config/ldap/ldapuserprofilebe.hxx
index 1219744..456bbf8 100644
--- a/extensions/source/config/ldap/ldapuserprofilebe.hxx
+++ b/extensions/source/config/ldap/ldapuserprofilebe.hxx
@@ -145,7 +145,7 @@ class LdapUserProfileBe : private LdapProfileMutexHolder, public BackendBase
LdapData data_;
} ;
-//------------------------------------------------------------------------------
+
}}}
#endif // EXTENSIONS_CONFIG_LDAP_LDAPUSERPROFILE_HXX_
diff --git a/extensions/source/dbpilots/commonpagesdbp.cxx b/extensions/source/dbpilots/commonpagesdbp.cxx
index c620a1a..1bb6bd0 100644
--- a/extensions/source/dbpilots/commonpagesdbp.cxx
+++ b/extensions/source/dbpilots/commonpagesdbp.cxx
@@ -39,10 +39,10 @@
#include <unotools/pathoptions.hxx>
#include <sfx2/filedlghelper.hxx>
#include <svl/filenotation.hxx>
-//.........................................................................
+
namespace dbp
{
-//.........................................................................
+
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -54,9 +54,9 @@ namespace dbp
using namespace ::com::sun::star::task;
using namespace ::comphelper;
- //=====================================================================
+
//= OTableSelectionPage
- //=====================================================================
+
OTableSelectionPage::OTableSelectionPage(OControlWizard* _pParent)
:OControlWizardPage(_pParent, ModuleRes(RID_PAGE_TABLESELECTION))
@@ -384,9 +384,9 @@ namespace dbp
}
}
- //=====================================================================
+
//= OMaybeListSelectionPage
- //=====================================================================
+
OMaybeListSelectionPage::OMaybeListSelectionPage( OControlWizard* _pParent, const ResId& _rId )
:OControlWizardPage(_pParent, _rId)
@@ -451,9 +451,9 @@ namespace dbp
m_pNo->GrabFocus();
}
- //=====================================================================
+
//= ODBFieldPage
- //=====================================================================
+
ODBFieldPage::ODBFieldPage( OControlWizard* _pParent )
:OMaybeListSelectionPage(_pParent, ModuleRes(RID_PAGE_OPTION_DBFIELD))
@@ -491,8 +491,8 @@ namespace dbp
return sal_True;
}
-//.........................................................................
+
} // namespace dbp
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/dbpilots/commonpagesdbp.hxx b/extensions/source/dbpilots/commonpagesdbp.hxx
index ad201de..ff61894 100644
--- a/extensions/source/dbpilots/commonpagesdbp.hxx
+++ b/extensions/source/dbpilots/commonpagesdbp.hxx
@@ -25,14 +25,14 @@
#include <vcl/lstbox.hxx>
#include <com/sun/star/sdb/XDatabaseContext.hpp>
-//.........................................................................
+
namespace dbp
{
-//.........................................................................
- //=====================================================================
+
+
//= OTableSelectionPage
- //=====================================================================
+
class OTableSelectionPage : public OControlWizardPage
{
protected:
@@ -71,9 +71,9 @@ namespace dbp
virtual bool canAdvance() const;
};
- //=====================================================================
+
//= OMaybeListSelectionPage
- //=====================================================================
+
class OMaybeListSelectionPage : public OControlWizardPage
{
protected:
@@ -102,9 +102,9 @@ namespace dbp
void implCommit(OUString& _rSelection);
};
- //=====================================================================
+
//= ODBFieldPage
- //=====================================================================
+
class ODBFieldPage : public OMaybeListSelectionPage
{
protected:
@@ -129,9 +129,9 @@ namespace dbp
virtual OUString& getDBFieldSetting() = 0;
};
-//.........................................................................
+
} // namespace dbp
-//.........................................................................
+
#endif // _EXTENSIONS_DBP_COMMONPAGESDBP_HXX_
diff --git a/extensions/source/dbpilots/controlwizard.cxx b/extensions/source/dbpilots/controlwizard.cxx
index 68eb40f..900b0e5 100644
--- a/extensions/source/dbpilots/controlwizard.cxx
+++ b/extensions/source/dbpilots/controlwizard.cxx
@@ -45,10 +45,10 @@
#include <com/sun/star/sdbc/DataType.hpp>
#include <tools/urlobj.hxx>
-//.........................................................................
+
namespace dbp
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::awt;
@@ -67,9 +67,9 @@ namespace dbp
using namespace ::comphelper;
using namespace ::dbtools;
- //=====================================================================
+
//= OAccessRegulator
- //=====================================================================
+
struct OAccessRegulator
{
friend class OControlWizardPage;
@@ -78,9 +78,9 @@ namespace dbp
OAccessRegulator() { }
};
- //=====================================================================
+
//= OControlWizardPage
- //=====================================================================
+
OControlWizardPage::OControlWizardPage( OControlWizard* _pParent, const ResId& _rResId )
:OControlWizardPage_Base( _pParent, _rResId )
@@ -268,9 +268,9 @@ namespace dbp
OControlWizardPage_Base::initializePage();
}
- //=====================================================================
+
//= OControlWizard
- //=====================================================================
+
OControlWizard::OControlWizard( Window* _pParent, const ResId& _rId,
const Reference< XPropertySet >& _rxObjectModel, const Reference< XComponentContext >& _rxContext )
@@ -733,8 +733,8 @@ namespace dbp
// if we got fields, the data source is valid ...
}
-//.........................................................................
+
} // namespace dbp
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/dbpilots/controlwizard.hxx b/extensions/source/dbpilots/controlwizard.hxx
index 5109454..cce215d 100644
--- a/extensions/source/dbpilots/controlwizard.hxx
+++ b/extensions/source/dbpilots/controlwizard.hxx
@@ -36,22 +36,22 @@
#include "wizardcontext.hxx"
class ResId;
-//.........................................................................
+
namespace dbp
{
-//.........................................................................
- //=====================================================================
+
+
//= OControlWizardSettings
- //=====================================================================
+
struct OControlWizardSettings
{
OUString sControlLabel;
};
- //=====================================================================
+
//= OControlWizardPage
- //=====================================================================
+
class OControlWizard;
typedef ::svt::OWizardPage OControlWizardPage_Base;
class OControlWizardPage : public OControlWizardPage_Base
@@ -98,9 +98,9 @@ namespace dbp
};
struct OAccessRegulator;
- //=====================================================================
+
//= OControlWizard
- //=====================================================================
+
typedef ::svt::OWizardMachine OControlWizard_Base;
class OControlWizard : public OControlWizard_Base
{
@@ -165,9 +165,9 @@ namespace dbp
virtual void ActivatePage();
};
-//.........................................................................
+
} // namespace dbp
-//.........................................................................
+
#endif // _EXTENSIONS_DBP_CONTROLWIZARD_HXX
diff --git a/extensions/source/dbpilots/dbpresid.hrc b/extensions/source/dbpilots/dbpresid.hrc
index 994c3a3..eccf57b 100644
--- a/extensions/source/dbpilots/dbpresid.hrc
+++ b/extensions/source/dbpilots/dbpresid.hrc
@@ -23,7 +23,7 @@
#include "dbpilots.hrc"
#include "extensio.hrc"
-//========================================================================
+
// basics
#define RID_DIALOG_START RID_DBP_START
@@ -31,7 +31,7 @@
#define RID_STRING_START RID_DBP_START
#define RID_ERRORBOX_START RID_DBP_START
-//========================================================================
+
// strings
#define RID_STR_GROUPWIZ_DBFIELD (RID_STRING_START + 1 )
@@ -48,7 +48,7 @@
// please adjust RID_STRING_END (below) when adding new strings
#define RID_STRING_END RID_STR_TIMEPOSTFIX
-//========================================================================
+
// dialogs
#define RID_DLG_GROUPBOXWIZARD ( RID_DIALOG_START + 1 )
@@ -58,7 +58,7 @@
// please adjust RID_DIALOG_END (below) when adding new dialogs
#define RID_DIALOG_END RID_DLG_GRIDWIZARD
-//========================================================================
+
// tab pages
#define RID_PAGE_TABLESELECTION ( RID_PAGE_START + 1 )
@@ -76,7 +76,7 @@
// please adjust RID_PAGE_END (below) when adding new tab pages
#define RID_PAGE_END RID_PAGE_GW_FIELDSELECTION
-//========================================================================
+
// ErrorBox
#define RID_ERR_INVALID_FORM_CONNECTION ( RID_ERRORBOX_START + 1 )
@@ -85,8 +85,8 @@
#define RID_ERRORBOX_END RID_ERR_INVALID_FORM_CONNECTION
-//========================================================================
-//========================================================================
+
+
//= range checks
#if RID_STRING_END > RID_DBP_END
@@ -102,10 +102,10 @@
#error "please adjust the resource id ranges!!"
#endif
-//========================================================================
+
// local ids
-//........................................................................
+
// FixedLine
#define FL_DATA 1
@@ -116,7 +116,7 @@
#define FL_FRAME 6
#define FL_FORMSETINGS 7
-//........................................................................
+
// FixedText
#define FT_DATASOURCE 1
@@ -147,7 +147,7 @@
#define FT_FORMCONTENTTYPELABEL 26
#define FT_FORMCONTENTTYPE 27
-//........................................................................
+
// ListBox
#define LB_DATASOURCE 1
@@ -160,7 +160,7 @@
#define LB_EXISTING_FIELDS 7
#define LB_SELECTED_FIELDS 8
-//........................................................................
+
// Edit
#define ET_RADIOLABELS 1
@@ -168,7 +168,7 @@
#define ET_NAMEIT 3
#define ET_DISPLAYEDFIELD 4
-//........................................................................
+
// PushButton
#define PB_MOVETORIGHT 1
@@ -179,7 +179,7 @@
#define PB_ALLFIELDSLEFT 6
#define PB_FORMDATASOURCE 7
-//........................................................................
+
// RadioButton
#define RB_DEFSELECTION_YES 1
@@ -187,19 +187,19 @@
#define RB_STOREINFIELD_YES 3
#define RB_STOREINFIELD_NO 4
-//........................................................................
+
// ComboBox
#define CMB_VALUELISTFIELD 1
#define CMB_TABLEFIELD 2
-//........................................................................
+
// String
#define STR_FIELDINFO_LISTBOX 1
#define STR_FIELDINFO_COMBOBOX 2
-//........................................................................
+
// Image
#define IMG_TABLE 1
diff --git a/extensions/source/dbpilots/dbptools.cxx b/extensions/source/dbpilots/dbptools.cxx
index b19f6fc..a6ce9fd 100644
--- a/extensions/source/dbpilots/dbptools.cxx
+++ b/extensions/source/dbpilots/dbptools.cxx
@@ -20,10 +20,10 @@
#include "dbptools.hxx"
#include <tools/debug.hxx>
-//.........................................................................
+
namespace dbp
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::container;
@@ -54,8 +54,8 @@ namespace dbp
}
}
-//.........................................................................
+
} // namespace dbp
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/dbpilots/dbptools.hxx b/extensions/source/dbpilots/dbptools.hxx
index b79bf57..2ab9846 100644
--- a/extensions/source/dbpilots/dbptools.hxx
+++ b/extensions/source/dbpilots/dbptools.hxx
@@ -22,18 +22,18 @@
#include <com/sun/star/container/XNameAccess.hpp>
-//.........................................................................
+
namespace dbp
{
-//.........................................................................
+
void disambiguateName(
const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& _rxContainer,
OUString& _rElementsName);
-//.........................................................................
+
} // namespace dbp
-//.........................................................................
+
#endif // _EXTENSIONS_DBP_DBPTOOLS_HXX_
diff --git a/extensions/source/dbpilots/dbptypes.hxx b/extensions/source/dbpilots/dbptypes.hxx
index 4071169..cd41db4 100644
--- a/extensions/source/dbpilots/dbptypes.hxx
+++ b/extensions/source/dbpilots/dbptypes.hxx
@@ -26,18 +26,18 @@
#include <set>
#include <vector>
-//.........................................................................
+
namespace dbp
{
-//.........................................................................
+
typedef std::vector<OUString> StringArray;
typedef std::set<OUString> StringBag;
typedef std::map<sal_uInt32, OUString> MapInt2String;
-//.........................................................................
+
} // namespace dbp
-//.........................................................................
+
#endif // _EXTENSIONS_DBP_DBPTYPES_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/dbpilots/gridwizard.cxx b/extensions/source/dbpilots/gridwizard.cxx
index dbddd51..af38f74 100644
--- a/extensions/source/dbpilots/gridwizard.cxx
+++ b/extensions/source/dbpilots/gridwizard.cxx
@@ -34,10 +34,10 @@
#define GW_STATE_DATASOURCE_SELECTION 0
#define GW_STATE_FIELDSELECTION 1
-//.........................................................................
+
namespace dbp
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -48,9 +48,9 @@ namespace dbp
using namespace ::com::sun::star::awt;
using namespace ::svt;
- //=====================================================================
+
//= OGridWizard
- //=====================================================================
+
OGridWizard::OGridWizard( Window* _pParent,
const Reference< XPropertySet >& _rxObjectModel, const Reference< XComponentContext >& _rxContext )
@@ -290,9 +290,9 @@ namespace dbp
return sal_True;
}
- //=====================================================================
+
//= OGridFieldsSelection
- //=====================================================================
+
OGridFieldsSelection::OGridFieldsSelection( OGridWizard* _pParent )
:OGridPage(_pParent, ModuleRes(RID_PAGE_GW_FIELDSELECTION))
@@ -470,8 +470,8 @@ namespace dbp
return 0;
}
-//.........................................................................
+
} // namespace dbp
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/dbpilots/gridwizard.hxx b/extensions/source/dbpilots/gridwizard.hxx
index 1cb62c5..9d8044b 100644
--- a/extensions/source/dbpilots/gridwizard.hxx
+++ b/extensions/source/dbpilots/gridwizard.hxx
@@ -23,22 +23,22 @@
#include "controlwizard.hxx"
#include "commonpagesdbp.hxx"
-//.........................................................................
+
namespace dbp
{
-//.........................................................................
- //=====================================================================
+
+
//= OGridSettings
- //=====================================================================
+
struct OGridSettings : public OControlWizardSettings
{
::com::sun::star::uno::Sequence< OUString > aSelectedFields;
};
- //=====================================================================
+
//= OGridWizard
- //=====================================================================
+
class OGridWizard : public OControlWizard
{
protected:
@@ -68,9 +68,9 @@ namespace dbp
void implApplySettings();
};
- //=====================================================================
+
//= OGridPage
- //=====================================================================
+
class OGridPage : public OControlWizardPage
{
public:
@@ -80,9 +80,9 @@ namespace dbp
OGridSettings& getSettings() { return static_cast<OGridWizard*>(getDialog())->getSettings(); }
};
- //=====================================================================
+
//= OGridFieldsSelection
- //=====================================================================
+
class OGridFieldsSelection : public OGridPage
{
protected:
@@ -120,9 +120,9 @@ namespace dbp
::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > implGetColumns(sal_Bool _bShowError = sal_True);
};
-//.........................................................................
+
} // namespace dbp
-//.........................................................................
+
#endif // _EXTENSIONS_DBP_GRIDWIZARD_HXX_
diff --git a/extensions/source/dbpilots/groupboxwiz.cxx b/extensions/source/dbpilots/groupboxwiz.cxx
index 7c142f8..acca965 100644
--- a/extensions/source/dbpilots/groupboxwiz.cxx
+++ b/extensions/source/dbpilots/groupboxwiz.cxx
@@ -32,10 +32,10 @@
#define GBW_STATE_DBFIELD 3
#define GBW_STATE_FINALIZE 4
-//.........................................................................
+
namespace dbp
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -43,9 +43,9 @@ namespace dbp
using namespace ::com::sun::star::form;
using namespace ::svt;
- //=====================================================================
+
//= OGroupBoxWizard
- //=====================================================================
+
OGroupBoxWizard::OGroupBoxWizard( Window* _pParent,
const Reference< XPropertySet >& _rxObjectModel, const Reference< XComponentContext >& _rxContext )
@@ -181,9 +181,9 @@ namespace dbp
return OControlWizard::onFinish();
}
- //=====================================================================
+
//= ORadioSelectionPage
- //=====================================================================
+
ORadioSelectionPage::ORadioSelectionPage( OControlWizard* _pParent )
:OGBWPage(_pParent, ModuleRes(RID_PAGE_GROUPRADIOSELECTION))
@@ -338,9 +338,9 @@ namespace dbp
}
}
- //=====================================================================
+
//= ODefaultFieldSelectionPage
- //=====================================================================
+
ODefaultFieldSelectionPage::ODefaultFieldSelectionPage( OControlWizard* _pParent )
:OMaybeListSelectionPage(_pParent, ModuleRes(RID_PAGE_DEFAULTFIELDSELECTION))
@@ -389,9 +389,9 @@ namespace dbp
return sal_True;
}
- //=====================================================================
+
//= OOptionValuesPage
- //=====================================================================
+
OOptionValuesPage::OOptionValuesPage( OControlWizard* _pParent )
:OGBWPage(_pParent, ModuleRes(RID_PAGE_OPTIONVALUES))
@@ -483,9 +483,9 @@ namespace dbp
return sal_True;
}
- //=====================================================================
+
//= OOptionDBFieldPage
- //=====================================================================
+
OOptionDBFieldPage::OOptionDBFieldPage( OControlWizard* _pParent )
:ODBFieldPage(_pParent)
@@ -499,9 +499,9 @@ namespace dbp
return getSettings().sDBField;
}
- //=====================================================================
+
//= OFinalizeGBWPage
- //=====================================================================
+
OFinalizeGBWPage::OFinalizeGBWPage( OControlWizard* _pParent )
:OGBWPage(_pParent, ModuleRes(RID_PAGE_OPTIONS_FINAL))
@@ -546,8 +546,8 @@ namespace dbp
return sal_True;
}
-//.........................................................................
+
} // namespace dbp
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/extensions/source/dbpilots/groupboxwiz.hxx b/extensions/source/dbpilots/groupboxwiz.hxx
index 17626c5..c38e712 100644
--- a/extensions/source/dbpilots/groupboxwiz.hxx
+++ b/extensions/source/dbpilots/groupboxwiz.hxx
@@ -23,14 +23,14 @@
#include "controlwizard.hxx"
#include "commonpagesdbp.hxx"
-//.........................................................................
+
namespace dbp
{
-//.........................................................................
- //=====================================================================
+
+
//= OOptionGroupSettings
- //=====================================================================
+
struct OOptionGroupSettings : public OControlWizardSettings
{
StringArray aLabels;
@@ -40,9 +40,9 @@ namespace dbp
OUString sName;
};
- //=====================================================================
+
//= OGroupBoxWizard
- //=====================================================================
+
class OGroupBoxWizard : public OControlWizard
{
protected:
@@ -73,9 +73,9 @@ namespace dbp
void createRadios();
};
- //=====================================================================
+
//= OGBWPage
- //=====================================================================
+
class OGBWPage : public OControlWizardPage
{
public:
@@ -85,9 +85,9 @@ namespace dbp
OOptionGroupSettings& getSettings() { return static_cast<OGroupBoxWizard*>(getDialog())->getSettings(); }
};
- //=====================================================================
+
//= ORadioSelectionPage
- //=====================================================================
+
class ORadioSelectionPage : public OGBWPage
{
protected:
@@ -118,9 +118,9 @@ namespace dbp
void implCheckMoveButtons();
};
- //=====================================================================
+
//= ODefaultFieldSelectionPage
- //=====================================================================
+
class ODefaultFieldSelectionPage : public OMaybeListSelectionPage
{
protected:
@@ -141,9 +141,9 @@ namespace dbp
OOptionGroupSettings& getSettings() { return static_cast<OGroupBoxWizard*>(getDialog())->getSettings(); }
};
- //=====================================================================
+
//= OOptionValuesPage
- //=====================================================================
+
class OOptionValuesPage : public OGBWPage
{
protected:
@@ -174,9 +174,9 @@ namespace dbp
DECL_LINK( OnOptionSelected, ListBox* );
};
- //=====================================================================
+
//= OOptionDBFieldPage
- //=====================================================================
+
class OOptionDBFieldPage : public ODBFieldPage
{
public:
@@ -189,9 +189,9 @@ namespace dbp
virtual OUString& getDBFieldSetting();
};
- //=====================================================================
+
//= OFinalizeGBWPage
- //=====================================================================
+
class OFinalizeGBWPage : public OGBWPage
{
protected:
@@ -213,9 +213,9 @@ namespace dbp
virtual bool canAdvance() const;
};
-//.........................................................................
+
} // namespace dbp
-//.........................................................................
+
#endif // _EXTENSIONS_DBP_GROUPBOXWIZ_HXX_
diff --git a/extensions/source/dbpilots/listcombowizard.cxx b/extensions/source/dbpilots/listcombowizard.cxx
index d132c76..5cf9b66 100644
--- a/extensions/source/dbpilots/listcombowizard.cxx
+++ b/extensions/source/dbpilots/listcombowizard.cxx
@@ -30,10 +30,10 @@
#include "dbpilots.hrc"
#include <comphelper/extract.hxx>
-//.........................................................................
+
namespace dbp
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -45,9 +45,9 @@ namespace dbp
using namespace ::svt;
using namespace ::dbtools;
- //=====================================================================
+
//= OListComboWizard
- //=====================================================================
+
OListComboWizard::OListComboWizard( Window* _pParent,
const Reference< XPropertySet >& _rxObjectModel, const Reference< XComponentContext >& _rxContext )
@@ -219,9 +219,9 @@ namespace dbp
return sal_True;
}
- //=====================================================================
+
//= OLCPage
- //=====================================================================
+
Reference< XNameAccess > OLCPage::getTables(sal_Bool _bNeedIt)
{
@@ -270,9 +270,9 @@ namespace dbp
return aColumnNames;
}
- //=====================================================================
+
//= OContentTableSelection
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list