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
fb9908ee
Kaydet (Commit)
fb9908ee
authored
Şub 08, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use boost::noncopyable
üst
2a22e664
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
11 deletions
+9
-11
unopolypolygon.hxx
basegfx/inc/basegfx/tools/unopolypolygon.hxx
+9
-6
unopolypolygon.cxx
basegfx/source/tools/unopolypolygon.cxx
+0
-5
No files found.
basegfx/inc/basegfx/tools/unopolypolygon.hxx
Dosyayı görüntüle @
fb9908ee
...
@@ -37,6 +37,7 @@
...
@@ -37,6 +37,7 @@
#include <com/sun/star/rendering/XBezierPolyPolygon2D.hpp>
#include <com/sun/star/rendering/XBezierPolyPolygon2D.hpp>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/basegfxdllapi.h>
#include <basegfx/basegfxdllapi.h>
#include <boost/utility.hpp>
namespace
basegfx
namespace
basegfx
...
@@ -48,8 +49,10 @@ namespace unotools
...
@@ -48,8 +49,10 @@ namespace unotools
::
com
::
sun
::
star
::
rendering
::
XBezierPolyPolygon2D
,
::
com
::
sun
::
star
::
rendering
::
XBezierPolyPolygon2D
,
::
com
::
sun
::
star
::
lang
::
XServiceInfo
>
UnoPolyPolygonBase
;
::
com
::
sun
::
star
::
lang
::
XServiceInfo
>
UnoPolyPolygonBase
;
class
BASEGFX_DLLPUBLIC
UnoPolyPolygon
:
private
cppu
::
BaseMutex
,
class
BASEGFX_DLLPUBLIC
UnoPolyPolygon
public
UnoPolyPolygonBase
:
private
cppu
::
BaseMutex
,
private
boost
::
noncopyable
,
public
UnoPolyPolygonBase
{
{
public
:
public
:
explicit
UnoPolyPolygon
(
const
B2DPolyPolygon
&
);
explicit
UnoPolyPolygon
(
const
B2DPolyPolygon
&
);
...
@@ -96,15 +99,15 @@ namespace unotools
...
@@ -96,15 +99,15 @@ namespace unotools
sal_Int32
nNumberOfPoints
)
const
;
sal_Int32
nNumberOfPoints
)
const
;
/// Get cow copy of internal polygon. not thread-safe outside this object.
/// Get cow copy of internal polygon. not thread-safe outside this object.
B2DPolyPolygon
getPolyPolygonUnsafe
()
const
;
B2DPolyPolygon
getPolyPolygonUnsafe
()
const
{
return
maPolyPoly
;
}
/// Called whenever internal polypolygon gets modified
/// Called whenever internal polypolygon gets modified
virtual
void
modifying
()
const
{}
virtual
void
modifying
()
const
{}
private
:
private
:
UnoPolyPolygon
(
const
UnoPolyPolygon
&
);
UnoPolyPolygon
&
operator
=
(
const
UnoPolyPolygon
&
);
B2DPolyPolygon
maPolyPoly
;
B2DPolyPolygon
maPolyPoly
;
::
com
::
sun
::
star
::
rendering
::
FillRule
meFillRule
;
::
com
::
sun
::
star
::
rendering
::
FillRule
meFillRule
;
};
};
...
...
basegfx/source/tools/unopolypolygon.cxx
Dosyayı görüntüle @
fb9908ee
...
@@ -445,11 +445,6 @@ namespace unotools
...
@@ -445,11 +445,6 @@ namespace unotools
return
aSubsetPoly
;
return
aSubsetPoly
;
}
}
B2DPolyPolygon
UnoPolyPolygon
::
getPolyPolygonUnsafe
()
const
{
return
maPolyPoly
;
}
#define IMPLEMENTATION_NAME "gfx::internal::UnoPolyPolygon"
#define IMPLEMENTATION_NAME "gfx::internal::UnoPolyPolygon"
#define SERVICE_NAME "com.sun.star.rendering.PolyPolygon2D"
#define SERVICE_NAME "com.sun.star.rendering.PolyPolygon2D"
::
rtl
::
OUString
SAL_CALL
UnoPolyPolygon
::
getImplementationName
()
throw
(
uno
::
RuntimeException
)
::
rtl
::
OUString
SAL_CALL
UnoPolyPolygon
::
getImplementationName
()
throw
(
uno
::
RuntimeException
)
...
...
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