summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorGuillaume Poussel <gpoussel@gmail.com>2011-02-07 20:21:18 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2011-02-08 18:49:16 +0100
commit2b0f7be0e3e9da61bec7577f6adfe7015e903b97 (patch)
tree53643a5aec87f1c2a15496ae3eb1b4fc9d732548 /starmath
parent43ac9d392c1e80706f0bae8f8c73cfe0dfb0ecf2 (diff)
Clean-up bogus comments in writer.
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/starmath.hrc1
-rw-r--r--starmath/source/accessibility.cxx10
-rw-r--r--starmath/source/edit.cxx2
-rw-r--r--starmath/source/mathmlexport.cxx7
-rw-r--r--starmath/source/mathmlexport.hxx1
-rw-r--r--starmath/source/mathmlimport.cxx3
-rw-r--r--starmath/source/mathmlimport.hxx1
-rw-r--r--starmath/source/mathtype.cxx1
-rw-r--r--starmath/source/unomodel.cxx6
-rw-r--r--starmath/source/view.cxx2
10 files changed, 9 insertions, 25 deletions
diff --git a/starmath/inc/starmath.hrc b/starmath/inc/starmath.hrc
index dd95c19ae8e4..3261f6bcbd77 100644
--- a/starmath/inc/starmath.hrc
+++ b/starmath/inc/starmath.hrc
@@ -101,7 +101,6 @@
#define RID_PRINTUIOPTIONS (RID_APP_START + 11)
#define RID_MATH_TOOLBOX (RID_APP_START + 50)
-// wegen #58705# entfernt
//#define RID_DRAW_OBJECTBAR (RID_APP_START + 51)
#define RID_DEFAULTSAVEQUERY (RID_APP_START + 102)
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx
index 8f1308289812..1d48e6492beb 100644
--- a/starmath/source/accessibility.cxx
+++ b/starmath/source/accessibility.cxx
@@ -510,10 +510,10 @@ awt::Rectangle SAL_CALL SmGraphicAccessible::getCharacterBounds( sal_Int32 nInde
if (!pDoc)
throw RuntimeException();
String aTxt( GetAccessibleText_Impl() );
- if (!(0 <= nIndex && nIndex <= aTxt.Len())) // #108812# aTxt.Len() is valid
+ if (!(0 <= nIndex && nIndex <= aTxt.Len())) // aTxt.Len() is valid
throw IndexOutOfBoundsException();
- // #108812# find a reasonable rectangle for position aTxt.Len().
+ // find a reasonable rectangle for position aTxt.Len().
bool bWasBehindText = (nIndex == aTxt.Len());
if (bWasBehindText && nIndex)
--nIndex;
@@ -559,7 +559,7 @@ awt::Rectangle SAL_CALL SmGraphicAccessible::getCharacterBounds( sal_Int32 nInde
}
}
- // #108812# take rectangle from last character and move it to the right
+ // take rectangle from last character and move it to the right
if (bWasBehindText)
aRes.X += aRes.Width;
}
@@ -1285,7 +1285,7 @@ Rectangle SmTextForwarder::GetCharBounds( USHORT nPara, USHORT nIndex ) const
if (pEditEngine)
{
- // #108900# Handle virtual position one-past-the end of the string
+ // Handle virtual position one-past-the end of the string
if( nIndex >= pEditEngine->GetTextLen(nPara) )
{
if( nIndex )
@@ -1684,7 +1684,7 @@ void SmEditAccessible::Init()
void SmEditAccessible::ClearWin()
{
- // #112565# remove handler before current object gets destroyed
+ // remove handler before current object gets destroyed
// (avoid handler being called for already dead object)
EditEngine *pEditEngine = GetEditEngine();
if (pEditEngine)
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index 4cb731ea48c6..020d5ebbef83 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -147,7 +147,7 @@ SmEditWindow::~SmEditWindow()
StartCursorMove();
- // #112565# clean up of classes used for accessibility
+ // clean up of classes used for accessibility
// must be done before EditView (and thus EditEngine) is no longer
// available for those classes.
if (pAccessible)
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 937799aec67a..cbad3cc1639a 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -386,7 +386,6 @@ sal_Bool SmXMLExportWrapper::WriteThroughComponent(
////////////////////////////////////////////////////////////
-// #110680#
SmXMLExport::SmXMLExport(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceFactory,
sal_uInt16 nExportFlags)
@@ -441,7 +440,6 @@ uno::Reference< uno::XInterface > SAL_CALL SmXMLExport_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & rSMgr)
throw( uno::Exception )
{
- // #110680#
// EXPORT_OASIS is required here allthough there is no differrence between
// OOo and OASIS, because without the flag, a transformation to OOo would
// be chained in.
@@ -467,7 +465,6 @@ uno::Reference< uno::XInterface > SAL_CALL SmXMLExportMetaOOO_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & rSMgr)
throw( uno::Exception )
{
- // #110680#
return (cppu::OWeakObject*)new SmXMLExport( rSMgr, EXPORT_META );
}
@@ -490,7 +487,6 @@ uno::Reference< uno::XInterface > SAL_CALL SmXMLExportMeta_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & rSMgr)
throw( uno::Exception )
{
- // #110680#
return (cppu::OWeakObject*)new SmXMLExport( rSMgr, EXPORT_OASIS|EXPORT_META );
}
@@ -513,7 +509,6 @@ uno::Reference< uno::XInterface > SAL_CALL SmXMLExportSettingsOOO_createInstance
const uno::Reference< lang::XMultiServiceFactory > & rSMgr)
throw( uno::Exception )
{
- // #110680#
return (cppu::OWeakObject*)new SmXMLExport( rSMgr, EXPORT_SETTINGS );
}
@@ -536,7 +531,6 @@ uno::Reference< uno::XInterface > SAL_CALL SmXMLExportSettings_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & rSMgr)
throw( uno::Exception )
{
- // #110680#
return (cppu::OWeakObject*)new SmXMLExport( rSMgr, EXPORT_OASIS|EXPORT_SETTINGS );
}
@@ -559,7 +553,6 @@ uno::Reference< uno::XInterface > SAL_CALL SmXMLExportContent_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & rSMgr)
throw( uno::Exception )
{
- // #110680#
// The EXPORT_OASIS flag is only required to avoid that a transformer is
// chanied in
return (cppu::OWeakObject*)new SmXMLExport( rSMgr, EXPORT_OASIS|EXPORT_CONTENT );
diff --git a/starmath/source/mathmlexport.hxx b/starmath/source/mathmlexport.hxx
index 65c524fe0f40..4ab602bad8b3 100644
--- a/starmath/source/mathmlexport.hxx
+++ b/starmath/source/mathmlexport.hxx
@@ -114,7 +114,6 @@ protected:
void ExportBlank(const SmNode *pNode, int nLevel);
public:
- // #110680#
SmXMLExport(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceFactory,
sal_uInt16 nExportFlags=EXPORT_ALL);
diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx
index c0a08573c011..fbf6a2bc9d08 100644
--- a/starmath/source/mathmlimport.cxx
+++ b/starmath/source/mathmlimport.cxx
@@ -469,7 +469,6 @@ uno::Reference< uno::XInterface > SAL_CALL SmXMLImport_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & rSMgr)
throw( uno::Exception )
{
- // #110680#
return (cppu::OWeakObject*)new SmXMLImport(rSMgr, IMPORT_ALL);
}
@@ -492,7 +491,6 @@ uno::Reference< uno::XInterface > SAL_CALL SmXMLImportMeta_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & rSMgr)
throw( uno::Exception )
{
- // #110680#
return (cppu::OWeakObject*)new SmXMLImport( rSMgr, IMPORT_META );
}
@@ -515,7 +513,6 @@ uno::Reference< uno::XInterface > SAL_CALL SmXMLImportSettings_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & rSMgr)
throw( uno::Exception )
{
- // #110680#
return (cppu::OWeakObject*)new SmXMLImport( rSMgr, IMPORT_SETTINGS );
}
diff --git a/starmath/source/mathmlimport.hxx b/starmath/source/mathmlimport.hxx
index 473efa97bd75..41824f0ee6af 100644
--- a/starmath/source/mathmlimport.hxx
+++ b/starmath/source/mathmlimport.hxx
@@ -96,7 +96,6 @@ class SmXMLImport : public SvXMLImport
String aText;
public:
- // #110680#
SmXMLImport(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceFactory,
sal_uInt16 nImportFlags=IMPORT_ALL);
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index e50f4ec6512a..22dad35ead07 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -2899,7 +2899,6 @@ int MathType::HandleChar(xub_StrLen &rTextStart,int &rSetSize,int nLevel,
*pS >> nChar;
/*
- ##912##
bad character, old mathtype < 3 has these
*/
if (nChar < 0x20)
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index 417057e224ac..06833f901a6c 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -224,11 +224,9 @@ enum SmModelPropertyHandles
HANDLE_PRINTER_NAME,
HANDLE_PRINTER_SETUP,
HANDLE_SYMBOLS,
- HANDLE_BASIC_LIBRARIES, /* #93295# */
+ HANDLE_BASIC_LIBRARIES,
HANDLE_RUNTIME_UID,
- // --> PB 2004-08-25 #i33095# Security Options
- HANDLE_LOAD_READONLY,
- // <--
+ HANDLE_LOAD_READONLY, // Security Options
HANDLE_DIALOG_LIBRARIES // #i73329#
};
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index aec233e52650..1e430d71c2ad 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -817,7 +817,7 @@ void SmCmdBoxWindow::StateChanged( StateChangedType nStateChange )
{
if (STATE_CHANGE_INITSHOW == nStateChange)
{
- Resize(); // #98848# avoid SmEditWindow not being painted correctly
+ Resize(); // avoid SmEditWindow not being painted correctly
// set initial position of window in floating mode
if (true == IsFloatingMode())