This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch Pilot-Pirx-zoomslider
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/Pilot-Pirx-zoomslider by this
push:
new 9bac45a1ac Cleanup
9bac45a1ac is described below
commit 9bac45a1ac0df8642776e7269a52fe39b2e22ec1
Author: mseidel <[email protected]>
AuthorDate: Tue Mar 10 22:11:02 2026 +0100
Cleanup
---
main/starmath/inc/smdll.hxx | 7 ++--
main/starmath/inc/view.hxx | 91 +++++++++++++++++++++++----------------------
2 files changed, 50 insertions(+), 48 deletions(-)
diff --git a/main/starmath/inc/smdll.hxx b/main/starmath/inc/smdll.hxx
index d20e26b8a3..fa7b53b258 100644
--- a/main/starmath/inc/smdll.hxx
+++ b/main/starmath/inc/smdll.hxx
@@ -19,7 +19,6 @@
*
*************************************************************/
-
#ifndef SMDLL_HXX
#define SMDLL_HXX
@@ -33,13 +32,15 @@ class SfxFilter;
class SmDLL
{
- static sal_Bool bInitialized;
+ static sal_Bool bInitialized;
public:
static void Init();
static void Exit();
static sal_uLong DetectFilter( SfxMedium& rMedium, const SfxFilter
**ppFilter,
- SfxFilterFlags
nMust, SfxFilterFlags nDont );
+ SfxFilterFlags
nMust, SfxFilterFlags nDont );
};
#endif
+
+/* vim: set noet sw=4 ts=4: */
diff --git a/main/starmath/inc/view.hxx b/main/starmath/inc/view.hxx
index a4e711b9ae..2a784b8011 100644
--- a/main/starmath/inc/view.hxx
+++ b/main/starmath/inc/view.hxx
@@ -19,7 +19,6 @@
*
*************************************************************/
-
#ifndef VIEW_HXX
#define VIEW_HXX
@@ -49,11 +48,11 @@ class SmGraphicWindow : public ScrollableWindow
Point aFormulaDrawPos;
Rectangle aCursorRect;
- ::com::sun::star::uno::Reference<
- ::com::sun::star::accessibility::XAccessible > xAccessible;
- SmGraphicAccessible * pAccessible;
+ ::com::sun::star::uno::Reference<
+ ::com::sun::star::accessibility::XAccessible > xAccessible;
+ SmGraphicAccessible * pAccessible;
- SmViewShell *pViewShell;
+ SmViewShell *pViewShell;
sal_uInt16 nZoom;
short nModifyCount;
sal_Bool bIsCursorVisible;
@@ -61,8 +60,8 @@ class SmGraphicWindow : public ScrollableWindow
protected:
void SetFormulaDrawPos(const Point &rPos) { aFormulaDrawPos
= rPos; }
void SetIsCursorVisible(sal_Bool bVis) { bIsCursorVisible =
bVis; }
- using Window::SetCursor;
- void SetCursor(const SmNode *pNode);
+ using Window::SetCursor;
+ void SetCursor(const SmNode *pNode);
void SetCursor(const Rectangle &rRect);
virtual void DataChanged( const DataChangedEvent& );
@@ -74,37 +73,37 @@ protected:
public:
SmGraphicWindow(SmViewShell* pShell);
- ~SmGraphicWindow();
+ ~SmGraphicWindow();
- // Window
- virtual void MouseButtonDown(const MouseEvent &rMEvt);
- virtual void GetFocus();
- virtual void LoseFocus();
+ // Window
+ virtual void MouseButtonDown(const MouseEvent &rMEvt);
+ virtual void GetFocus();
+ virtual void LoseFocus();
- SmViewShell * GetView() { return pViewShell; }
+ SmViewShell * GetView() { return pViewShell; }
- using Window::SetZoom;
+ using Window::SetZoom;
void SetZoom(sal_uInt16 Factor);
- using Window::GetZoom;
+ using Window::GetZoom;
sal_uInt16 GetZoom() const { return nZoom; }
- const Point & GetFormulaDrawPos() const { return aFormulaDrawPos; }
+ const Point & GetFormulaDrawPos() const { return aFormulaDrawPos; }
- void ZoomToFitInWindow();
- using ScrollableWindow::SetTotalSize;
+ void ZoomToFitInWindow();
+ using ScrollableWindow::SetTotalSize;
void SetTotalSize();
sal_Bool IsCursorVisible() const { return bIsCursorVisible; }
void ShowCursor(sal_Bool bShow);
const SmNode * SetCursorPos(sal_uInt16 nRow, sal_uInt16 nCol);
- void ApplyColorConfigValues( const svtools::ColorConfig &rColorCfg );
+ void ApplyColorConfigValues( const svtools::ColorConfig &rColorCfg );
- // for Accessibility
- virtual ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible > CreateAccessible();
+ // for Accessibility
+ virtual ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible > CreateAccessible();
- using Window::GetAccessible;
- SmGraphicAccessible * GetAccessible_Impl() { return pAccessible; }
+ using Window::GetAccessible;
+ SmGraphicAccessible * GetAccessible_Impl() { return pAccessible; }
};
/**************************************************************************/
@@ -128,9 +127,9 @@ protected:
SmEditWindow &rEdit;
public:
- SmEditController(SmEditWindow &, sal_uInt16, SfxBindings & );
+ SmEditController(SmEditWindow &, sal_uInt16, SfxBindings & );
#if OSL_DEBUG_LEVEL > 1
- virtual ~SmEditController();
+ virtual ~SmEditController();
#endif
virtual void StateChanged(sal_uInt16 nSID,
@@ -144,21 +143,21 @@ class SmCmdBoxWindow : public SfxDockingWindow
{
SmEditWindow aEdit;
SmEditController aController;
- sal_Bool bExiting;
+ sal_Bool bExiting;
- Timer aInitialFocusTimer;
+ Timer aInitialFocusTimer;
- DECL_LINK(InitialFocusTimerHdl, Timer *);
+ DECL_LINK(InitialFocusTimerHdl, Timer *);
protected :
- // Window
- virtual void GetFocus();
+ // Window
+ virtual void GetFocus();
virtual void Resize();
virtual void Paint(const Rectangle& rRect);
- virtual void StateChanged( StateChangedType nStateChange );
+ virtual void StateChanged( StateChangedType nStateChange );
- virtual Size CalcDockingSize(SfxChildAlignment eAlign);
+ virtual Size CalcDockingSize(SfxChildAlignment eAlign);
virtual SfxChildAlignment CheckAlignment(SfxChildAlignment eActual,
SfxChildAlignment eWish);
@@ -174,7 +173,7 @@ public:
void AdjustPosition();
SmEditWindow *GetEditWindow() { return (&aEdit); }
- SmViewShell *GetView();
+ SmViewShell *GetView();
};
/**************************************************************************/
@@ -190,7 +189,7 @@ protected:
SfxChildWinInfo *pInfo);
#if OSL_DEBUG_LEVEL > 1
- virtual ~SmCmdBoxWrapper();
+ virtual ~SmCmdBoxWrapper();
#endif
public:
@@ -219,11 +218,11 @@ class SmViewShell: public SfxViewShell
::com::sun::star::uno:: Reference <
::com::sun::star::lang:: XEventListener > xClipEvtLstnr;
SmClipboardChangeListener* pClipEvtLstnr;
- SmViewShell_Impl* pImpl;
+ SmViewShell_Impl* pImpl;
sal_Bool bPasteState;
- DECL_LINK( DialogClosedHdl, sfx2::FileDialogHelper* );
- virtual void Notify( SfxBroadcaster& rBC, const SfxHint&
rHint );
+ DECL_LINK( DialogClosedHdl, sfx2::FileDialogHelper* );
+ virtual void Notify( SfxBroadcaster& rBC, const
SfxHint& rHint );
protected:
@@ -240,13 +239,13 @@ protected:
const String& rText,
sal_uInt16 MaxWidth);
- virtual sal_uInt16 Print(SfxProgress &rProgress, sal_Bool bIsAPI);
+ virtual sal_uInt16 Print(SfxProgress &rProgress, sal_Bool bIsAPI);
virtual SfxPrinter *GetPrinter(sal_Bool bCreate = sal_False);
virtual sal_uInt16 SetPrinter(SfxPrinter *pNewPrinter,
sal_uInt16 nDiffFlags = SFX_PRINTER_ALL,
bool bIsAPI=false);
- sal_Bool Insert( SfxMedium& rMedium );
- sal_Bool InsertFrom(SfxMedium &rMedium);
+ sal_Bool Insert( SfxMedium& rMedium );
+ sal_Bool InsertFrom(SfxMedium &rMedium);
virtual SfxTabPage *CreatePrintOptionsPage(Window
*pParent,
const SfxItemSet &rOptions);
@@ -262,7 +261,7 @@ protected:
public:
TYPEINFO();
- SmViewShell(SfxViewFrame *pFrame, SfxViewShell *pOldSh);
+ SmViewShell(SfxViewFrame *pFrame, SfxViewShell *pOldSh);
~SmViewShell();
SmDocShell * GetDoc()
@@ -280,14 +279,16 @@ public:
void NextError();
void PrevError();
- SFX_DECL_INTERFACE(SFX_INTERFACE_SMA_START+2)
- SFX_DECL_VIEWFACTORY(SmViewShell);
+ SFX_DECL_INTERFACE(SFX_INTERFACE_SMA_START+2)
+ SFX_DECL_VIEWFACTORY(SmViewShell);
virtual void Execute( SfxRequest& rReq );
virtual void GetState(SfxItemSet &);
- void Impl_Print( OutputDevice &rOutDev, const SmPrintUIOptions
&rPrintUIOptions,
- Rectangle aOutRect, Point aZeroPoint );
+ void Impl_Print( OutputDevice &rOutDev, const SmPrintUIOptions
&rPrintUIOptions,
+ Rectangle aOutRect, Point aZeroPoint );
};
#endif
+
+/* vim: set noet sw=4 ts=4: */