Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
3fc7f4c5
Kaydet (Commit)
3fc7f4c5
authored
Agu 03, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
svx,starmath: inline some use-once typedefs
Change-Id: I5a7405d326b7258cbed476c30f88e57559b4cc8e
üst
9e6b5018
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
34 additions
and
67 deletions
+34
-67
error.hxx
starmath/inc/error.hxx
+0
-4
node.hxx
starmath/inc/node.hxx
+0
-1
parse.hxx
starmath/inc/parse.hxx
+2
-2
parse.cxx
starmath/source/parse.cxx
+2
-2
testintrosp.cxx
stoc/test/testintrosp.cxx
+2
-6
poolio.hxx
svl/source/inc/poolio.hxx
+2
-3
AccessibleFrameSelector.cxx
svx/source/accessibility/AccessibleFrameSelector.cxx
+19
-29
scene3d.cxx
svx/source/engine3d/scene3d.cxx
+1
-6
fmundo.cxx
svx/source/form/fmundo.cxx
+1
-2
fmshimp.hxx
svx/source/inc/fmshimp.hxx
+2
-4
celltypes.hxx
svx/source/table/celltypes.hxx
+0
-2
tablemodel.hxx
svx/source/table/tablemodel.hxx
+2
-2
tablertfimporter.cxx
svx/source/table/tablertfimporter.cxx
+1
-4
No files found.
starmath/inc/error.hxx
Dosyayı görüntüle @
3fc7f4c5
...
...
@@ -21,8 +21,6 @@
#include <rtl/ustring.hxx>
#include <boost/ptr_container/ptr_vector.hpp>
class
SmNode
;
enum
SmParseError
...
...
@@ -48,8 +46,6 @@ struct SmErrorDesc
OUString
Text
;
};
typedef
boost
::
ptr_vector
<
SmErrorDesc
>
SmErrDescList
;
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
starmath/inc/node.hxx
Dosyayı görüntüle @
3fc7f4c5
...
...
@@ -63,7 +63,6 @@ class SmStructureNode;
typedef
std
::
shared_ptr
<
SmNode
>
SmNodePointer
;
typedef
boost
::
ptr_deque
<
SmNode
>
SmNodeStack
;
typedef
std
::
vector
<
SmNode
*
>
SmNodeArray
;
typedef
std
::
vector
<
SmStructureNode
*
>
SmStructureNodeArray
;
template
<
typename
T
>
T
*
popOrZero
(
boost
::
ptr_deque
<
T
>
&
rStack
)
...
...
starmath/inc/parse.hxx
Dosyayı görüntüle @
3fc7f4c5
...
...
@@ -20,8 +20,8 @@
#define INCLUDED_STARMATH_INC_PARSE_HXX
#include <vcl/svapp.hxx>
#include <set>
#include <boost/ptr_container/ptr_vector.hpp>
#include "types.hxx"
#include "token.hxx"
...
...
@@ -33,7 +33,7 @@ class SmParser
OUString
m_aBufferString
;
SmToken
m_aCurToken
;
SmNodeStack
m_aNodeStack
;
SmErrDescList
m_aErrDescList
;
boost
::
ptr_vector
<
SmErrorDesc
>
m_aErrDescList
;
int
m_nCurError
;
LanguageType
m_nLang
;
sal_Int32
m_nBufferIndex
,
...
...
starmath/source/parse.cxx
Dosyayı görüntüle @
3fc7f4c5
...
...
@@ -1523,8 +1523,8 @@ void SmParser::DoTerm(bool bGroupNumberIdent)
}
else
if
(
TokenInGroup
(
TGATTRIBUT
)
||
TokenInGroup
(
TGFONTATTR
))
{
SmStructureNodeArray
aArray
;
{
std
::
vector
<
SmStructureNode
*
>
aArray
;
bool
bIsAttr
;
sal_uInt16
n
=
0
;
while
(
(
bIsAttr
=
TokenInGroup
(
TGATTRIBUT
))
...
...
stoc/test/testintrosp.cxx
Dosyayı görüntüle @
3fc7f4c5
...
...
@@ -54,10 +54,6 @@ using namespace css::beans::PropertyAttribute;
typedef
WeakImplHelper4
<
XIntroTest
,
XPropertySet
,
XNameAccess
,
XIndexAccess
>
ImplIntroTestHelper
;
typedef
WeakImplHelper1
<
XPropertySetInfo
>
ImplPropertySetInfoHelper
;
#define DEFAULT_INDEX_ACCESS_COUNT 10
#define DEFAULT_NAME_ACCESS_COUNT 5
...
...
@@ -176,7 +172,7 @@ OUString AnyToString( const Any& aValue, sal_Bool bIncludeType, const Reference<
// XPropertySetInfo for test class
class
ImplPropertySetInfo
:
public
ImplPropertySetInfoHelper
class
ImplPropertySetInfo
:
public
WeakImplHelper1
<
XPropertySetInfo
>
{
friend
class
ImplIntroTest
;
...
...
@@ -257,7 +253,7 @@ sal_Bool ImplPropertySetInfo::hasPropertyByName(const OUString& Name)
}
class
ImplIntroTest
:
public
ImplIntroTestHelper
class
ImplIntroTest
:
public
WeakImplHelper4
<
XIntroTest
,
XPropertySet
,
XNameAccess
,
XIndexAccess
>
{
Reference
<
XMultiServiceFactory
>
mxMgr
;
...
...
svl/source/inc/poolio.hxx
Dosyayı görüntüle @
3fc7f4c5
...
...
@@ -61,7 +61,6 @@ struct SfxPoolVersion_Impl
typedef
std
::
vector
<
SfxPoolItem
*>
SfxPoolItemArrayBase_Impl
;
typedef
boost
::
shared_ptr
<
SfxPoolVersion_Impl
>
SfxPoolVersion_ImplPtr
;
typedef
std
::
deque
<
SfxPoolVersion_ImplPtr
>
SfxPoolVersionArr_Impl
;
/**
* This array contains a set of SfxPoolItems, if those items are
...
...
@@ -90,14 +89,14 @@ struct SfxItemPool_Impl
{
SfxBroadcaster
aBC
;
std
::
vector
<
SfxPoolItemArray_Impl
*>
maPoolItems
;
std
::
vector
<
SfxItemPoolUser
*>
maSfxItemPoolUsers
;
/// ObjectUser section
std
::
vector
<
SfxItemPoolUser
*>
maSfxItemPoolUsers
;
/// ObjectUser section
OUString
aName
;
SfxPoolItem
**
ppPoolDefaults
;
SfxPoolItem
**
ppStaticDefaults
;
SfxItemPool
*
mpMaster
;
SfxItemPool
*
mpSecondary
;
sal_uInt16
*
mpPoolRanges
;
SfxPoolVersionArr_Impl
aVersions
;
std
::
deque
<
SfxPoolVersion_ImplPtr
>
aVersions
;
sal_uInt16
mnStart
;
sal_uInt16
mnEnd
;
sal_uInt16
mnFileFormatVersion
;
...
...
svx/source/accessibility/AccessibleFrameSelector.cxx
Dosyayı görüntüle @
3fc7f4c5
...
...
@@ -55,16 +55,6 @@ using ::com::sun::star::awt::XFocusListener;
using
namespace
::
com
::
sun
::
star
::
accessibility
;
namespace
AwtKey
=
::
com
::
sun
::
star
::
awt
::
Key
;
namespace
AwtKeyModifier
=
::
com
::
sun
::
star
::
awt
::
KeyModifier
;
namespace
AwtFocusChangeReason
=
::
com
::
sun
::
star
::
awt
::
FocusChangeReason
;
typedef
::
com
::
sun
::
star
::
awt
::
Point
AwtPoint
;
typedef
::
com
::
sun
::
star
::
awt
::
Size
AwtSize
;
typedef
::
com
::
sun
::
star
::
awt
::
Rectangle
AwtRectangle
;
typedef
::
com
::
sun
::
star
::
awt
::
FocusEvent
AwtFocusEvent
;
AccFrameSelector
::
AccFrameSelector
(
FrameSelector
&
rFrameSel
,
FrameBorderType
eBorder
)
:
Resource
(
SVX_RES
(
RID_SVXSTR_BORDER_CONTROL
)
),
...
...
@@ -270,7 +260,7 @@ Locale AccFrameSelector::getLocale( )
return
Application
::
GetSettings
().
GetUILanguageTag
().
getLocale
();
}
sal_Bool
AccFrameSelector
::
containsPoint
(
const
Awt
Point
&
aPt
)
sal_Bool
AccFrameSelector
::
containsPoint
(
const
css
::
awt
::
Point
&
aPt
)
throw
(
RuntimeException
,
std
::
exception
)
{
SolarMutexGuard
aGuard
;
...
...
@@ -280,7 +270,7 @@ sal_Bool AccFrameSelector::containsPoint( const AwtPoint& aPt )
}
Reference
<
XAccessible
>
AccFrameSelector
::
getAccessibleAtPoint
(
const
Awt
Point
&
aPt
)
const
css
::
awt
::
Point
&
aPt
)
throw
(
RuntimeException
,
std
::
exception
)
{
SolarMutexGuard
aGuard
;
...
...
@@ -289,7 +279,7 @@ Reference< XAccessible > AccFrameSelector::getAccessibleAtPoint(
return
mpFrameSel
->
GetChildAccessible
(
Point
(
aPt
.
X
,
aPt
.
Y
)
);
}
Awt
Rectangle
AccFrameSelector
::
getBounds
(
)
throw
(
RuntimeException
,
std
::
exception
)
css
::
awt
::
Rectangle
AccFrameSelector
::
getBounds
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SolarMutexGuard
aGuard
;
IsValid
();
...
...
@@ -306,7 +296,7 @@ AwtRectangle AccFrameSelector::getBounds( ) throw (RuntimeException, std::excep
aPos
=
aSpot
.
TopLeft
();
aSz
=
aSpot
.
GetSize
();
}
Awt
Rectangle
aRet
;
css
::
awt
::
Rectangle
aRet
;
aRet
.
X
=
aPos
.
X
();
aRet
.
Y
=
aPos
.
Y
();
aRet
.
Width
=
aSz
.
Width
();
...
...
@@ -316,7 +306,7 @@ AwtRectangle AccFrameSelector::getBounds( ) throw (RuntimeException, std::excep
Awt
Point
AccFrameSelector
::
getLocation
(
)
throw
(
RuntimeException
,
std
::
exception
)
css
::
awt
::
Point
AccFrameSelector
::
getLocation
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SolarMutexGuard
aGuard
;
IsValid
();
...
...
@@ -330,13 +320,13 @@ AwtPoint AccFrameSelector::getLocation( ) throw (RuntimeException, std::excepti
const
Rectangle
aSpot
=
mpFrameSel
->
GetClickBoundRect
(
meBorder
);
aPos
=
aSpot
.
TopLeft
();
}
Awt
Point
aRet
(
aPos
.
X
(),
aPos
.
Y
());
css
::
awt
::
Point
aRet
(
aPos
.
X
(),
aPos
.
Y
());
return
aRet
;
}
Awt
Point
AccFrameSelector
::
getLocationOnScreen
(
)
throw
(
RuntimeException
,
std
::
exception
)
css
::
awt
::
Point
AccFrameSelector
::
getLocationOnScreen
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SolarMutexGuard
aGuard
;
IsValid
();
...
...
@@ -351,13 +341,13 @@ AwtPoint AccFrameSelector::getLocationOnScreen( ) throw (RuntimeException, std:
aPos
=
aSpot
.
TopLeft
();
}
aPos
=
mpFrameSel
->
OutputToAbsoluteScreenPixel
(
aPos
);
Awt
Point
aRet
(
aPos
.
X
(),
aPos
.
Y
());
css
::
awt
::
Point
aRet
(
aPos
.
X
(),
aPos
.
Y
());
return
aRet
;
}
Awt
Size
AccFrameSelector
::
getSize
(
)
throw
(
RuntimeException
,
std
::
exception
)
css
::
awt
::
Size
AccFrameSelector
::
getSize
(
)
throw
(
RuntimeException
,
std
::
exception
)
{
SolarMutexGuard
aGuard
;
IsValid
();
...
...
@@ -371,7 +361,7 @@ AwtSize AccFrameSelector::getSize( ) throw (RuntimeException, std::exception)
const
Rectangle
aSpot
=
mpFrameSel
->
GetClickBoundRect
(
meBorder
);
aSz
=
aSpot
.
GetSize
();
}
Awt
Size
aRet
(
aSz
.
Width
(),
aSz
.
Height
());
css
::
awt
::
Size
aRet
(
aSz
.
Width
(),
aSz
.
Height
());
return
aRet
;
}
...
...
@@ -457,28 +447,28 @@ void AccFrameSelector::IsValid() throw (RuntimeException)
throw
RuntimeException
();
}
void
AccFrameSelector
::
NotifyFocusListeners
(
bool
bGetFocus
)
void
AccFrameSelector
::
NotifyFocusListeners
(
bool
bGetFocus
)
{
SolarMutexGuard
aGuard
;
Awt
FocusEvent
aEvent
;
css
::
awt
::
FocusEvent
aEvent
;
aEvent
.
FocusFlags
=
0
;
if
(
bGetFocus
)
{
GetFocusFlags
nFocusFlags
=
mpFrameSel
->
GetGetFocusFlags
();
if
(
nFocusFlags
&
GetFocusFlags
::
Tab
)
aEvent
.
FocusFlags
|=
Awt
FocusChangeReason
::
TAB
;
aEvent
.
FocusFlags
|=
css
::
awt
::
FocusChangeReason
::
TAB
;
if
(
nFocusFlags
&
GetFocusFlags
::
CURSOR
)
aEvent
.
FocusFlags
|=
Awt
FocusChangeReason
::
CURSOR
;
aEvent
.
FocusFlags
|=
css
::
awt
::
FocusChangeReason
::
CURSOR
;
if
(
nFocusFlags
&
GetFocusFlags
::
Mnemonic
)
aEvent
.
FocusFlags
|=
Awt
FocusChangeReason
::
MNEMONIC
;
aEvent
.
FocusFlags
|=
css
::
awt
::
FocusChangeReason
::
MNEMONIC
;
if
(
nFocusFlags
&
GetFocusFlags
::
Forward
)
aEvent
.
FocusFlags
|=
Awt
FocusChangeReason
::
FORWARD
;
aEvent
.
FocusFlags
|=
css
::
awt
::
FocusChangeReason
::
FORWARD
;
if
(
nFocusFlags
&
GetFocusFlags
::
Backward
)
aEvent
.
FocusFlags
|=
Awt
FocusChangeReason
::
BACKWARD
;
aEvent
.
FocusFlags
|=
css
::
awt
::
FocusChangeReason
::
BACKWARD
;
if
(
nFocusFlags
&
GetFocusFlags
::
Around
)
aEvent
.
FocusFlags
|=
Awt
FocusChangeReason
::
AROUND
;
aEvent
.
FocusFlags
|=
css
::
awt
::
FocusChangeReason
::
AROUND
;
if
(
nFocusFlags
&
GetFocusFlags
::
UniqueMnemonic
)
aEvent
.
FocusFlags
|=
Awt
FocusChangeReason
::
UNIQUEMNEMONIC
;
aEvent
.
FocusFlags
|=
css
::
awt
::
FocusChangeReason
::
UNIQUEMNEMONIC
;
}
aEvent
.
Temporary
=
sal_False
;
...
...
svx/source/engine3d/scene3d.cxx
Dosyayı görüntüle @
3fc7f4c5
...
...
@@ -106,14 +106,9 @@ bool ImpRemap3DDepth::operator<(const ImpRemap3DDepth& rComp) const
}
}
// typedefs for a vector of ImpRemap3DDepths
typedef
::
std
::
vector
<
ImpRemap3DDepth
>
ImpRemap3DDepthVector
;
class
Imp3DDepthRemapper
{
ImpRemap3DDepthVector
maVector
;
std
::
vector
<
ImpRemap3DDepth
>
maVector
;
public
:
explicit
Imp3DDepthRemapper
(
E3dScene
&
rScene
);
...
...
svx/source/form/fmundo.cxx
Dosyayı görüntüle @
3fc7f4c5
...
...
@@ -75,8 +75,7 @@ using namespace ::dbtools;
#include <comphelper/processfactory.hxx>
#include <cppuhelper/implbase1.hxx>
typedef
cppu
::
WeakImplHelper1
<
XScriptListener
>
ScriptEventListener_BASE
;
class
ScriptEventListenerWrapper
:
public
ScriptEventListener_BASE
class
ScriptEventListenerWrapper
:
public
cppu
::
WeakImplHelper1
<
XScriptListener
>
{
public
:
explicit
ScriptEventListenerWrapper
(
FmFormModel
&
_rModel
)
throw
(
RuntimeException
)
...
...
svx/source/inc/fmshimp.hxx
Dosyayı görüntüle @
3fc7f4c5
...
...
@@ -64,7 +64,6 @@
#include <vector>
#include <boost/ptr_container/ptr_vector.hpp>
typedef
std
::
vector
<
SdrObject
*>
SdrObjArray
;
typedef
std
::
vector
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
form
::
XForm
>
>
FmFormArray
;
// catch database exceptions if they occur
...
...
@@ -164,7 +163,7 @@ class SVX_DLLPUBLIC FmXFormShell : public FmXFormShell_BASE
// timer for delayed mark
Timer
m_aMarkTimer
;
SdrObjArray
m_arrSearchedControls
;
std
::
vector
<
SdrObject
*>
m_arrSearchedControls
;
// We enable a permanent cursor for the grid we found a searched text, it's disabled in the next "found" event.
FmFormArray
m_aSearchForms
;
...
...
@@ -569,11 +568,10 @@ public:
};
typedef
boost
::
ptr_vector
<
SfxStatusForwarder
>
StatusForwarderArray
;
class
SVX_DLLPUBLIC
ControlConversionMenuController
:
public
SfxMenuControl
{
protected
:
StatusForwarderArray
m_aStatusForwarders
;
boost
::
ptr_vector
<
SfxStatusForwarder
>
m_aStatusForwarders
;
Menu
*
m_pMainMenu
;
PopupMenu
*
m_pConversionMenu
;
...
...
svx/source/table/celltypes.hxx
Dosyayı görüntüle @
3fc7f4c5
...
...
@@ -35,8 +35,6 @@ typedef rtl::Reference< Cell > CellRef;
typedef
rtl
::
Reference
<
TableModel
>
TableModelRef
;
typedef
rtl
::
Reference
<
TableRow
>
TableRowRef
;
typedef
rtl
::
Reference
<
TableColumn
>
TableColumnRef
;
typedef
rtl
::
Reference
<
TableRows
>
TableRowsRef
;
typedef
rtl
::
Reference
<
TableColumns
>
TableColumnsRef
;
typedef
std
::
vector
<
CellRef
>
CellVector
;
typedef
std
::
vector
<
TableRowRef
>
RowVector
;
typedef
std
::
vector
<
TableColumnRef
>
ColumnVector
;
...
...
svx/source/table/tablemodel.hxx
Dosyayı görüntüle @
3fc7f4c5
...
...
@@ -169,8 +169,8 @@ private:
RowVector
maRows
;
ColumnVector
maColumns
;
TableColumnsRef
mxTableColumns
;
TableRowsRef
mxTableRows
;
rtl
::
Reference
<
TableColumns
>
mxTableColumns
;
rtl
::
Reference
<
TableRows
>
mxTableRows
;
SdrTableObj
*
mpTableObj
;
...
...
svx/source/table/tablertfimporter.cxx
Dosyayı görüntüle @
3fc7f4c5
...
...
@@ -75,8 +75,6 @@ typedef std::vector< RTFCellInfoPtr > RTFColumnVector;
typedef
boost
::
shared_ptr
<
RTFColumnVector
>
RTFColumnVectorPtr
;
typedef
std
::
vector
<
RTFColumnVectorPtr
>
RTFRowVector
;
class
SdrTableRTFParser
{
public
:
...
...
@@ -115,8 +113,7 @@ private:
sal_Int32
mnColMax
;
std
::
vector
<
sal_Int32
>
maColumnEdges
;
RTFRowVector
maRows
;
std
::
vector
<
RTFColumnVectorPtr
>
maRows
;
RTFCellDefault
*
mpInsDefault
;
RTFCellDefault
*
mpActDefault
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment