[Libreoffice-commits] core.git: 3 commits - compilerplugins/clang include/svx sd/source svx/inc svx/source sw/source

Stephan Bergmann sbergman at redhat.com
Thu Apr 7 05:57:40 UTC 2016


 compilerplugins/clang/mergeclasses.results |    2 
 include/svx/unopage.hxx                    |    4 -
 sd/source/ui/unoidl/unopage.cxx            |    8 +-
 svx/inc/svdibrow.hxx                       |   30 +++++------
 svx/source/svdraw/svddrgm1.hxx             |    6 +-
 svx/source/svdraw/svddrgmt.cxx             |   12 ++--
 svx/source/svdraw/svdibrow.cxx             |   78 ++++++++++++++---------------
 svx/source/unodraw/unopage.cxx             |   12 ++--
 sw/source/core/unocore/unodraw.cxx         |    4 -
 9 files changed, 78 insertions(+), 78 deletions(-)

New commits:
commit b9792cb9553abb11cc3c7fb6c68a88f716b07b57
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Apr 7 07:56:44 2016 +0200

    Avoid reserved identifiers
    
    Change-Id: I63ab4de02702c6f74caa3a65f7d297e2a95a65cd

diff --git a/include/svx/unopage.hxx b/include/svx/unopage.hxx
index ebf855e..3464363 100644
--- a/include/svx/unopage.hxx
+++ b/include/svx/unopage.hxx
@@ -72,8 +72,8 @@ class SVX_DLLPUBLIC SvxDrawPage : public ::cppu::WeakAggImplHelper6< css::drawin
     SdrModel*       mpModel;
     SdrView*        mpView;
 
-    void    _SelectObjectsInView( const css::uno::Reference< css::drawing::XShapes >& aShapes, SdrPageView*   pPageView ) throw ();
-    void    _SelectObjectInView( const css::uno::Reference< css::drawing::XShape >& xShape, SdrPageView*  pPageView ) throw();
+    void    SelectObjectsInView( const css::uno::Reference< css::drawing::XShapes >& aShapes, SdrPageView*   pPageView ) throw ();
+    void    SelectObjectInView( const css::uno::Reference< css::drawing::XShape >& xShape, SdrPageView*  pPageView ) throw();
 
     virtual void disposing() throw();
 
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx
index f7f1ecc..8382605 100644
--- a/sd/source/ui/unoidl/unopage.cxx
+++ b/sd/source/ui/unoidl/unopage.cxx
@@ -1623,7 +1623,7 @@ Reference< drawing::XShape > SAL_CALL SdGenericDrawPage::combine( const Referenc
 
     SdrPageView* pPageView = mpView->ShowSdrPage( GetPage() );
 
-    _SelectObjectsInView( xShapes, pPageView );
+    SelectObjectsInView( xShapes, pPageView );
 
     mpView->CombineMarkedObjects( false );
 
@@ -1654,7 +1654,7 @@ void SAL_CALL SdGenericDrawPage::split( const Reference< drawing::XShape >& xGro
         return;
 
     SdrPageView* pPageView = mpView->ShowSdrPage( GetPage() );
-    _SelectObjectInView( xGroup, pPageView );
+    SelectObjectInView( xGroup, pPageView );
     mpView->DismantleMarkedObjects();
     mpView->HideSdrPage();
 
@@ -1674,7 +1674,7 @@ Reference< drawing::XShape > SAL_CALL SdGenericDrawPage::bind( const Reference<
 
     SdrPageView* pPageView = mpView->ShowSdrPage( GetPage() );
 
-    _SelectObjectsInView( xShapes, pPageView );
+    SelectObjectsInView( xShapes, pPageView );
 
     mpView->CombineMarkedObjects();
 
@@ -1705,7 +1705,7 @@ void SAL_CALL SdGenericDrawPage::unbind( const Reference< drawing::XShape >& xSh
         return;
 
     SdrPageView* pPageView = mpView->ShowSdrPage( GetPage() );
-    _SelectObjectInView( xShape, pPageView );
+    SelectObjectInView( xShape, pPageView );
     mpView->DismantleMarkedObjects( true );
     mpView->HideSdrPage();
 
diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx
index 6fbab3e..cdc5c17 100644
--- a/svx/source/unodraw/unopage.cxx
+++ b/svx/source/unodraw/unopage.cxx
@@ -390,9 +390,9 @@ namespace
     }
 }
 
-// ATTENTION: _SelectObjectsInView selects the css::drawing::Shapes
+// ATTENTION: SelectObjectsInView selects the css::drawing::Shapes
 // only in the given SdrPageView. It hasn't to be the visible SdrPageView.
-void SvxDrawPage::_SelectObjectsInView( const Reference< drawing::XShapes > & aShapes, SdrPageView* pPageView ) throw ()
+void SvxDrawPage::SelectObjectsInView( const Reference< drawing::XShapes > & aShapes, SdrPageView* pPageView ) throw ()
 {
     SAL_WARN_IF(!pPageView, "svx", "SdrPageView is NULL!");
     SAL_WARN_IF(!mpView, "svx", "SdrView is NULL!");
@@ -412,9 +412,9 @@ void SvxDrawPage::_SelectObjectsInView( const Reference< drawing::XShapes > & aS
     }
 }
 
-// ATTENTION: _SelectObjectInView selects the shape only in the given SdrPageView.
+// ATTENTION: SelectObjectInView selects the shape only in the given SdrPageView.
 // It hasn't to be the visible SdrPageView.
-void SvxDrawPage::_SelectObjectInView( const Reference< drawing::XShape > & xShape, SdrPageView* pPageView ) throw()
+void SvxDrawPage::SelectObjectInView( const Reference< drawing::XShape > & xShape, SdrPageView* pPageView ) throw()
 {
     SAL_WARN_IF(!pPageView, "svx", "SdrPageView is NULL!");
     SAL_WARN_IF(!mpView, "svx", "SdrView is NULL!");
@@ -443,7 +443,7 @@ Reference< drawing::XShapeGroup > SAL_CALL SvxDrawPage::group( const Reference<
 
     SdrPageView* pPageView = mpView->ShowSdrPage( mpPage );
 
-    _SelectObjectsInView( xShapes, pPageView );
+    SelectObjectsInView( xShapes, pPageView );
 
     mpView->GroupMarked();
 
@@ -481,7 +481,7 @@ void SAL_CALL SvxDrawPage::ungroup( const Reference< drawing::XShapeGroup >& aGr
     SdrPageView* pPageView = mpView->ShowSdrPage( mpPage );
 
     Reference< drawing::XShape > xShape( aGroup, UNO_QUERY );
-    _SelectObjectInView( xShape, pPageView );
+    SelectObjectInView( xShape, pPageView );
     mpView->UnGroupMarked();
 
     mpView->HideSdrPage();
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx
index 0d3d949..fa52beb 100644
--- a/sw/source/core/unocore/unodraw.cxx
+++ b/sw/source/core/unocore/unodraw.cxx
@@ -251,7 +251,7 @@ SwFmDrawPage::~SwFmDrawPage() throw ()
 
 const SdrMarkList&  SwFmDrawPage::PreGroup(const uno::Reference< drawing::XShapes > & xShapes)
 {
-    _SelectObjectsInView( xShapes, GetPageView() );
+    SelectObjectsInView( xShapes, GetPageView() );
     const SdrMarkList& rMarkList = mpView->GetMarkedObjectList();
     return rMarkList;
 }
@@ -259,7 +259,7 @@ const SdrMarkList&  SwFmDrawPage::PreGroup(const uno::Reference< drawing::XShape
 void SwFmDrawPage::PreUnGroup(const uno::Reference< drawing::XShapeGroup >&  rShapeGroup)
 {
     uno::Reference< drawing::XShape >  xShape( rShapeGroup, uno::UNO_QUERY);
-    _SelectObjectInView( xShape, GetPageView() );
+    SelectObjectInView( xShape, GetPageView() );
 }
 
 SdrPageView*    SwFmDrawPage::GetPageView()
commit 449907b707ebcc45642dd7890f6dfd6923bfc285
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Apr 7 07:55:54 2016 +0200

    Avoid reserved identifiers
    
    Change-Id: Id04cfda67c128f038d608699285b6f5500698e04

diff --git a/svx/source/svdraw/svddrgm1.hxx b/svx/source/svdraw/svddrgm1.hxx
index 5192ad7..46f3e53 100644
--- a/svx/source/svdraw/svddrgm1.hxx
+++ b/svx/source/svdraw/svddrgm1.hxx
@@ -164,8 +164,8 @@ private:
     SdrCrookMode                eMode;
 
     // helpers for applyCurrentTransformationToPolyPolygon
-    void _MovAllPoints(basegfx::B2DPolyPolygon& rTarget);
-    void _MovCrookPoint(Point& rPnt, Point* pC1, Point* pC2);
+    void MovAllPoints(basegfx::B2DPolyPolygon& rTarget);
+    void MovCrookPoint(Point& rPnt, Point* pC1, Point* pC2);
 
 protected:
     // needs to add drag geometry to the default
@@ -195,7 +195,7 @@ private:
     bool                        bContortion;
 
     // helper for applyCurrentTransformationToPolyPolygon
-    void _MovAllPoints(basegfx::B2DPolyPolygon& rTarget);
+    void MovAllPoints(basegfx::B2DPolyPolygon& rTarget);
 
 protected:
     // needs to add drag geometry to the default
diff --git a/svx/source/svdraw/svddrgmt.cxx b/svx/source/svdraw/svddrgmt.cxx
index 0ce6a14..09ca6cb 100644
--- a/svx/source/svdraw/svddrgmt.cxx
+++ b/svx/source/svdraw/svddrgmt.cxx
@@ -2945,7 +2945,7 @@ bool SdrDragCrook::BeginSdrDrag()
     }
 }
 
-void SdrDragCrook::_MovAllPoints(basegfx::B2DPolyPolygon& rTarget)
+void SdrDragCrook::MovAllPoints(basegfx::B2DPolyPolygon& rTarget)
 {
     SdrPageView* pPV = getSdrDragView().GetSdrPageView();
 
@@ -3052,7 +3052,7 @@ void SdrDragCrook::_MovAllPoints(basegfx::B2DPolyPolygon& rTarget)
                             i++;
                         }
 
-                        _MovCrookPoint(*pPnt,pC1,pC2);
+                        MovCrookPoint(*pPnt,pC1,pC2);
                     }
                 }
             }
@@ -3062,7 +3062,7 @@ void SdrDragCrook::_MovAllPoints(basegfx::B2DPolyPolygon& rTarget)
     }
 }
 
-void SdrDragCrook::_MovCrookPoint(Point& rPnt, Point* pC1, Point* pC2)
+void SdrDragCrook::MovCrookPoint(Point& rPnt, Point* pC1, Point* pC2)
 {
     bool bVert=bVertical;
     bool bC1=pC1!=nullptr;
@@ -3326,7 +3326,7 @@ void SdrDragCrook::applyCurrentTransformationToSdrObject(SdrObject& rTarget)
 void SdrDragCrook::applyCurrentTransformationToPolyPolygon(basegfx::B2DPolyPolygon& rTarget)
 {
     // use helper derived from old stuff
-    _MovAllPoints(rTarget);
+    MovAllPoints(rTarget);
 }
 
 bool SdrDragCrook::EndSdrDrag(bool bCopy)
@@ -3483,7 +3483,7 @@ bool SdrDragDistort::BeginSdrDrag()
     }
 }
 
-void SdrDragDistort::_MovAllPoints(basegfx::B2DPolyPolygon& rTarget)
+void SdrDragDistort::MovAllPoints(basegfx::B2DPolyPolygon& rTarget)
 {
     if (bContortion)
     {
@@ -3561,7 +3561,7 @@ void SdrDragDistort::applyCurrentTransformationToSdrObject(SdrObject& rTarget)
 void SdrDragDistort::applyCurrentTransformationToPolyPolygon(basegfx::B2DPolyPolygon& rTarget)
 {
     // use helper derived from old stuff
-    _MovAllPoints(rTarget);
+    MovAllPoints(rTarget);
 }
 
 
commit 9c38c84c4840f5c4129494f713e89a7d82cb79e4
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Apr 7 07:54:52 2016 +0200

    Avoid reserved identifiers
    
    Change-Id: I438a7f28ba6bc68ec4e6244a4343e4040ab1b997

diff --git a/compilerplugins/clang/mergeclasses.results b/compilerplugins/clang/mergeclasses.results
index 26695db..4678c11 100644
--- a/compilerplugins/clang/mergeclasses.results
+++ b/compilerplugins/clang/mergeclasses.results
@@ -182,7 +182,7 @@ merge XclDebugObjCounter with XclRootData
 merge XclExpFutureRecord with XclExpChFutureRecordBase
 merge XclExpSubStream with XclExpChart
 merge XclNumFmtBuffer with XclImpNumFmtBuffer
-merge _SdrItemBrowserWindow with SdrItemBrowser
+merge SdrItemBrowserWindow with SdrItemBrowser
 merge _SfxMacroTabPage with SfxMacroTabPage
 merge abp::OModuleResourceClient with abp::OABSPilotUno
 merge accessibility::GridControlAccessibleElement with accessibility::AccessibleGridControlTableBase
diff --git a/svx/inc/svdibrow.hxx b/svx/inc/svdibrow.hxx
index 41fad87..ff0bee4 100644
--- a/svx/inc/svdibrow.hxx
+++ b/svx/inc/svdibrow.hxx
@@ -29,15 +29,15 @@ class SfxItemSet;
 class ImpItemListRow;
 class BrowserMouseEvent;
 
-class _SdrItemBrowserControl: public BrowseBox
+class SdrItemBrowserControl: public BrowseBox
 {
 friend class ImpItemEdit;
     std::vector<ImpItemListRow*> aList;
     long nAktPaintRow;
     VclPtr<Edit> pEditControl;
     OUString aWNamMerk;
-    Link<_SdrItemBrowserControl&,void> aEntryChangedHdl;
-    Link<_SdrItemBrowserControl&,void> aSetDirtyHdl;
+    Link<SdrItemBrowserControl&,void> aEntryChangedHdl;
+    Link<SdrItemBrowserControl&,void> aSetDirtyHdl;
     ImpItemListRow* pAktChangeEntry;
     long   nLastWhichOfs;
     sal_uInt16 nLastWhich;
@@ -69,8 +69,8 @@ protected:
     virtual Rectangle GetFieldCharacterBounds(sal_Int32 _nRow,sal_Int32 _nColumnPos,sal_Int32 nIndex) override;
     virtual sal_Int32 GetFieldIndexAtPoint(sal_Int32 _nRow,sal_Int32 _nColumnPos,const Point& _rPoint) override;
 public:
-    _SdrItemBrowserControl(vcl::Window* pParent, WinBits nBits=WB_3DLOOK|WB_BORDER|WB_TABSTOP);
-    virtual ~_SdrItemBrowserControl();
+    SdrItemBrowserControl(vcl::Window* pParent, WinBits nBits=WB_3DLOOK|WB_BORDER|WB_TABSTOP);
+    virtual ~SdrItemBrowserControl();
     virtual void dispose() override;
     void Clear();
     void SetAttributes(const SfxItemSet* pAttr, const SfxItemSet* p2ndSet=nullptr);
@@ -90,36 +90,36 @@ public:
 
     const ImpItemListRow* GetAktChangeEntry() const { return pAktChangeEntry; }
     OUString GetNewEntryValue() const                 { return pEditControl->GetText(); }
-    void SetEntryChangedHdl(const Link<_SdrItemBrowserControl&,void>& rLink)    { aEntryChangedHdl=rLink; }
-    void SetSetDirtyHdl(const Link<_SdrItemBrowserControl&,void>& rLink)        { aSetDirtyHdl=rLink; }
+    void SetEntryChangedHdl(const Link<SdrItemBrowserControl&,void>& rLink)    { aEntryChangedHdl=rLink; }
+    void SetSetDirtyHdl(const Link<SdrItemBrowserControl&,void>& rLink)        { aSetDirtyHdl=rLink; }
 };
 
 #define WB_STDSIZEABLEDOCKWIN  (WB_STDDOCKWIN|WB_3DLOOK|WB_CLOSEABLE|WB_SIZEMOVE)
 #define WB_STDSIZEABLEFLOATWIN (WB_STDFLOATWIN|WB_3DLOOK|WB_CLOSEABLE|WB_SIZEMOVE)
 
-class _SdrItemBrowserWindow: public FloatingWindow {
-    VclPtr<_SdrItemBrowserControl> aBrowse;
+class SdrItemBrowserWindow: public FloatingWindow {
+    VclPtr<SdrItemBrowserControl> aBrowse;
 public:
-    _SdrItemBrowserWindow(vcl::Window* pParent, WinBits nBits=WB_STDSIZEABLEDOCKWIN);
-    virtual ~_SdrItemBrowserWindow();
+    SdrItemBrowserWindow(vcl::Window* pParent, WinBits nBits=WB_STDSIZEABLEDOCKWIN);
+    virtual ~SdrItemBrowserWindow();
     virtual void dispose() override;
     virtual void Resize() override;
     virtual void GetFocus() override;
     void SetAttributes(const SfxItemSet* pAttr, const SfxItemSet* p2ndSet=nullptr) { aBrowse->SetAttributes(pAttr,p2ndSet); }
-    _SdrItemBrowserControl *GetBrowserControl() { return aBrowse.get(); }
+    SdrItemBrowserControl *GetBrowserControl() { return aBrowse.get(); }
 };
 
 class SdrView;
 
-class SdrItemBrowser: public _SdrItemBrowserWindow {
+class SdrItemBrowser: public SdrItemBrowserWindow {
     Idle aIdle;
     SdrView* pView;
     bool bDirty;
 private:
     static vcl::Window* ImpGetViewWin(SdrView& rView);
     DECL_LINK_TYPED(IdleHdl, Idle *, void);
-    DECL_LINK_TYPED(ChangedHdl, _SdrItemBrowserControl&, void);
-    DECL_LINK_TYPED(SetDirtyHdl, _SdrItemBrowserControl&, void);
+    DECL_LINK_TYPED(ChangedHdl, SdrItemBrowserControl&, void);
+    DECL_LINK_TYPED(SetDirtyHdl, SdrItemBrowserControl&, void);
 public:
     SdrItemBrowser(SdrView& rView);
     void ForceParent();
diff --git a/svx/source/svdraw/svdibrow.cxx b/svx/source/svdraw/svdibrow.cxx
index 5552483..6073806 100644
--- a/svx/source/svdraw/svdibrow.cxx
+++ b/svx/source/svdraw/svdibrow.cxx
@@ -163,10 +163,10 @@ bool ImpItemListRow::operator==(const ImpItemListRow& rEntry) const
 
 class ImpItemEdit: public Edit
 {
-    VclPtr<_SdrItemBrowserControl>     pBrowse;
+    VclPtr<SdrItemBrowserControl>     pBrowse;
 
 public:
-    ImpItemEdit(vcl::Window* pParent, _SdrItemBrowserControl* pBrowse_, WinBits nBits=0)
+    ImpItemEdit(vcl::Window* pParent, SdrItemBrowserControl* pBrowse_, WinBits nBits=0)
     :   Edit(pParent, nBits),
         pBrowse(pBrowse_)
     {}
@@ -177,7 +177,7 @@ public:
 
 void ImpItemEdit::KeyInput(const KeyEvent& rKEvt)
 {
-    _SdrItemBrowserControl* pBrowseMerk = pBrowse;
+    SdrItemBrowserControl* pBrowseMerk = pBrowse;
 
     sal_uInt16 nKeyCode(rKEvt.GetKeyCode().GetCode() + rKEvt.GetKeyCode().GetModifier());
 
@@ -201,23 +201,23 @@ void ImpItemEdit::KeyInput(const KeyEvent& rKEvt)
         Edit::KeyInput(rKEvt);
 }
 
-// - _SdrItemBrowserControl -
+// - SdrItemBrowserControl -
 
 #define MYBROWSEMODE (BrowserMode::THUMBDRAGGING|BrowserMode::KEEPHIGHLIGHT|BrowserMode::NO_HSCROLL|BrowserMode::HIDECURSOR)
 
-_SdrItemBrowserControl::_SdrItemBrowserControl(vcl::Window* pParent, WinBits nBits):
+SdrItemBrowserControl::SdrItemBrowserControl(vcl::Window* pParent, WinBits nBits):
     BrowseBox(pParent,nBits,MYBROWSEMODE),
     aList()
 {
     ImpCtor();
 }
 
-_SdrItemBrowserControl::~_SdrItemBrowserControl()
+SdrItemBrowserControl::~SdrItemBrowserControl()
 {
     disposeOnce();
 }
 
-void _SdrItemBrowserControl::dispose()
+void SdrItemBrowserControl::dispose()
 {
     pEditControl.disposeAndClear();
 
@@ -227,7 +227,7 @@ void _SdrItemBrowserControl::dispose()
     BrowseBox::dispose();
 }
 
-void _SdrItemBrowserControl::ImpCtor()
+void SdrItemBrowserControl::ImpCtor()
 {
     pEditControl = nullptr;
     pAktChangeEntry = nullptr;
@@ -278,7 +278,7 @@ void _SdrItemBrowserControl::ImpCtor()
     SetOutputSizePixel(Size(nWdt,nHgt));
 }
 
-void _SdrItemBrowserControl::Clear()
+void SdrItemBrowserControl::Clear()
 {
     const std::size_t nCount=aList.size();
     for (std::size_t nNum=0; nNum<nCount; ++nNum) {
@@ -288,18 +288,18 @@ void _SdrItemBrowserControl::Clear()
     BrowseBox::Clear();
 }
 
-long _SdrItemBrowserControl::GetRowCount() const
+long SdrItemBrowserControl::GetRowCount() const
 {
     return aList.size();
 }
 
-bool _SdrItemBrowserControl::SeekRow(long nRow)
+bool SdrItemBrowserControl::SeekRow(long nRow)
 {
     nAktPaintRow = nRow;
     return true;
 }
 
-OUString _SdrItemBrowserControl::GetCellText(long _nRow, sal_uInt16 _nColId) const
+OUString SdrItemBrowserControl::GetCellText(long _nRow, sal_uInt16 _nColId) const
 {
     OUString sRet;
     if ( _nRow >= 0 && _nRow < (sal_Int32)aList.size() )
@@ -341,7 +341,7 @@ OUString _SdrItemBrowserControl::GetCellText(long _nRow, sal_uInt16 _nColId) con
     return sRet;
 }
 
-void _SdrItemBrowserControl::PaintField(OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColumnId) const
+void SdrItemBrowserControl::PaintField(OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColumnId) const
 {
     if (nAktPaintRow<0 || static_cast<std::size_t>(nAktPaintRow)>=aList.size()) {
         return;
@@ -367,11 +367,11 @@ void _SdrItemBrowserControl::PaintField(OutputDevice& rDev, const Rectangle& rRe
     }
 }
 
-std::size_t _SdrItemBrowserControl::GetCurrentPos() const
+std::size_t SdrItemBrowserControl::GetCurrentPos() const
 {
     std::size_t nRet=ITEM_NOT_FOUND;
     if (GetSelectRowCount()==1) {
-        long nPos=static_cast<BrowseBox*>(const_cast<_SdrItemBrowserControl *>(this))->FirstSelectedRow();
+        long nPos=static_cast<BrowseBox*>(const_cast<SdrItemBrowserControl *>(this))->FirstSelectedRow();
         if (nPos>=0 && static_cast<std::size_t>(nPos)<aList.size()) {
             nRet = static_cast<std::size_t>(nPos);
         }
@@ -379,7 +379,7 @@ std::size_t _SdrItemBrowserControl::GetCurrentPos() const
     return nRet;
 }
 
-sal_uInt16 _SdrItemBrowserControl::GetCurrentWhich() const
+sal_uInt16 SdrItemBrowserControl::GetCurrentWhich() const
 {
     sal_uInt16 nRet=0;
     const std::size_t nPos=GetCurrentPos();
@@ -389,7 +389,7 @@ sal_uInt16 _SdrItemBrowserControl::GetCurrentWhich() const
     return nRet;
 }
 
-void _SdrItemBrowserControl::DoubleClick(const BrowserMouseEvent&)
+void SdrItemBrowserControl::DoubleClick(const BrowserMouseEvent&)
 {
     const std::size_t nPos=GetCurrentPos();
     if (nPos!=ITEM_NOT_FOUND) {
@@ -397,7 +397,7 @@ void _SdrItemBrowserControl::DoubleClick(const BrowserMouseEvent&)
     }
 }
 
-void _SdrItemBrowserControl::KeyInput(const KeyEvent& rKEvt)
+void SdrItemBrowserControl::KeyInput(const KeyEvent& rKEvt)
 {
     sal_uInt16 nKeyCode=rKEvt.GetKeyCode().GetCode()+rKEvt.GetKeyCode().GetModifier();
     bool bAusgewertet = false;
@@ -425,31 +425,31 @@ void _SdrItemBrowserControl::KeyInput(const KeyEvent& rKEvt)
     if (!bAusgewertet) BrowseBox::KeyInput(rKEvt);
 }
 
-void _SdrItemBrowserControl::SetDirty()
+void SdrItemBrowserControl::SetDirty()
 {
     aSetDirtyHdl.Call(*this);
 }
 
-Rectangle _SdrItemBrowserControl::GetFieldCharacterBounds(sal_Int32 /*_nRow*/,sal_Int32 /*_nColumnPos*/,sal_Int32 /*nIndex*/)
+Rectangle SdrItemBrowserControl::GetFieldCharacterBounds(sal_Int32 /*_nRow*/,sal_Int32 /*_nColumnPos*/,sal_Int32 /*nIndex*/)
 {
     // no accessibility implementation required
     return Rectangle();
 }
 
-sal_Int32 _SdrItemBrowserControl::GetFieldIndexAtPoint(sal_Int32 /*_nRow*/,sal_Int32 /*_nColumnPos*/,const Point& /*_rPoint*/)
+sal_Int32 SdrItemBrowserControl::GetFieldIndexAtPoint(sal_Int32 /*_nRow*/,sal_Int32 /*_nColumnPos*/,const Point& /*_rPoint*/)
 {
     // no accessibility implementation required
     return -1;
 }
 
-void _SdrItemBrowserControl::Select()
+void SdrItemBrowserControl::Select()
 {
     EndChangeEntry();
     BrowseBox::Select();
     ImpSaveWhich();
 }
 
-void _SdrItemBrowserControl::ImpSaveWhich()
+void SdrItemBrowserControl::ImpSaveWhich()
 {
     sal_uInt16 nWh=GetCurrentWhich();
     if (nWh!=0) {
@@ -465,7 +465,7 @@ void _SdrItemBrowserControl::ImpSaveWhich()
     }
 }
 
-void _SdrItemBrowserControl::ImpRestoreWhich()
+void SdrItemBrowserControl::ImpRestoreWhich()
 {
     if (nLastWhich!=0) {
         bool bFnd = false;
@@ -489,7 +489,7 @@ void _SdrItemBrowserControl::ImpRestoreWhich()
     }
 }
 
-bool _SdrItemBrowserControl::BeginChangeEntry(std::size_t nPos)
+bool SdrItemBrowserControl::BeginChangeEntry(std::size_t nPos)
 {
     BreakChangeEntry();
     bool bRet = false;
@@ -528,7 +528,7 @@ bool _SdrItemBrowserControl::BeginChangeEntry(std::size_t nPos)
     return bRet;
 }
 
-void _SdrItemBrowserControl::EndChangeEntry()
+void SdrItemBrowserControl::EndChangeEntry()
 {
     if (!pEditControl)
         return;
@@ -537,7 +537,7 @@ void _SdrItemBrowserControl::EndChangeEntry()
     BreakChangeEntry();
 }
 
-void _SdrItemBrowserControl::BreakChangeEntry()
+void SdrItemBrowserControl::BreakChangeEntry()
 {
     if (pEditControl!=nullptr) {
         pEditControl.disposeAndClear();
@@ -549,7 +549,7 @@ void _SdrItemBrowserControl::BreakChangeEntry()
     }
 }
 
-void _SdrItemBrowserControl::ImpSetEntry(const ImpItemListRow& rEntry, std::size_t nEntryNum)
+void SdrItemBrowserControl::ImpSetEntry(const ImpItemListRow& rEntry, std::size_t nEntryNum)
 {
     SAL_WARN_IF(nEntryNum > aList.size(), "svx", "trying to set item " << nEntryNum << "in a vector of size " << aList.size());
     if (nEntryNum >= aList.size()) {
@@ -899,7 +899,7 @@ sal_uInt16 ImpSortWhich(sal_uInt16 nWhich)
 #define INSERTCOMMENT(nStartId,nEndId,aStr) \
     { if (nWhich0<nStartId && nWhich>=nStartId && nWhich<=nEndId) aCommentStr=aStr; }
 
-void _SdrItemBrowserControl::SetAttributes(const SfxItemSet* pSet, const SfxItemSet* p2ndSet)
+void SdrItemBrowserControl::SetAttributes(const SfxItemSet* pSet, const SfxItemSet* p2ndSet)
 {
     SetMode(MYBROWSEMODE & BrowserMode(~BrowserMode::KEEPHIGHLIGHT));
     if (pSet!=nullptr) {
@@ -1037,41 +1037,41 @@ void _SdrItemBrowserControl::SetAttributes(const SfxItemSet* pSet, const SfxItem
     SetMode(MYBROWSEMODE);
 }
 
-// - _SdrItemBrowserWindow -
+// - SdrItemBrowserWindow -
 
-_SdrItemBrowserWindow::_SdrItemBrowserWindow(vcl::Window* pParent, WinBits nBits):
+SdrItemBrowserWindow::SdrItemBrowserWindow(vcl::Window* pParent, WinBits nBits):
     FloatingWindow(pParent,nBits),
-    aBrowse(VclPtr<_SdrItemBrowserControl>::Create(this))
+    aBrowse(VclPtr<SdrItemBrowserControl>::Create(this))
 {
     SetOutputSizePixel(aBrowse->GetSizePixel());
     SetText("Joe's ItemBrowser");
     aBrowse->Show();
 }
 
-_SdrItemBrowserWindow::~_SdrItemBrowserWindow()
+SdrItemBrowserWindow::~SdrItemBrowserWindow()
 {
     disposeOnce();
 }
 
-void _SdrItemBrowserWindow::dispose()
+void SdrItemBrowserWindow::dispose()
 {
     aBrowse.disposeAndClear();
     FloatingWindow::dispose();
 }
 
-void _SdrItemBrowserWindow::Resize()
+void SdrItemBrowserWindow::Resize()
 {
     aBrowse->SetSizePixel(GetOutputSizePixel());
 }
 
-void _SdrItemBrowserWindow::GetFocus()
+void SdrItemBrowserWindow::GetFocus()
 {
     aBrowse->GrabFocus();
 }
 
 
 SdrItemBrowser::SdrItemBrowser(SdrView& rView):
-    _SdrItemBrowserWindow(ImpGetViewWin(rView)),
+    SdrItemBrowserWindow(ImpGetViewWin(rView)),
     pView(&rView),
     bDirty(false)
 {
@@ -1139,7 +1139,7 @@ IMPL_LINK_NOARG_TYPED(SdrItemBrowser, IdleHdl, Idle *, void)
     Undirty();
 }
 
-IMPL_LINK_TYPED(SdrItemBrowser, ChangedHdl, _SdrItemBrowserControl&, rBrowse, void)
+IMPL_LINK_TYPED(SdrItemBrowser, ChangedHdl, SdrItemBrowserControl&, rBrowse, void)
 {
     const ImpItemListRow* pEntry = rBrowse.GetAktChangeEntry();
     if (pEntry!=nullptr)
@@ -1253,7 +1253,7 @@ IMPL_LINK_TYPED(SdrItemBrowser, ChangedHdl, _SdrItemBrowserControl&, rBrowse, vo
     }
 }
 
-IMPL_LINK_NOARG_TYPED(SdrItemBrowser, SetDirtyHdl, _SdrItemBrowserControl&, void)
+IMPL_LINK_NOARG_TYPED(SdrItemBrowser, SetDirtyHdl, SdrItemBrowserControl&, void)
 {
     SetDirty();
 }


More information about the Libreoffice-commits mailing list