Kaydet (Commit) 8c5b085e authored tarafından Philipp Riemer's avatar Philipp Riemer

Removed ascii art + added/removed blank lines

This is a follow-up patch of 401a454c.

Change-Id: I8963aae057a91f0f6753d3b04439673614383565
üst 5c293bfa
...@@ -130,6 +130,7 @@ namespace dbaui ...@@ -130,6 +130,7 @@ namespace dbaui
const ::com::sun::star::awt::FontDescriptor& _rFont); const ::com::sun::star::awt::FontDescriptor& _rFont);
virtual ~ODatabaseExport(); virtual ~ODatabaseExport();
public: public:
ODatabaseExport( ODatabaseExport(
const SharedConnection& _rxConnection, const SharedConnection& _rxConnection,
...@@ -167,10 +168,6 @@ namespace dbaui ...@@ -167,10 +168,6 @@ namespace dbaui
}; };
} }
#endif // DBAUI_DATABASEEXPORT_HXX #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include <com/sun/star/util/XNumberFormatter.hpp> #include <com/sun/star/util/XNumberFormatter.hpp>
#include "TypeInfo.hxx" #include "TypeInfo.hxx"
//------------------------------------------------------------------
// field description columns of a table // field description columns of a table
#define FIELD_NAME 1 #define FIELD_NAME 1
#define FIELD_TYPE 2 #define FIELD_TYPE 2
...@@ -56,14 +55,13 @@ class Control; ...@@ -56,14 +55,13 @@ class Control;
namespace dbaui namespace dbaui
{ {
class OTableDesignHelpBar; class OTableDesignHelpBar;
class OPropListBoxCtrl; class OPropListBoxCtrl;
class OPropEditCtrl; class OPropEditCtrl;
class OPropNumericEditCtrl; class OPropNumericEditCtrl;
class OFieldDescription; class OFieldDescription;
class OPropColumnEditCtrl; class OPropColumnEditCtrl;
//==================================================================
class OFieldDescControl : public TabPage class OFieldDescControl : public TabPage
{ {
private: private:
...@@ -213,7 +211,6 @@ namespace dbaui ...@@ -213,7 +211,6 @@ namespace dbaui
void implFocusLost(Window* _pWhich); void implFocusLost(Window* _pWhich);
}; };
} }
#endif // DBAUI_FIELDDESCRIPTIONCONTROL_HXX #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -25,12 +25,8 @@ ...@@ -25,12 +25,8 @@
#include <tools/stream.hxx> #include <tools/stream.hxx>
#include <com/sun/star/awt/FontDescriptor.hpp> #include <com/sun/star/awt/FontDescriptor.hpp>
namespace dbaui namespace dbaui
{ {
//===============================================================================================
// OHTMLReader
//===============================================================================================
class OHTMLReader : public HTMLParser, public ODatabaseExport class OHTMLReader : public HTMLParser, public ODatabaseExport
{ {
String m_sCurrent; String m_sCurrent;
...@@ -52,6 +48,7 @@ namespace dbaui ...@@ -52,6 +48,7 @@ namespace dbaui
void setTextEncoding(); void setTextEncoding();
void fetchOptions(); void fetchOptions();
virtual ~OHTMLReader(); virtual ~OHTMLReader();
public: public:
OHTMLReader(SvStream& rIn, OHTMLReader(SvStream& rIn,
const SharedConnection& _rxConnection, const SharedConnection& _rxConnection,
...@@ -76,8 +73,6 @@ namespace dbaui ...@@ -76,8 +73,6 @@ namespace dbaui
SV_DECL_IMPL_REF( OHTMLReader ); SV_DECL_IMPL_REF( OHTMLReader );
} }
#endif // DBAUI_HTMLREADER_HXX #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -28,10 +28,7 @@ ...@@ -28,10 +28,7 @@
namespace dbaui namespace dbaui
{ {
//================================================================== // OJoinExchObj: Additional data to create Joins in the JoinShell
// OJoinExchObj :
// Additional data to create Joins in the JoinShell
//==================================================================
typedef ::cppu::ImplHelper1< ::com::sun::star::lang::XUnoTunnel > OJoinExchObj_Base; typedef ::cppu::ImplHelper1< ::com::sun::star::lang::XUnoTunnel > OJoinExchObj_Base;
class OJoinExchObj class OJoinExchObj
...@@ -46,6 +43,7 @@ namespace dbaui ...@@ -46,6 +43,7 @@ namespace dbaui
IDragTransferableListener* m_pDragListener; IDragTransferableListener* m_pDragListener;
virtual ~OJoinExchObj(); virtual ~OJoinExchObj();
public: public:
OJoinExchObj(const OJoinExchangeData& jxdSource,sal_Bool _bFirstEntry=sal_False); OJoinExchObj(const OJoinExchangeData& jxdSource,sal_Bool _bFirstEntry=sal_False);
...@@ -74,7 +72,6 @@ namespace dbaui ...@@ -74,7 +72,6 @@ namespace dbaui
using TransferableHelper::StartDrag; using TransferableHelper::StartDrag;
}; };
} }
#endif // DBAUI_JOINEXCHANGE_HXX #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
struct AcceptDropEvent; struct AcceptDropEvent;
struct ExecuteDropEvent; struct ExecuteDropEvent;
class SfxUndoAction; class SfxUndoAction;
namespace dbaui namespace dbaui
{ {
class OTableConnection; class OTableConnection;
...@@ -55,6 +56,7 @@ namespace dbaui ...@@ -55,6 +56,7 @@ namespace dbaui
protected: protected:
virtual void Resize(); virtual void Resize();
public: public:
OScrollWindowHelper( Window* pParent); OScrollWindowHelper( Window* pParent);
~OScrollWindowHelper(); ~OScrollWindowHelper();
...@@ -74,8 +76,10 @@ namespace dbaui ...@@ -74,8 +76,10 @@ namespace dbaui
,public DropTargetHelper ,public DropTargetHelper
{ {
friend class OJoinMoveTabWinUndoAct; friend class OJoinMoveTabWinUndoAct;
public: public:
DECLARE_STL_USTRINGACCESS_MAP(OTableWindow*,OTableWindowMap); DECLARE_STL_USTRINGACCESS_MAP(OTableWindow*,OTableWindowMap);
private: private:
OTableWindowMap m_aTableMap; OTableWindowMap m_aTableMap;
::std::vector<OTableConnection*> m_vTableConnection; ::std::vector<OTableConnection*> m_vTableConnection;
...@@ -248,8 +252,6 @@ namespace dbaui ...@@ -248,8 +252,6 @@ namespace dbaui
Size getRealOutputSize() const { return m_aOutputSize; } Size getRealOutputSize() const { return m_aOutputSize; }
virtual void EnsureVisible(const OTableWindow* _pWin); virtual void EnsureVisible(const OTableWindow* _pWin);
virtual void EnsureVisible(const Point& _rPoint,const Size& _rSize); virtual void EnsureVisible(const Point& _rPoint,const Size& _rSize);
...@@ -315,6 +317,6 @@ namespace dbaui ...@@ -315,6 +317,6 @@ namespace dbaui
using Window::Scroll; using Window::Scroll;
}; };
} }
#endif // DBAUI_JOINTABLEVIEW_HXX #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -61,7 +61,6 @@ namespace dbaui ...@@ -61,7 +61,6 @@ namespace dbaui
INNER_JOIN INNER_JOIN
}; };
//==================================================================
enum EControlType enum EControlType
{ {
tpDefault = 0, tpDefault = 0,
...@@ -78,7 +77,6 @@ namespace dbaui ...@@ -78,7 +77,6 @@ namespace dbaui
tpAutoIncrementValue tpAutoIncrementValue
}; };
} }
#endif // DBAUI_ENUMTYPES_HXX #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
namespace dbaui namespace dbaui
{ {
struct TabWinsChangeNotification struct TabWinsChangeNotification
{ {
enum ACTION_TYPE { AT_ADDED_WIN, AT_REMOVED_WIN }; enum ACTION_TYPE { AT_ADDED_WIN, AT_REMOVED_WIN };
...@@ -35,11 +34,11 @@ namespace dbaui ...@@ -35,11 +34,11 @@ namespace dbaui
TabWinsChangeNotification(ACTION_TYPE at, const String& str) : atActionPerformed(at), strAffectedTable(str) { } TabWinsChangeNotification(ACTION_TYPE at, const String& str) : atActionPerformed(at), strAffectedTable(str) { }
}; };
//========================================================================
class OQueryTabWinUndoAct; class OQueryTabWinUndoAct;
class OQueryTableConnection; class OQueryTableConnection;
class OQueryTableWindow; class OQueryTableWindow;
class OQueryDesignView; class OQueryDesignView;
class OQueryTableView : public OJoinTableView class OQueryTableView : public OJoinTableView
{ {
Link m_lnkTabWinsChangeHandler; Link m_lnkTabWinsChangeHandler;
...@@ -56,6 +55,7 @@ namespace dbaui ...@@ -56,6 +55,7 @@ namespace dbaui
virtual void onNoColumns_throw(); virtual void onNoColumns_throw();
virtual bool supressCrossNaturalJoin(const TTableConnectionData::value_type& _pData) const; virtual bool supressCrossNaturalJoin(const TTableConnectionData::value_type& _pData) const;
public: public:
OQueryTableView(Window* pParent,OQueryDesignView* pView); OQueryTableView(Window* pParent,OQueryDesignView* pView);
virtual ~OQueryTableView(); virtual ~OQueryTableView();
...@@ -129,10 +129,6 @@ namespace dbaui ...@@ -129,10 +129,6 @@ namespace dbaui
using OJoinTableView::EnsureVisible; using OJoinTableView::EnsureVisible;
}; };
} }
#endif // DBAUI_QUERYTABLEVIEW_HXX #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -70,7 +70,6 @@ namespace dbaui ...@@ -70,7 +70,6 @@ namespace dbaui
virtual void lookForUiActivities(); virtual void lookForUiActivities();
}; };
} }
#endif // DBAUI_RELATION_TABLEVIEW_HXX #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -40,6 +40,7 @@ namespace dbaui ...@@ -40,6 +40,7 @@ namespace dbaui
getTypeSelectionPageFactory(); getTypeSelectionPageFactory();
~ORTFReader(); ~ORTFReader();
public: public:
ORTFReader( SvStream& rIn, ORTFReader( SvStream& rIn,
const SharedConnection& _rxConnection, const SharedConnection& _rxConnection,
...@@ -65,7 +66,6 @@ namespace dbaui ...@@ -65,7 +66,6 @@ namespace dbaui
SV_DECL_IMPL_REF( ORTFReader ); SV_DECL_IMPL_REF( ORTFReader );
} }
#endif // DBAUI_RTFREADER_HXX #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -69,7 +69,6 @@ namespace dbaui ...@@ -69,7 +69,6 @@ namespace dbaui
OTableConnection& operator=( const OTableConnection& rConn ); OTableConnection& operator=( const OTableConnection& rConn );
void Select(); void Select();
void Deselect(); void Deselect();
sal_Bool IsSelected() const { return m_bSelected; } sal_Bool IsSelected() const { return m_bSelected; }
...@@ -101,6 +100,6 @@ namespace dbaui ...@@ -101,6 +100,6 @@ namespace dbaui
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible(); virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible();
}; };
} }
#endif // DBAUI_TABLECONNECTION_HXX #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -35,12 +35,9 @@ namespace dbaui ...@@ -35,12 +35,9 @@ namespace dbaui
// Conn ---------->* ConnLine // Conn ---------->* ConnLine
//================================================================== //==================================================================
//==================================================================
/** Contains all connection data which exists between two windows */ /** Contains all connection data which exists between two windows */
class OTableConnectionData class OTableConnectionData
{ {
protected: protected:
TTableWindowData::value_type m_pReferencingTable; TTableWindowData::value_type m_pReferencingTable;
TTableWindowData::value_type m_pReferencedTable; TTableWindowData::value_type m_pReferencedTable;
...@@ -103,7 +100,6 @@ namespace dbaui ...@@ -103,7 +100,6 @@ namespace dbaui
typedef ::std::vector< ::boost::shared_ptr<OTableConnectionData> > TTableConnectionData; typedef ::std::vector< ::boost::shared_ptr<OTableConnectionData> > TTableConnectionData;
} }
#endif // DBAUI_TABLECONNECTIONDATA_HXX #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
namespace dbaui namespace dbaui
{ {
class OTableDesignView; class OTableDesignView;
//==================================================================
class OTableRowView : public ::svt::EditBrowseBox class OTableRowView : public ::svt::EditBrowseBox
,public IClipboardTest ,public IClipboardTest
{ {
...@@ -40,6 +40,7 @@ namespace dbaui ...@@ -40,6 +40,7 @@ namespace dbaui
private: private:
sal_uInt16 m_nCurUndoActId; sal_uInt16 m_nCurUndoActId;
protected: protected:
sal_Bool m_bCurrentModified; sal_Bool m_bCurrentModified;
sal_Bool m_bUpdatable; sal_Bool m_bUpdatable;
...@@ -86,7 +87,6 @@ namespace dbaui ...@@ -86,7 +87,6 @@ namespace dbaui
virtual void Init(); virtual void Init();
}; };
} }
#endif // DBAUI_TABLEDESIGNCONTROL_HXX #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include "IClipBoardTest.hxx" #include "IClipBoardTest.hxx"
class MultiLineEdit; class MultiLineEdit;
namespace dbaui namespace dbaui
{ {
// Deriving from TabPage is a trick to notice changes // Deriving from TabPage is a trick to notice changes
...@@ -60,6 +61,6 @@ namespace dbaui ...@@ -60,6 +61,6 @@ namespace dbaui
virtual void paste(); virtual void paste();
}; };
} }
#endif // DBAUI_TABLEDESIGNHELPBAR_HXX #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -34,6 +34,7 @@ namespace comphelper ...@@ -34,6 +34,7 @@ namespace comphelper
} }
class Window; class Window;
namespace dbaui namespace dbaui
{ {
class OTableFieldDesc : public ::salhelper::SimpleReferenceObject class OTableFieldDesc : public ::salhelper::SimpleReferenceObject
...@@ -132,7 +133,6 @@ namespace dbaui ...@@ -132,7 +133,6 @@ namespace dbaui
void Save( ::comphelper::NamedValueCollection& o_rSettings, const bool i_bIncludingCriteria ); void Save( ::comphelper::NamedValueCollection& o_rSettings, const bool i_bIncludingCriteria );
}; };
//------------------------------------------------------------------
inline sal_Bool OTableFieldDesc::IsEmpty() const inline sal_Bool OTableFieldDesc::IsEmpty() const
{ {
sal_Bool bEmpty = (m_aTableName.isEmpty() && sal_Bool bEmpty = (m_aTableName.isEmpty() &&
...@@ -143,10 +143,10 @@ namespace dbaui ...@@ -143,10 +143,10 @@ namespace dbaui
!HasCriteria()); !HasCriteria());
return bEmpty; return bEmpty;
} }
//------------------------------------------------------------------
typedef ::rtl::Reference< OTableFieldDesc> OTableFieldDescRef; typedef ::rtl::Reference< OTableFieldDesc> OTableFieldDescRef;
typedef ::std::vector<OTableFieldDescRef> OTableFields; typedef ::std::vector<OTableFieldDescRef> OTableFields;
} }
#endif // #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment