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
5088ee99
Kaydet (Commit)
5088ee99
authored
Agu 03, 2015
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sd: replace boost::function with std::function
Change-Id: If70426d6d93a8c3b7c585b1c69e9b1c58643d140
üst
902d61bc
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
48 additions
and
41 deletions
+48
-41
precompiled_sd.hxx
sd/inc/pch/precompiled_sd.hxx
+0
-1
FrameworkHelper.hxx
sd/source/ui/inc/framework/FrameworkHelper.hxx
+6
-5
navigatr.hxx
sd/source/ui/inc/navigatr.hxx
+1
-1
sdtreelb.hxx
sd/source/ui/inc/sdtreelb.hxx
+0
-1
AsynchronousCall.hxx
sd/source/ui/inc/tools/AsynchronousCall.hxx
+3
-2
ConfigurationAccess.hxx
sd/source/ui/inc/tools/ConfigurationAccess.hxx
+3
-2
SlsQueueProcessor.hxx
sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx
+3
-2
SlsScrollBarManager.cxx
sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx
+2
-2
SlsVisibleAreaManager.cxx
...ource/ui/slidesorter/controller/SlsVisibleAreaManager.cxx
+1
-1
SlsAnimationFunction.hxx
...ce/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx
+4
-2
SlsAnimator.hxx
sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx
+6
-4
SlsScrollBarManager.hxx
...rce/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx
+4
-3
SlsTransferableData.hxx
...rce/ui/slidesorter/inc/controller/SlsTransferableData.hxx
+3
-2
SlsPageEnumeration.hxx
sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx
+2
-2
SlsPageEnumerationProvider.cxx
...ource/ui/slidesorter/model/SlsPageEnumerationProvider.cxx
+0
-1
SlsInsertAnimator.cxx
sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx
+5
-6
SlsLayeredDevice.cxx
sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx
+5
-4
No files found.
sd/inc/pch/precompiled_sd.hxx
Dosyayı görüntüle @
5088ee99
...
@@ -69,7 +69,6 @@
...
@@ -69,7 +69,6 @@
#include <basic/sbx.hxx>
#include <basic/sbx.hxx>
#include <boost/bind.hpp>
#include <boost/bind.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/function.hpp>
#include <boost/limits.hpp>
#include <boost/limits.hpp>
#include <boost/make_shared.hpp>
#include <boost/make_shared.hpp>
#include <boost/noncopyable.hpp>
#include <boost/noncopyable.hpp>
...
...
sd/source/ui/inc/framework/FrameworkHelper.hxx
Dosyayı görüntüle @
5088ee99
...
@@ -31,7 +31,8 @@
...
@@ -31,7 +31,8 @@
#include <boost/scoped_ptr.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/function.hpp>
#include <functional>
#include <map>
#include <map>
namespace
sd
{
namespace
sd
{
...
@@ -146,11 +147,11 @@ public:
...
@@ -146,11 +147,11 @@ public:
static
::
boost
::
shared_ptr
<
ViewShell
>
GetViewShell
(
static
::
boost
::
shared_ptr
<
ViewShell
>
GetViewShell
(
const
css
::
uno
::
Reference
<
css
::
drawing
::
framework
::
XView
>&
rxView
);
const
css
::
uno
::
Reference
<
css
::
drawing
::
framework
::
XView
>&
rxView
);
typedef
::
boost
::
function
<
bool
(
const
css
::
drawing
::
framework
::
ConfigurationChangeEvent
&
)
>
typedef
::
std
::
function
<
bool
(
const
css
::
drawing
::
framework
::
ConfigurationChangeEvent
&
)
>
ConfigurationChangeEventFilter
;
ConfigurationChangeEventFilter
;
typedef
::
boost
::
function
<
void
(
bool
bEventSeen
)
>
Callback
;
typedef
::
std
::
function
<
void
(
bool
bEventSeen
)
>
Callback
;
typedef
::
boost
::
function
<
typedef
::
std
::
function
<
void
(
void
(
const
css
::
uno
::
Reference
<
const
css
::
uno
::
Reference
<
css
::
drawing
::
framework
::
XResourceId
>&
)
css
::
drawing
::
framework
::
XResourceId
>&
)
>
ResourceFunctor
;
>
ResourceFunctor
;
...
...
sd/source/ui/inc/navigatr.hxx
Dosyayı görüntüle @
5088ee99
...
@@ -81,7 +81,7 @@ class SdNavigatorWin
...
@@ -81,7 +81,7 @@ class SdNavigatorWin
:
public
vcl
::
Window
:
public
vcl
::
Window
{
{
public
:
public
:
typedef
::
boost
::
function
<
void
()
>
UpdateRequestFunctor
;
typedef
::
std
::
function
<
void
()
>
UpdateRequestFunctor
;
/** Create a new instance of the navigator.
/** Create a new instance of the navigator.
@param bUseActiveUpdate
@param bUseActiveUpdate
...
...
sd/source/ui/inc/sdtreelb.hxx
Dosyayı görüntüle @
5088ee99
...
@@ -31,7 +31,6 @@
...
@@ -31,7 +31,6 @@
#include "sdxfer.hxx"
#include "sdxfer.hxx"
#include <vector>
#include <vector>
#include <boost/scoped_ptr.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/function.hpp>
class
SdDrawDocument
;
class
SdDrawDocument
;
class
SfxMedium
;
class
SfxMedium
;
...
...
sd/source/ui/inc/tools/AsynchronousCall.hxx
Dosyayı görüntüle @
5088ee99
...
@@ -21,8 +21,9 @@
...
@@ -21,8 +21,9 @@
#define INCLUDED_SD_SOURCE_UI_INC_TOOLS_ASYNCHRONOUSCALL_HXX
#define INCLUDED_SD_SOURCE_UI_INC_TOOLS_ASYNCHRONOUSCALL_HXX
#include <vcl/timer.hxx>
#include <vcl/timer.hxx>
#include <memory>
#include <memory>
#include <
boost/function.hpp
>
#include <
functional
>
namespace
sd
{
namespace
tools
{
namespace
sd
{
namespace
tools
{
...
@@ -63,7 +64,7 @@ public:
...
@@ -63,7 +64,7 @@ public:
The timeout in milliseconds until the function object is
The timeout in milliseconds until the function object is
executed.
executed.
*/
*/
typedef
::
boost
::
function0
<
void
>
AsynchronousFunction
;
typedef
::
std
::
function
<
void
()
>
AsynchronousFunction
;
void
Post
(
void
Post
(
const
AsynchronousFunction
&
rFunction
,
const
AsynchronousFunction
&
rFunction
,
sal_uInt32
nTimeoutInMilliseconds
=
10
);
sal_uInt32
nTimeoutInMilliseconds
=
10
);
...
...
sd/source/ui/inc/tools/ConfigurationAccess.hxx
Dosyayı görüntüle @
5088ee99
...
@@ -25,8 +25,9 @@
...
@@ -25,8 +25,9 @@
#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <vector>
#include <vector>
#include <
boost/function.hpp
>
#include <
functional
>
namespace
sd
{
namespace
tools
{
namespace
sd
{
namespace
tools
{
...
@@ -91,7 +92,7 @@ public:
...
@@ -91,7 +92,7 @@ public:
parameters are the name of key item (often of no further interest)
parameters are the name of key item (often of no further interest)
and the value of the item.
and the value of the item.
*/
*/
typedef
::
boost
::
function
<
void
(
typedef
::
std
::
function
<
void
(
const
OUString
&
,
const
OUString
&
,
const
std
::
vector
<
css
::
uno
::
Any
>&
)
>
Functor
;
const
std
::
vector
<
css
::
uno
::
Any
>&
)
>
Functor
;
...
...
sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx
Dosyayı görüntüle @
5088ee99
...
@@ -32,7 +32,8 @@
...
@@ -32,7 +32,8 @@
#include <svx/svdpagv.hxx>
#include <svx/svdpagv.hxx>
#include <vcl/svapp.hxx>
#include <vcl/svapp.hxx>
#include <vcl/timer.hxx>
#include <vcl/timer.hxx>
#include <boost/function.hpp>
#include <functional>
namespace
sd
{
namespace
slidesorter
{
namespace
view
{
namespace
sd
{
namespace
slidesorter
{
namespace
view
{
class
SlideSorterView
;
class
SlideSorterView
;
...
@@ -51,7 +52,7 @@ class RequestQueue;
...
@@ -51,7 +52,7 @@ class RequestQueue;
class
QueueProcessor
class
QueueProcessor
{
{
public
:
public
:
typedef
::
boost
::
function
<
bool
()
>
IdleDetectionCallback
;
typedef
::
std
::
function
<
bool
()
>
IdleDetectionCallback
;
QueueProcessor
(
QueueProcessor
(
RequestQueue
&
rQueue
,
RequestQueue
&
rQueue
,
const
::
boost
::
shared_ptr
<
BitmapCache
>&
rpCache
,
const
::
boost
::
shared_ptr
<
BitmapCache
>&
rpCache
,
...
...
sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx
Dosyayı görüntüle @
5088ee99
...
@@ -501,7 +501,7 @@ void ScrollBarManager::CalcAutoScrollOffset (const Point& rMouseWindowPosition)
...
@@ -501,7 +501,7 @@ void ScrollBarManager::CalcAutoScrollOffset (const Point& rMouseWindowPosition)
bool
ScrollBarManager
::
AutoScroll
(
bool
ScrollBarManager
::
AutoScroll
(
const
Point
&
rMouseWindowPosition
,
const
Point
&
rMouseWindowPosition
,
const
::
boost
::
function
<
void
()
>&
rAutoScrollFunctor
)
const
::
std
::
function
<
void
()
>&
rAutoScrollFunctor
)
{
{
maAutoScrollFunctor
=
rAutoScrollFunctor
;
maAutoScrollFunctor
=
rAutoScrollFunctor
;
CalcAutoScrollOffset
(
rMouseWindowPosition
);
CalcAutoScrollOffset
(
rMouseWindowPosition
);
...
@@ -546,7 +546,7 @@ bool ScrollBarManager::RepeatAutoScroll()
...
@@ -546,7 +546,7 @@ bool ScrollBarManager::RepeatAutoScroll()
void
ScrollBarManager
::
clearAutoScrollFunctor
()
void
ScrollBarManager
::
clearAutoScrollFunctor
()
{
{
maAutoScrollFunctor
=
::
boost
::
function
<
void
()
>
();
maAutoScrollFunctor
=
::
std
::
function
<
void
()
>
();
}
}
IMPL_LINK_NOARG_TYPED
(
ScrollBarManager
,
AutoScrollTimeoutHandler
,
Timer
*
,
void
)
IMPL_LINK_NOARG_TYPED
(
ScrollBarManager
,
AutoScrollTimeoutHandler
,
Timer
*
,
void
)
...
...
sd/source/ui/slidesorter/controller/SlsVisibleAreaManager.cxx
Dosyayı görüntüle @
5088ee99
...
@@ -43,7 +43,7 @@ namespace {
...
@@ -43,7 +43,7 @@ namespace {
SlideSorter
&
mrSlideSorter
;
SlideSorter
&
mrSlideSorter
;
Point
maStart
;
Point
maStart
;
const
Point
maEnd
;
const
Point
maEnd
;
const
::
boost
::
function
<
double
(
double
)
>
maAccelerationFunction
;
const
::
std
::
function
<
double
(
double
)
>
maAccelerationFunction
;
};
};
}
// end of anonymous namespace
}
// end of anonymous namespace
...
...
sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx
Dosyayı görüntüle @
5088ee99
...
@@ -22,8 +22,10 @@
...
@@ -22,8 +22,10 @@
#include "model/SlsSharedPageDescriptor.hxx"
#include "model/SlsSharedPageDescriptor.hxx"
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/point/b2dpoint.hxx>
#include <boost/noncopyable.hpp>
#include <boost/noncopyable.hpp>
#include <boost/function.hpp>
#include <functional>
#include <vector>
#include <vector>
namespace
sd
{
namespace
slidesorter
{
namespace
view
{
namespace
sd
{
namespace
slidesorter
{
namespace
view
{
...
@@ -65,7 +67,7 @@ private:
...
@@ -65,7 +67,7 @@ private:
class
AnimationParametricFunction
class
AnimationParametricFunction
{
{
public
:
public
:
typedef
::
boost
::
function
<
basegfx
::
B2DPoint
(
double
)
>
ParametricFunction
;
typedef
::
std
::
function
<
basegfx
::
B2DPoint
(
double
)
>
ParametricFunction
;
AnimationParametricFunction
(
const
ParametricFunction
&
rFunction
);
AnimationParametricFunction
(
const
ParametricFunction
&
rFunction
);
double
operator
()
(
const
double
nX
);
double
operator
()
(
const
double
nX
);
...
...
sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx
Dosyayı görüntüle @
5088ee99
...
@@ -26,12 +26,14 @@
...
@@ -26,12 +26,14 @@
#include <vcl/timer.hxx>
#include <vcl/timer.hxx>
#include <vcl/idle.hxx>
#include <vcl/idle.hxx>
#include <sal/types.h>
#include <sal/types.h>
#include <vector>
#include <boost/function.hpp>
#include <boost/noncopyable.hpp>
#include <boost/noncopyable.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include <functional>
#include <vector>
namespace
sd
{
namespace
slidesorter
{
namespace
controller
{
namespace
sd
{
namespace
slidesorter
{
namespace
controller
{
/** Experimental class for simple eye candy animations.
/** Experimental class for simple eye candy animations.
...
@@ -57,8 +59,8 @@ public:
...
@@ -57,8 +59,8 @@ public:
/** An animation object is called with values between 0 and 1 as single
/** An animation object is called with values between 0 and 1 as single
argument to its operator() method.
argument to its operator() method.
*/
*/
typedef
::
boost
::
function1
<
void
,
double
>
AnimationFunctor
;
typedef
::
std
::
function
<
void
(
double
)
>
AnimationFunctor
;
typedef
::
boost
::
function0
<
void
>
FinishFunctor
;
typedef
::
std
::
function
<
void
()
>
FinishFunctor
;
typedef
sal_Int32
AnimationId
;
typedef
sal_Int32
AnimationId
;
static
const
AnimationId
NotAnAnimationId
=
-
1
;
static
const
AnimationId
NotAnAnimationId
=
-
1
;
...
...
sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx
Dosyayı görüntüle @
5088ee99
...
@@ -25,7 +25,8 @@
...
@@ -25,7 +25,8 @@
#include <tools/link.hxx>
#include <tools/link.hxx>
#include <tools/gen.hxx>
#include <tools/gen.hxx>
#include <vcl/timer.hxx>
#include <vcl/timer.hxx>
#include <boost/function.hpp>
#include <functional>
class
ScrollBar
;
class
ScrollBar
;
class
ScrollBarBox
;
class
ScrollBarBox
;
...
@@ -144,7 +145,7 @@ public:
...
@@ -144,7 +145,7 @@ public:
*/
*/
bool
AutoScroll
(
bool
AutoScroll
(
const
Point
&
rMouseWindowPosition
,
const
Point
&
rMouseWindowPosition
,
const
::
boost
::
function
<
void
()
>&
rAutoScrollFunctor
);
const
::
std
::
function
<
void
()
>&
rAutoScrollFunctor
);
void
StopAutoScroll
();
void
StopAutoScroll
();
...
@@ -207,7 +208,7 @@ private:
...
@@ -207,7 +208,7 @@ private:
*/
*/
VclPtr
<
sd
::
Window
>
mpContentWindow
;
VclPtr
<
sd
::
Window
>
mpContentWindow
;
::
boost
::
function
<
void
()
>
maAutoScrollFunctor
;
::
std
::
function
<
void
()
>
maAutoScrollFunctor
;
void
SetWindowOrigin
(
void
SetWindowOrigin
(
double
nHorizontalPosition
,
double
nHorizontalPosition
,
...
...
sd/source/ui/slidesorter/inc/controller/SlsTransferableData.hxx
Dosyayı görüntüle @
5088ee99
...
@@ -21,8 +21,9 @@
...
@@ -21,8 +21,9 @@
#define INCLUDED_SD_SOURCE_UI_SLIDESORTER_INC_CONTROLLER_SLSTRANSFERABLEDATA_HXX
#define INCLUDED_SD_SOURCE_UI_SLIDESORTER_INC_CONTROLLER_SLSTRANSFERABLEDATA_HXX
#include "sdxfer.hxx"
#include "sdxfer.hxx"
#include <boost/function.hpp>
#include <vector>
#include <vector>
#include <functional>
class
SdDrawDocument
;
class
SdDrawDocument
;
namespace
sd
{
namespace
slidesorter
{
namespace
sd
{
namespace
slidesorter
{
...
@@ -78,7 +79,7 @@ public:
...
@@ -78,7 +79,7 @@ public:
private
:
private
:
SlideSorterViewShell
*
mpViewShell
;
SlideSorterViewShell
*
mpViewShell
;
const
::
std
::
vector
<
Representative
>
maRepresentatives
;
const
::
std
::
vector
<
Representative
>
maRepresentatives
;
typedef
::
std
::
vector
<
boost
::
function
<
void
(
sal_uInt8
)
>
>
CallbackContainer
;
typedef
::
std
::
vector
<
std
::
function
<
void
(
sal_uInt8
)
>
>
CallbackContainer
;
virtual
void
Notify
(
SfxBroadcaster
&
rBroadcaster
,
const
SfxHint
&
rHint
)
SAL_OVERRIDE
;
virtual
void
Notify
(
SfxBroadcaster
&
rBroadcaster
,
const
SfxHint
&
rHint
)
SAL_OVERRIDE
;
};
};
...
...
sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx
Dosyayı görüntüle @
5088ee99
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
#include "model/SlsEnumeration.hxx"
#include "model/SlsEnumeration.hxx"
#include "model/SlsSharedPageDescriptor.hxx"
#include "model/SlsSharedPageDescriptor.hxx"
#include <
boost/function.hpp
>
#include <
functional
>
#include <memory>
#include <memory>
namespace
sd
{
namespace
slidesorter
{
namespace
model
{
namespace
sd
{
namespace
slidesorter
{
namespace
model
{
...
@@ -54,7 +54,7 @@ public:
...
@@ -54,7 +54,7 @@ public:
enumeration. Pages for which rPredicate returns <FALSE/> are
enumeration. Pages for which rPredicate returns <FALSE/> are
exclude.
exclude.
*/
*/
typedef
::
boost
::
function
<
bool
(
const
SharedPageDescriptor
&
)
>
PagePredicate
;
typedef
::
std
::
function
<
bool
(
const
SharedPageDescriptor
&
)
>
PagePredicate
;
static
PageEnumeration
Create
(
static
PageEnumeration
Create
(
const
SlideSorterModel
&
rModel
,
const
SlideSorterModel
&
rModel
,
const
PagePredicate
&
rPredicate
);
const
PagePredicate
&
rPredicate
);
...
...
sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx
Dosyayı görüntüle @
5088ee99
...
@@ -20,7 +20,6 @@
...
@@ -20,7 +20,6 @@
#include "model/SlsPageEnumerationProvider.hxx"
#include "model/SlsPageEnumerationProvider.hxx"
#include "model/SlsPageEnumeration.hxx"
#include "model/SlsPageEnumeration.hxx"
#include "model/SlsPageDescriptor.hxx"
#include "model/SlsPageDescriptor.hxx"
#include <boost/function.hpp>
namespace
sd
{
namespace
slidesorter
{
namespace
model
{
namespace
sd
{
namespace
slidesorter
{
namespace
model
{
...
...
sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx
Dosyayı görüntüle @
5088ee99
...
@@ -97,7 +97,7 @@ public:
...
@@ -97,7 +97,7 @@ public:
private
:
private
:
controller
::
Animator
::
AnimationId
mnAnimationId
;
controller
::
Animator
::
AnimationId
mnAnimationId
;
AnimatorAccess
&
mrAnimatorAccess
;
AnimatorAccess
&
mrAnimatorAccess
;
::
boost
::
function
<
double
(
double
)
>
maAccelerationFunction
;
::
std
::
function
<
double
(
double
)
>
maAccelerationFunction
;
void
RestartAnimation
();
void
RestartAnimation
();
};
};
...
@@ -395,14 +395,13 @@ void PageObjectRun::RestartAnimation()
...
@@ -395,14 +395,13 @@ void PageObjectRun::RestartAnimation()
// Restart the animation.
// Restart the animation.
mrAnimatorAccess
.
AddRun
(
shared_from_this
());
mrAnimatorAccess
.
AddRun
(
shared_from_this
());
auto
sharedThis
(
shared_from_this
());
mnAnimationId
=
mrAnimatorAccess
.
GetAnimator
()
->
AddAnimation
(
mnAnimationId
=
mrAnimatorAccess
.
GetAnimator
()
->
AddAnimation
(
::
boost
::
ref
(
*
this
)
,
[
this
]
(
double
const
val
)
{
(
*
this
)(
val
);
}
,
0
,
0
,
300
,
300
,
::
boost
::
bind
(
[
sharedThis
]
()
{
sharedThis
->
mrAnimatorAccess
.
RemoveRun
(
sharedThis
);
}
&
AnimatorAccess
::
RemoveRun
,
);
::
boost
::
ref
(
mrAnimatorAccess
),
shared_from_this
()));
}
}
void
PageObjectRun
::
operator
()
(
const
double
nGlobalTime
)
void
PageObjectRun
::
operator
()
(
const
double
nGlobalTime
)
...
...
sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx
Dosyayı görüntüle @
5088ee99
...
@@ -22,12 +22,13 @@
...
@@ -22,12 +22,13 @@
#include <vcl/window.hxx>
#include <vcl/window.hxx>
#include <vcl/virdev.hxx>
#include <vcl/virdev.hxx>
#include <boost/bind.hpp>
#include <boost/function.hpp>
#include <tools/gen.hxx>
#include <tools/gen.hxx>
#include <tools/fract.hxx>
#include <tools/fract.hxx>
#include <boost/bind.hpp>
#include <functional>
namespace
sd
{
namespace
slidesorter
{
namespace
view
{
namespace
sd
{
namespace
slidesorter
{
namespace
view
{
namespace
{
namespace
{
...
@@ -75,7 +76,7 @@ void DeviceCopy (
...
@@ -75,7 +76,7 @@ void DeviceCopy (
rSourceDevice
);
rSourceDevice
);
}
}
void
ForAllRectangles
(
const
vcl
::
Region
&
rRegion
,
::
boost
::
function
<
void
(
const
Rectangle
&
)
>
aFunction
)
void
ForAllRectangles
(
const
vcl
::
Region
&
rRegion
,
::
std
::
function
<
void
(
const
Rectangle
&
)
>
aFunction
)
{
{
OSL_ASSERT
(
aFunction
);
OSL_ASSERT
(
aFunction
);
RectangleVector
aRectangles
;
RectangleVector
aRectangles
;
...
...
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