starmath: remove SAL_INFO's that only mark function entry
Change-Id: Iae6dbc367f1ff9cbeb5329bd9b96489b2d4252ec
This commit is contained in:
@@ -133,8 +133,6 @@ void SmDocShell::SFX_NOTIFY(SfxBroadcaster&, const TypeId&,
|
||||
|
||||
void SmDocShell::LoadSymbols()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::LoadSymbols" );
|
||||
|
||||
SmModule *pp = SM_MOD();
|
||||
pp->GetSymbolManager().Load();
|
||||
}
|
||||
@@ -142,7 +140,6 @@ void SmDocShell::LoadSymbols()
|
||||
|
||||
const OUString SmDocShell::GetComment() const
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::GetComment" );
|
||||
uno::Reference<document::XDocumentPropertiesSupplier> xDPS(
|
||||
const_cast<SmDocShell*>(this)->GetModel(), uno::UNO_QUERY_THROW);
|
||||
uno::Reference<document::XDocumentProperties> xDocProps(
|
||||
@@ -153,8 +150,6 @@ const OUString SmDocShell::GetComment() const
|
||||
|
||||
void SmDocShell::SetText(const OUString& rBuffer)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::SetText" );
|
||||
|
||||
if (rBuffer != aText)
|
||||
{
|
||||
bool bIsEnabled = IsEnableSetModified();
|
||||
@@ -206,8 +201,6 @@ void SmDocShell::SetText(const OUString& rBuffer)
|
||||
|
||||
void SmDocShell::SetFormat(SmFormat& rFormat)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::SetFormat" );
|
||||
|
||||
aFormat = rFormat;
|
||||
SetFormulaArranged( false );
|
||||
SetModified( true );
|
||||
@@ -226,8 +219,6 @@ void SmDocShell::SetFormat(SmFormat& rFormat)
|
||||
|
||||
OUString SmDocShell::GetAccessibleText()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::GetAccessibleText" );
|
||||
|
||||
if (!IsFormulaArranged())
|
||||
ArrangeFormula();
|
||||
if (aAccText.isEmpty())
|
||||
@@ -245,8 +236,6 @@ OUString SmDocShell::GetAccessibleText()
|
||||
|
||||
void SmDocShell::Parse()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::Parse" );
|
||||
|
||||
if (pTree)
|
||||
delete pTree;
|
||||
ReplaceBadChars();
|
||||
@@ -260,8 +249,6 @@ void SmDocShell::Parse()
|
||||
|
||||
void SmDocShell::ArrangeFormula()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::ArrangeFormula" );
|
||||
|
||||
if (IsFormulaArranged())
|
||||
return;
|
||||
|
||||
@@ -371,8 +358,6 @@ void SetEditEngineDefaultFonts(SfxItemPool &rEditEngineItemPool)
|
||||
|
||||
EditEngine& SmDocShell::GetEditEngine()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::GetEditEngine" );
|
||||
|
||||
if (!pEditEngine)
|
||||
{
|
||||
//!
|
||||
@@ -416,8 +401,6 @@ EditEngine& SmDocShell::GetEditEngine()
|
||||
|
||||
SfxItemPool& SmDocShell::GetEditEngineItemPool()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::GetEditEngineItemPool" );
|
||||
|
||||
if (!pEditEngineItemPool)
|
||||
GetEditEngine();
|
||||
OSL_ENSURE( pEditEngineItemPool, "EditEngineItemPool missing" );
|
||||
@@ -426,8 +409,6 @@ SfxItemPool& SmDocShell::GetEditEngineItemPool()
|
||||
|
||||
void SmDocShell::DrawFormula(OutputDevice &rDev, Point &rPosition, bool bDrawSelection)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::Draw" );
|
||||
|
||||
if (!pTree)
|
||||
Parse();
|
||||
OSL_ENSURE(pTree, "Sm : NULL pointer");
|
||||
@@ -483,8 +464,6 @@ void SmDocShell::DrawFormula(OutputDevice &rDev, Point &rPosition, bool bDrawSel
|
||||
|
||||
Size SmDocShell::GetSize()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::GetSize" );
|
||||
|
||||
Size aRet;
|
||||
|
||||
if (!pTree)
|
||||
@@ -590,8 +569,6 @@ SmPrinterAccess::~SmPrinterAccess()
|
||||
|
||||
Printer* SmDocShell::GetPrt()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::GetPrt" );
|
||||
|
||||
if ( SFX_CREATE_MODE_EMBEDDED == GetCreateMode() )
|
||||
{
|
||||
// Normally the server provides the printer. But if it doesn't provide one (e.g. because
|
||||
@@ -625,8 +602,6 @@ Printer* SmDocShell::GetPrt()
|
||||
|
||||
OutputDevice* SmDocShell::GetRefDev()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::GetRefDev" );
|
||||
|
||||
if ( SFX_CREATE_MODE_EMBEDDED == GetCreateMode() )
|
||||
{
|
||||
OutputDevice* pOutDev = GetDocumentRefDev();
|
||||
@@ -640,8 +615,6 @@ OutputDevice* SmDocShell::GetRefDev()
|
||||
|
||||
void SmDocShell::SetPrinter( SfxPrinter *pNew )
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::SetPrinter" );
|
||||
|
||||
delete pPrinter;
|
||||
pPrinter = pNew; //Transfer ownership
|
||||
pPrinter->SetMapMode( MapMode(MAP_100TH_MM) );
|
||||
@@ -651,8 +624,6 @@ void SmDocShell::SetPrinter( SfxPrinter *pNew )
|
||||
|
||||
void SmDocShell::OnDocumentPrinterChanged( Printer *pPrt )
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::OnDocumentPrinterChanged" );
|
||||
|
||||
pTmpPrinter = pPrt;
|
||||
SetFormulaArranged(false);
|
||||
Size aOldSize = GetVisArea().GetSize();
|
||||
@@ -664,8 +635,6 @@ void SmDocShell::OnDocumentPrinterChanged( Printer *pPrt )
|
||||
|
||||
void SmDocShell::Repaint()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::Repaint" );
|
||||
|
||||
bool bIsEnabled = IsEnableSetModified();
|
||||
if ( bIsEnabled )
|
||||
EnableSetModified( false );
|
||||
@@ -694,7 +663,6 @@ SmDocShell::SmDocShell( const sal_uInt64 i_nSfxCreationFlags ) :
|
||||
bIsFormulaArranged ( false )
|
||||
{
|
||||
pCursor = NULL;
|
||||
SAL_INFO( "starmath", "SmDocShell::SmDocShell" );
|
||||
|
||||
SetPool(&SFX_APP()->GetPool());
|
||||
|
||||
@@ -711,8 +679,6 @@ SmDocShell::SmDocShell( const sal_uInt64 i_nSfxCreationFlags ) :
|
||||
|
||||
SmDocShell::~SmDocShell()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::~SmDocShell" );
|
||||
|
||||
SmModule *pp = SM_MOD();
|
||||
|
||||
EndListening(aFormat);
|
||||
@@ -732,8 +698,6 @@ SmDocShell::~SmDocShell()
|
||||
|
||||
bool SmDocShell::SetData( const OUString& rData )
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::SetData" );
|
||||
|
||||
SetText( rData );
|
||||
return true;
|
||||
}
|
||||
@@ -741,8 +705,6 @@ bool SmDocShell::SetData( const OUString& rData )
|
||||
|
||||
bool SmDocShell::ConvertFrom(SfxMedium &rMedium)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::ConvertFrom" );
|
||||
|
||||
bool bSuccess = false;
|
||||
const OUString& rFltName = rMedium.GetFilter()->GetFilterName();
|
||||
|
||||
@@ -792,8 +754,6 @@ bool SmDocShell::ConvertFrom(SfxMedium &rMedium)
|
||||
|
||||
bool SmDocShell::InitNew( const uno::Reference < embed::XStorage >& xStorage )
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::InitNew" );
|
||||
|
||||
bool bRet = false;
|
||||
if ( SfxObjectShell::InitNew( xStorage ) )
|
||||
{
|
||||
@@ -806,8 +766,6 @@ bool SmDocShell::InitNew( const uno::Reference < embed::XStorage >& xStorage )
|
||||
|
||||
bool SmDocShell::Load( SfxMedium& rMedium )
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::Load" );
|
||||
|
||||
bool bRet = false;
|
||||
if( SfxObjectShell::Load( rMedium ))
|
||||
{
|
||||
@@ -847,8 +805,6 @@ bool SmDocShell::Load( SfxMedium& rMedium )
|
||||
|
||||
bool SmDocShell::Save()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::Save" );
|
||||
|
||||
//! apply latest changes if necessary
|
||||
UpdateText();
|
||||
|
||||
@@ -898,8 +854,6 @@ bool SmDocShell::ReplaceBadChars()
|
||||
|
||||
void SmDocShell::UpdateText()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::UpdateText" );
|
||||
|
||||
if (pEditEngine && pEditEngine->IsModified())
|
||||
{
|
||||
OUString aEngTxt( pEditEngine->GetText( LINEEND_LF ) );
|
||||
@@ -911,8 +865,6 @@ void SmDocShell::UpdateText()
|
||||
|
||||
bool SmDocShell::SaveAs( SfxMedium& rMedium )
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::SaveAs" );
|
||||
|
||||
bool bRet = false;
|
||||
|
||||
//! apply latest changes if necessary
|
||||
@@ -935,8 +887,6 @@ bool SmDocShell::SaveAs( SfxMedium& rMedium )
|
||||
|
||||
bool SmDocShell::ConvertTo( SfxMedium &rMedium )
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::ConvertTo" );
|
||||
|
||||
bool bRet = false;
|
||||
const SfxFilter* pFlt = rMedium.GetFilter();
|
||||
if( pFlt )
|
||||
@@ -969,8 +919,6 @@ bool SmDocShell::ConvertTo( SfxMedium &rMedium )
|
||||
|
||||
bool SmDocShell::writeFormulaOoxml( ::sax_fastparser::FSHelperPtr pSerializer, oox::core::OoxmlVersion version )
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::writeFormulaOoxml" );
|
||||
|
||||
if( !pTree )
|
||||
Parse();
|
||||
if( pTree && !IsFormulaArranged() )
|
||||
@@ -991,16 +939,12 @@ void SmDocShell::writeFormulaRtf(OStringBuffer& rBuffer, rtl_TextEncoding nEncod
|
||||
|
||||
void SmDocShell::readFormulaOoxml( oox::formulaimport::XmlStream& stream )
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::readFormulaOoxml" );
|
||||
|
||||
SmOoxmlImport aEquation( stream );
|
||||
SetText( aEquation.ConvertToStarMath());
|
||||
}
|
||||
|
||||
bool SmDocShell::SaveCompleted( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage )
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::SaveCompleted" );
|
||||
|
||||
if( SfxObjectShell::SaveCompleted( xStorage ))
|
||||
return true;
|
||||
|
||||
@@ -1010,8 +954,6 @@ bool SmDocShell::SaveCompleted( const ::com::sun::star::uno::Reference< ::com::s
|
||||
|
||||
void SmDocShell::Execute(SfxRequest& rReq)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::Execute" );
|
||||
|
||||
switch (rReq.GetSlot())
|
||||
{
|
||||
case SID_TEXTMODE:
|
||||
@@ -1218,8 +1160,6 @@ void SmDocShell::Execute(SfxRequest& rReq)
|
||||
|
||||
void SmDocShell::GetState(SfxItemSet &rSet)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::GetState" );
|
||||
|
||||
SfxWhichIter aIter(rSet);
|
||||
|
||||
for (sal_uInt16 nWh = aIter.FirstWhich(); 0 != nWh; nWh = aIter.NextWhich())
|
||||
@@ -1316,8 +1256,6 @@ void SmDocShell::GetState(SfxItemSet &rSet)
|
||||
|
||||
::svl::IUndoManager *SmDocShell::GetUndoManager()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::GetUndoManager" );
|
||||
|
||||
if (!pEditEngine)
|
||||
GetEditEngine();
|
||||
return &pEditEngine->GetUndoManager();
|
||||
@@ -1326,8 +1264,6 @@ void SmDocShell::GetState(SfxItemSet &rSet)
|
||||
|
||||
void SmDocShell::SaveSymbols()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::SaveSymbols" );
|
||||
|
||||
SmModule *pp = SM_MOD();
|
||||
pp->GetSymbolManager().Save();
|
||||
}
|
||||
@@ -1337,8 +1273,6 @@ void SmDocShell::Draw(OutputDevice *pDevice,
|
||||
const JobSetup &,
|
||||
sal_uInt16 /*nAspect*/)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::Draw" );
|
||||
|
||||
pDevice->IntersectClipRegion(GetVisArea());
|
||||
Point atmppoint;
|
||||
DrawFormula(*pDevice, atmppoint);
|
||||
@@ -1351,8 +1285,6 @@ SfxItemPool& SmDocShell::GetPool() const
|
||||
|
||||
void SmDocShell::SetVisArea(const Rectangle & rVisArea)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::SetVisArea" );
|
||||
|
||||
Rectangle aNewRect(rVisArea);
|
||||
|
||||
aNewRect.SetPos(Point());
|
||||
@@ -1394,8 +1326,6 @@ void SmDocShell::FillClass(SvGlobalName* pClassName,
|
||||
sal_Int32 nFileFormat,
|
||||
bool bTemplate /* = false */) const
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::FillClass" );
|
||||
|
||||
if (nFileFormat == SOFFICE_FILEFORMAT_60 )
|
||||
{
|
||||
*pClassName = SvGlobalName(SO3_SM_CLASSID_60);
|
||||
@@ -1420,8 +1350,6 @@ sal_uLong SmDocShell::GetMiscStatus() const
|
||||
|
||||
void SmDocShell::SetModified(bool bModified)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::SetModified" );
|
||||
|
||||
if( IsEnableSetModified() )
|
||||
{
|
||||
SfxObjectShell::SetModified( bModified );
|
||||
@@ -1431,8 +1359,6 @@ void SmDocShell::SetModified(bool bModified)
|
||||
|
||||
bool SmDocShell::WriteAsMathType3( SfxMedium& rMedium )
|
||||
{
|
||||
SAL_INFO( "starmath", "SmDocShell::WriteAsMathType3" );
|
||||
|
||||
MathType aEquation( aText, pTree );
|
||||
|
||||
bool bRet = 0 != aEquation.ConvertFromStarMath( rMedium );
|
||||
|
@@ -112,8 +112,6 @@ SmToolBoxWindow::SmToolBoxWindow(SfxBindings *pTmpBindings,
|
||||
aToolBoxCat(this, SmResId(TOOLBOX_CATALOG)),
|
||||
aToolBoxCat_Delim(this, SmResId( FL_TOOLBOX_CAT_DELIM ))
|
||||
{
|
||||
SAL_INFO( "starmath", "starmath: SmToolBoxWindow::SmToolBoxWindow" );
|
||||
|
||||
// allow for cursor travelling between toolbox and sub-categories
|
||||
SetStyle( GetStyle() | WB_DIALOGCONTROL );
|
||||
|
||||
|
@@ -950,16 +950,12 @@ SFX_IMPL_NAMED_VIEWFACTORY(SmViewShell, "Default")
|
||||
|
||||
void SmViewShell::AdjustPosSizePixel(const Point &rPos, const Size &rSize)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::AdjustPosSizePixel" );
|
||||
|
||||
aGraphic.SetPosSizePixel(rPos, rSize);
|
||||
}
|
||||
|
||||
|
||||
void SmViewShell::InnerResizePixel(const Point &rOfs, const Size &rSize)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::InnerResizePixel" );
|
||||
|
||||
Size aObjSize = GetObjectShell()->GetVisArea().GetSize();
|
||||
if ( aObjSize.Width() > 0 && aObjSize.Height() > 0 )
|
||||
{
|
||||
@@ -976,8 +972,6 @@ void SmViewShell::InnerResizePixel(const Point &rOfs, const Size &rSize)
|
||||
|
||||
void SmViewShell::OuterResizePixel(const Point &rOfs, const Size &rSize)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::OuterResizePixel" );
|
||||
|
||||
SmGraphicWindow &rWin = GetGraphicWindow();
|
||||
rWin.SetPosSizePixel(rOfs, rSize);
|
||||
if (GetDoc()->IsPreview())
|
||||
@@ -988,16 +982,12 @@ void SmViewShell::OuterResizePixel(const Point &rOfs, const Size &rSize)
|
||||
|
||||
void SmViewShell::QueryObjAreaPixel( Rectangle& rRect ) const
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::QueryObjAreaPixel" );
|
||||
|
||||
rRect.SetSize( GetGraphicWindow().GetSizePixel() );
|
||||
}
|
||||
|
||||
|
||||
void SmViewShell::SetZoomFactor( const Fraction &rX, const Fraction &rY )
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::SetZoomFactor" );
|
||||
|
||||
const Fraction &rFrac = rX < rY ? rX : rY;
|
||||
GetGraphicWindow().SetZoom( (sal_uInt16) long(rFrac * Fraction( 100, 1 )) );
|
||||
|
||||
@@ -1009,8 +999,6 @@ void SmViewShell::SetZoomFactor( const Fraction &rX, const Fraction &rY )
|
||||
|
||||
Size SmViewShell::GetTextLineSize(OutputDevice& rDevice, const OUString& rLine)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::GetTextLineSize" );
|
||||
|
||||
Size aSize(rDevice.GetTextWidth(rLine), rDevice.GetTextHeight());
|
||||
sal_uInt16 nTabs = comphelper::string::getTokenCount(rLine, '\t');
|
||||
long nTabPos = 0;
|
||||
@@ -1039,8 +1027,6 @@ Size SmViewShell::GetTextLineSize(OutputDevice& rDevice, const OUString& rLine)
|
||||
|
||||
Size SmViewShell::GetTextSize(OutputDevice& rDevice, const OUString& rText, long MaxWidth)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::GetTextSize" );
|
||||
|
||||
Size aSize;
|
||||
Size TextSize;
|
||||
sal_uInt16 nLines = comphelper::string::getTokenCount(rText, '\n');
|
||||
@@ -1100,8 +1086,6 @@ Size SmViewShell::GetTextSize(OutputDevice& rDevice, const OUString& rText, long
|
||||
|
||||
void SmViewShell::DrawTextLine(OutputDevice& rDevice, const Point& rPosition, const OUString& rLine)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::DrawTextLine" );
|
||||
|
||||
Point aPoint (rPosition);
|
||||
|
||||
sal_uInt16 nTabs = comphelper::string::getTokenCount(rLine, '\t');
|
||||
@@ -1130,8 +1114,6 @@ void SmViewShell::DrawTextLine(OutputDevice& rDevice, const Point& rPosition, co
|
||||
|
||||
void SmViewShell::DrawText(OutputDevice& rDevice, const Point& rPosition, const OUString& rText, sal_uInt16 MaxWidth)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::DrawText" );
|
||||
|
||||
sal_uInt16 nLines = comphelper::string::getTokenCount(rText, '\n');
|
||||
Point aPoint (rPosition);
|
||||
Size aSize;
|
||||
@@ -1195,8 +1177,6 @@ void SmViewShell::Impl_Print(
|
||||
const SmPrintUIOptions &rPrintUIOptions,
|
||||
Rectangle aOutRect, Point aZeroPoint )
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::Impl_Print" );
|
||||
|
||||
const bool bIsPrintTitle = rPrintUIOptions.getBoolValue( PRTUIOPT_TITLE_ROW, true );
|
||||
const bool bIsPrintFrame = rPrintUIOptions.getBoolValue( PRTUIOPT_BORDER, true );
|
||||
const bool bIsPrintFormulaText = rPrintUIOptions.getBoolValue( PRTUIOPT_FORMULA_TEXT, true );
|
||||
@@ -1351,8 +1331,6 @@ sal_uInt16 SmViewShell::Print(SfxProgress & /*rProgress*/, sal_Bool /*bIsAPI*/)
|
||||
|
||||
SfxPrinter* SmViewShell::GetPrinter(bool bCreate)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::GetPrinter" );
|
||||
|
||||
SmDocShell *pDoc = GetDoc();
|
||||
if ( pDoc->HasPrinter() || bCreate )
|
||||
return pDoc->GetPrinter();
|
||||
@@ -1362,7 +1340,6 @@ SfxPrinter* SmViewShell::GetPrinter(bool bCreate)
|
||||
|
||||
sal_uInt16 SmViewShell::SetPrinter(SfxPrinter *pNewPrinter, sal_uInt16 nDiffFlags, bool )
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::SetPrinter" );
|
||||
SfxPrinter *pOld = GetDoc()->GetPrinter();
|
||||
if ( pOld && pOld->IsPrinting() )
|
||||
return SFX_PRINTERROR_BUSY;
|
||||
@@ -1386,16 +1363,12 @@ bool SmViewShell::HasPrintOptionsPage() const
|
||||
SfxTabPage* SmViewShell::CreatePrintOptionsPage(Window *pParent,
|
||||
const SfxItemSet &rOptions)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::CreatePrintOptionsPage" );
|
||||
|
||||
return SmPrintOptionsTabPage::Create(pParent, rOptions);
|
||||
}
|
||||
|
||||
|
||||
SmEditWindow *SmViewShell::GetEditWindow()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::GetEditWindow" );
|
||||
|
||||
SmCmdBoxWrapper *pWrapper = (SmCmdBoxWrapper *) GetViewFrame()->
|
||||
GetChildWindow( SmCmdBoxWrapper::GetChildWindowId() );
|
||||
|
||||
@@ -1412,8 +1385,6 @@ SmEditWindow *SmViewShell::GetEditWindow()
|
||||
|
||||
void SmViewShell::SetStatusText(const OUString& rText)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::SetStatusText" );
|
||||
|
||||
aStatusText = rText;
|
||||
GetViewFrame()->GetBindings().Invalidate(SID_TEXTSTATUS);
|
||||
}
|
||||
@@ -1421,8 +1392,6 @@ void SmViewShell::SetStatusText(const OUString& rText)
|
||||
|
||||
void SmViewShell::ShowError( const SmErrorDesc *pErrorDesc )
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::ShowError" );
|
||||
|
||||
SAL_WARN_IF( !GetDoc(), "starmath", "Document missing" );
|
||||
if (pErrorDesc || 0 != (pErrorDesc = GetDoc()->GetParser().GetError(0)) )
|
||||
{
|
||||
@@ -1435,8 +1404,6 @@ void SmViewShell::ShowError( const SmErrorDesc *pErrorDesc )
|
||||
|
||||
void SmViewShell::NextError()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::NextError" );
|
||||
|
||||
SAL_WARN_IF( !GetDoc(), "starmath", "Document missing" );
|
||||
const SmErrorDesc *pErrorDesc = GetDoc()->GetParser().NextError();
|
||||
|
||||
@@ -1447,8 +1414,6 @@ void SmViewShell::NextError()
|
||||
|
||||
void SmViewShell::PrevError()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::PrevError" );
|
||||
|
||||
SAL_WARN_IF( !GetDoc(), "starmath", "Document missing" );
|
||||
const SmErrorDesc *pErrorDesc = GetDoc()->GetParser().PrevError();
|
||||
|
||||
@@ -1459,8 +1424,6 @@ void SmViewShell::PrevError()
|
||||
|
||||
void SmViewShell::Insert( SfxMedium& rMedium )
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::Insert" );
|
||||
|
||||
SmDocShell *pDoc = GetDoc();
|
||||
bool bRet = false;
|
||||
|
||||
@@ -1499,8 +1462,6 @@ void SmViewShell::Insert( SfxMedium& rMedium )
|
||||
|
||||
void SmViewShell::InsertFrom(SfxMedium &rMedium)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::InsertFrom" );
|
||||
|
||||
bool bSuccess = false;
|
||||
SmDocShell *pDoc = GetDoc();
|
||||
SvStream *pStream = rMedium.GetInStream();
|
||||
@@ -1536,8 +1497,6 @@ void SmViewShell::InsertFrom(SfxMedium &rMedium)
|
||||
|
||||
void SmViewShell::Execute(SfxRequest& rReq)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::Execute" );
|
||||
|
||||
SmEditWindow *pWin = GetEditWindow();
|
||||
|
||||
switch (rReq.GetSlot())
|
||||
@@ -1891,8 +1850,6 @@ void SmViewShell::Execute(SfxRequest& rReq)
|
||||
|
||||
void SmViewShell::GetState(SfxItemSet &rSet)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::GetState" );
|
||||
|
||||
SfxWhichIter aIter(rSet);
|
||||
|
||||
SmEditWindow *pEditWin = GetEditWindow();
|
||||
@@ -1999,8 +1956,6 @@ SmViewShell::SmViewShell(SfxViewFrame *pFrame_, SfxViewShell *)
|
||||
, bPasteState(false)
|
||||
, bInsertIntoEditWindow(false)
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::SmViewShell" );
|
||||
|
||||
SetStatusText(OUString());
|
||||
SetWindow(&aGraphic);
|
||||
SfxShell::SetName(OUString("SmView"));
|
||||
@@ -2011,8 +1966,6 @@ SmViewShell::SmViewShell(SfxViewFrame *pFrame_, SfxViewShell *)
|
||||
|
||||
SmViewShell::~SmViewShell()
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::~SmViewShell" );
|
||||
|
||||
//!! this view shell is not active anymore !!
|
||||
// Thus 'SmGetActiveView' will give a 0 pointer.
|
||||
// Thus we need to supply this view as argument
|
||||
@@ -2024,8 +1977,6 @@ SmViewShell::~SmViewShell()
|
||||
|
||||
void SmViewShell::Deactivate( bool bIsMDIActivate )
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::Deactivate" );
|
||||
|
||||
SmEditWindow *pEdit = GetEditWindow();
|
||||
if ( pEdit )
|
||||
pEdit->Flush();
|
||||
@@ -2036,8 +1987,6 @@ void SmViewShell::Deactivate( bool bIsMDIActivate )
|
||||
|
||||
void SmViewShell::Activate( bool bIsMDIActivate )
|
||||
{
|
||||
SAL_INFO( "starmath", "SmViewShell::Activate" );
|
||||
|
||||
SfxViewShell::Activate( bIsMDIActivate );
|
||||
|
||||
SmEditWindow *pEdit = GetEditWindow();
|
||||
|
Reference in New Issue
Block a user