summaryrefslogtreecommitdiff
path: root/starmath/source/edit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/edit.cxx')
-rw-r--r--starmath/source/edit.cxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index 83fcfab0351b..cf2c1865bb31 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -38,10 +38,10 @@
#include "starmath.hrc"
-#define ITEMID_FONT 1
-#define ITEMID_FONTHEIGHT 2
-#define ITEMID_LRSPACE 3
-#define ITEMID_WEIGHT 4
+#define ITEMID_FONT 1
+#define ITEMID_FONTHEIGHT 2
+#define ITEMID_LRSPACE 3
+#define ITEMID_WEIGHT 4
#include <vcl/menu.hxx>
@@ -65,12 +65,12 @@
#include "document.hxx"
#include "config.hxx"
-#define SCROLL_LINE 24
+#define SCROLL_LINE 24
-#define MINWIDTH 200
-#define MINHEIGHT 200
-#define MINSPLIT 40
-#define SPLITTERWIDTH 2
+#define MINWIDTH 200
+#define MINHEIGHT 200
+#define MINSPLIT 40
+#define SPLITTERWIDTH 2
using namespace com::sun::star::accessibility;
@@ -85,13 +85,13 @@ void SmGetLeftSelectionPart(const ESelection aSel,
// returns paragraph number and position of the selections left part
{
// compare start and end of selection and use the one that comes first
- if ( aSel.nStartPara < aSel.nEndPara
- || (aSel.nStartPara == aSel.nEndPara && aSel.nStartPos < aSel.nEndPos) )
- { nPara = aSel.nStartPara;
+ if ( aSel.nStartPara < aSel.nEndPara
+ || (aSel.nStartPara == aSel.nEndPara && aSel.nStartPos < aSel.nEndPos) )
+ { nPara = aSel.nStartPara;
nPos = aSel.nStartPos;
}
else
- { nPara = aSel.nEndPara;
+ { nPara = aSel.nEndPara;
nPos = aSel.nEndPos;
}
}
@@ -255,7 +255,7 @@ void SmEditWindow::DataChanged( const DataChangedEvent& )
// unfortunately this resets the whole edit engine
// thus we need to save at least the text
String aTxt( pEditEngine->GetText( LINEEND_LF ) );
- pEditEngine->Clear(); //#77957 incorrect font size
+ pEditEngine->Clear(); //#77957 incorrect font size
pEditEngine->SetText( aTxt );
}