From 1a777329e8a49bc4b2cf9c0e60397588197c3ca7 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 30 Aug 2011 09:23:55 +0100 Subject: regenerate list --- lotuswordpro/source/filter/xfilter/xfcell.cxx | 16 --------------- lotuswordpro/source/filter/xfilter/xfcell.hxx | 5 ----- lotuswordpro/source/filter/xfilter/xflist.cxx | 8 -------- lotuswordpro/source/filter/xfilter/xflist.hxx | 5 ----- .../source/filter/xfilter/xftextcontent.cxx | 5 ----- .../source/filter/xfilter/xftextcontent.hxx | 6 ------ .../accessibility/AccessibleDrawDocumentView.cxx | 23 ++++++++++------------ .../ui/accessibility/AccessibleOutlineView.cxx | 4 ++-- .../accessibility/AccessibleSlideSorterObject.cxx | 4 ---- .../ui/accessibility/AccessibleSlideSorterView.cxx | 3 --- .../ui/accessibility/AccessibleViewForwarder.cxx | 3 --- sd/source/ui/accessibility/SdShapeTypes.cxx | 2 +- 12 files changed, 13 insertions(+), 71 deletions(-) diff --git a/lotuswordpro/source/filter/xfilter/xfcell.cxx b/lotuswordpro/source/filter/xfilter/xfcell.cxx index 3c8aa8b8ce36..be319ca7863a 100644 --- a/lotuswordpro/source/filter/xfilter/xfcell.cxx +++ b/lotuswordpro/source/filter/xfilter/xfcell.cxx @@ -169,22 +169,6 @@ void XFCell::SetValue(rtl::OUString value) { m_eValueType = enumXFValueTypeFloat; m_strValue = value; - - //Reset(); - //XFParagraph *pPara = new XFParagraph(); - //pPara->Add(m_strValue); - //XFContentContainer::Add(pPara); -} - -void XFCell::SetPercent(rtl::OUString percent) -{ - m_eValueType = enumXFValueTypePercentage; - m_strValue = percent; - - Reset(); - XFParagraph *pPara = new XFParagraph(); - pPara->Add(m_strValue); - XFContentContainer::Add(pPara); } rtl::OUString XFCell::GetCellName() diff --git a/lotuswordpro/source/filter/xfilter/xfcell.hxx b/lotuswordpro/source/filter/xfilter/xfcell.hxx index dff91bad6074..f63b3c892cfe 100644 --- a/lotuswordpro/source/filter/xfilter/xfcell.hxx +++ b/lotuswordpro/source/filter/xfilter/xfcell.hxx @@ -110,11 +110,6 @@ public: */ void SetValue(rtl::OUString value); - /** - * @descr Set cell as a percent value with value percent. - */ - void SetPercent(rtl::OUString percent); - /** * @descr Set cell formula. */ diff --git a/lotuswordpro/source/filter/xfilter/xflist.cxx b/lotuswordpro/source/filter/xfilter/xflist.cxx index b24b35399546..cbfa2b1e49f7 100644 --- a/lotuswordpro/source/filter/xfilter/xflist.cxx +++ b/lotuswordpro/source/filter/xfilter/xflist.cxx @@ -73,14 +73,6 @@ XFList::~XFList() { } -void XFList::AddItem(XFListItem *pItem) -{ - assert(pItem); - assert(pItem->GetContentType()!=enumXFContentUnknown); - - Add(pItem); -} - void XFList::ToXml(IXFStream *pStrm) { IXFAttrList *pAttrList = pStrm->GetAttrList(); diff --git a/lotuswordpro/source/filter/xfilter/xflist.hxx b/lotuswordpro/source/filter/xfilter/xflist.hxx index 51e838fb1a64..76999f0e3742 100644 --- a/lotuswordpro/source/filter/xfilter/xflist.hxx +++ b/lotuswordpro/source/filter/xfilter/xflist.hxx @@ -87,11 +87,6 @@ public: */ void SetContinueNumber(sal_Bool bContinueNumber=sal_False); - /** - * @descr Add a list item. - */ - void AddItem(XFListItem *pItem); - /** * @descr Output list obejct. */ diff --git a/lotuswordpro/source/filter/xfilter/xftextcontent.cxx b/lotuswordpro/source/filter/xfilter/xftextcontent.cxx index ba8b8ece6882..1f350a640e53 100644 --- a/lotuswordpro/source/filter/xfilter/xftextcontent.cxx +++ b/lotuswordpro/source/filter/xfilter/xftextcontent.cxx @@ -78,11 +78,6 @@ void XFTextContent::SetText(const rtl::OUString& text) m_strText = text; } -rtl::OUString XFTextContent::GetText() -{ - return m_strText; -} - void XFTextContent::ToXml(IXFStream *pStrm) { // pStrm->Characters(m_strText); diff --git a/lotuswordpro/source/filter/xfilter/xftextcontent.hxx b/lotuswordpro/source/filter/xfilter/xftextcontent.hxx index a885aaa80380..81908e07c758 100644 --- a/lotuswordpro/source/filter/xfilter/xftextcontent.hxx +++ b/lotuswordpro/source/filter/xfilter/xftextcontent.hxx @@ -84,12 +84,6 @@ public: */ void SetText(const rtl::OUString& text); - /** - * @descr return the content. - * @return text content. - */ - rtl::OUString GetText(); - virtual enumXFContent GetContentType(); virtual void ToXml(IXFStream *pStrm); diff --git a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx index 23613711361c..ef78810b92ef 100644 --- a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx +++ b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx @@ -300,7 +300,7 @@ void SAL_CALL AccessibleDocumentViewBase::propertyChange (rEventObject); OSL_TRACE ("AccessibleDrawDocumentView::propertyChange"); - if (rEventObject.PropertyName == OUString (RTL_CONSTASCII_USTRINGPARAM("CurrentPage"))) + if (rEventObject.PropertyName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("CurrentPage"))) { OSL_TRACE (" current page changed"); @@ -335,7 +335,7 @@ void SAL_CALL else OSL_TRACE ("View invalid"); } - else if (rEventObject.PropertyName == OUString (RTL_CONSTASCII_USTRINGPARAM("VisibleArea"))) + else if (rEventObject.PropertyName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("VisibleArea"))) { OSL_TRACE (" visible area changed"); if (mpChildrenManager != NULL) @@ -399,10 +399,10 @@ void SAL_CALL { uno::Sequence< ::rtl::OUString > aServices( xInfo->getSupportedServiceNames() ); OUString sFirstService = aServices[0]; - if (sFirstService == OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.DrawingDocumentDrawView"))) + if (sFirstService.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.drawing.DrawingDocumentDrawView"))) { if( aServices.getLength() >= 2 && - aServices[1] == OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.presentation.PresentationView"))) + aServices[1].equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.presentation.PresentationView"))) { SolarMutexGuard aGuard; @@ -415,13 +415,13 @@ void SAL_CALL sName = String( SdResId(SID_SD_A11Y_D_DRAWVIEW_N) ); } } - else if (sFirstService == OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.presentation.NotesView"))) + else if (sFirstService.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.presentation.NotesView"))) { SolarMutexGuard aGuard; sName = String( SdResId(SID_SD_A11Y_I_NOTESVIEW_N) ); } - else if (sFirstService == OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.presentation.HandoutView"))) + else if (sFirstService.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.presentation.HandoutView"))) { SolarMutexGuard aGuard; @@ -456,10 +456,10 @@ void SAL_CALL { uno::Sequence< ::rtl::OUString > aServices( xInfo->getSupportedServiceNames() ); OUString sFirstService = aServices[0]; - if (sFirstService == OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.DrawingDocumentDrawView"))) + if (sFirstService.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.drawing.DrawingDocumentDrawView"))) { if( aServices.getLength() >= 2 && - aServices[1] == OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.presentation.PresentationView"))) + aServices[1].equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.presentation.PresentationView"))) { SolarMutexGuard aGuard; @@ -472,13 +472,13 @@ void SAL_CALL sDescription = String( SdResId(SID_SD_A11Y_D_DRAWVIEW_D) ); } } - else if (sFirstService == OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.presentation.NotesView"))) + else if (sFirstService.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.presentation.NotesView"))) { SolarMutexGuard aGuard; sDescription = String( SdResId(SID_SD_A11Y_I_NOTESVIEW_D) ); } - else if (sFirstService == OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.presentation.HandoutView"))) + else if (sFirstService.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("com.sun.star.presentation.HandoutView"))) { SolarMutexGuard aGuard; @@ -732,9 +732,6 @@ void AccessibleDrawDocumentView::UpdateAccessibleName (void) SetAccessibleName (sNewName, AutomaticallyCreated); } - - - } // end of namespace accessibility /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/accessibility/AccessibleOutlineView.cxx b/sd/source/ui/accessibility/AccessibleOutlineView.cxx index cdf091e26acc..bec8f44c06cd 100644 --- a/sd/source/ui/accessibility/AccessibleOutlineView.cxx +++ b/sd/source/ui/accessibility/AccessibleOutlineView.cxx @@ -227,14 +227,14 @@ void SAL_CALL AccessibleDocumentViewBase::propertyChange (rEventObject); OSL_TRACE ("AccessibleOutlineView::propertyChange"); - if (rEventObject.PropertyName == ::rtl::OUString (RTL_CONSTASCII_USTRINGPARAM("CurrentPage"))) + if (rEventObject.PropertyName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("CurrentPage"))) { OSL_TRACE (" current page changed"); // The current page changed. Update the children accordingly. UpdateChildren(); } - else if (rEventObject.PropertyName == ::rtl::OUString (RTL_CONSTASCII_USTRINGPARAM("VisibleArea"))) + else if (rEventObject.PropertyName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("VisibleArea"))) { OSL_TRACE (" visible area changed"); diff --git a/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx b/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx index 989d12c5d4bf..b3c8a597f46e 100644 --- a/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx +++ b/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx @@ -567,9 +567,6 @@ sal_Bool AccessibleSlideSorterObject::IsDisposed (void) return (rBHelper.bDisposed || rBHelper.bInDispose); } - - - SdPage* AccessibleSlideSorterObject::GetPage (void) const { ::sd::slidesorter::model::SharedPageDescriptor pDescriptor( @@ -580,7 +577,6 @@ SdPage* AccessibleSlideSorterObject::GetPage (void) const return NULL; } - } // end of namespace ::accessibility /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx index 14a24d22afcf..514a91066b18 100644 --- a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx +++ b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx @@ -1144,9 +1144,6 @@ IMPL_LINK(AccessibleSlideSorterView::Implementation, VisibilityChangeListener, v return 1; } - - - } // end of namespace ::accessibility /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/accessibility/AccessibleViewForwarder.cxx b/sd/source/ui/accessibility/AccessibleViewForwarder.cxx index 3e59095621d7..43a22461b534 100644 --- a/sd/source/ui/accessibility/AccessibleViewForwarder.cxx +++ b/sd/source/ui/accessibility/AccessibleViewForwarder.cxx @@ -151,9 +151,6 @@ Point AccessibleViewForwarder::PixelToLogic (const Point& rPoint) const return Point(); } - - - Size AccessibleViewForwarder::PixelToLogic (const Size& rSize) const { OSL_ASSERT (mpView != NULL); diff --git a/sd/source/ui/accessibility/SdShapeTypes.cxx b/sd/source/ui/accessibility/SdShapeTypes.cxx index 731829df1cb5..b30b2fa6ebb5 100644 --- a/sd/source/ui/accessibility/SdShapeTypes.cxx +++ b/sd/source/ui/accessibility/SdShapeTypes.cxx @@ -33,7 +33,7 @@ #include "AccessiblePresentationShape.hxx" #include "AccessiblePresentationGraphicShape.hxx" #include "AccessiblePresentationOLEShape.hxx" -#include +#include namespace accessibility { -- cgit