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
69885050
Kaydet (Commit)
69885050
authored
Tem 31, 2015
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
svx: replace boost::function with std::function
Change-Id: I7d6d01775600fdbd64b0b5a249d88acdb89f6591
üst
2a62966d
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
19 deletions
+17
-19
ParaLineSpacingPopup.hxx
include/svx/ParaLineSpacingPopup.hxx
+0
-2
AreaTransparencyGradientPopup.hxx
include/svx/sidebar/AreaTransparencyGradientPopup.hxx
+2
-2
LineWidthPopup.hxx
include/svx/sidebar/LineWidthPopup.hxx
+2
-2
Popup.hxx
include/svx/sidebar/Popup.hxx
+5
-5
SelectionChangeHandler.hxx
include/svx/sidebar/SelectionChangeHandler.hxx
+3
-3
SelectionChangeHandler.cxx
svx/source/sidebar/SelectionChangeHandler.cxx
+1
-1
AreaTransparencyGradientPopup.cxx
svx/source/sidebar/area/AreaTransparencyGradientPopup.cxx
+1
-1
LineWidthPopup.cxx
svx/source/sidebar/line/LineWidthPopup.cxx
+1
-1
Popup.cxx
svx/source/sidebar/tools/Popup.cxx
+2
-2
No files found.
include/svx/ParaLineSpacingPopup.hxx
Dosyayı görüntüle @
69885050
...
...
@@ -19,8 +19,6 @@
#ifndef INCLUDED_SVX_SOURCE_SIDEBAR_PARAGRAPH_PARALINESPACINGPOPUP_HXX
#define INCLUDED_SVX_SOURCE_SIDEBAR_PARAGRAPH_PARALINESPACINGPOPUP_HXX
#include <boost/function.hpp>
#include <editeng/lspcitem.hxx>
#include <sfx2/sidebar/EnumContext.hxx>
#include <sfx2/tbxctrl.hxx>
...
...
include/svx/sidebar/AreaTransparencyGradientPopup.hxx
Dosyayı görüntüle @
69885050
...
...
@@ -21,7 +21,7 @@
#include "svx/sidebar/Popup.hxx"
#include <
boost/function.hpp
>
#include <
functional
>
class
XFillFloatTransparenceItem
;
...
...
@@ -35,7 +35,7 @@ class AreaTransparencyGradientPopup
public
:
AreaTransparencyGradientPopup
(
vcl
::
Window
*
pParent
,
const
::
boost
::
function
<
PopupControl
*
(
PopupContainer
*
)
>
&
rControlCreator
);
::
std
::
function
<
PopupControl
*
(
PopupContainer
*
)
>
const
&
rControlCreator
);
virtual
~
AreaTransparencyGradientPopup
();
void
Rearrange
(
XFillFloatTransparenceItem
*
pItem
);
...
...
include/svx/sidebar/LineWidthPopup.hxx
Dosyayı görüntüle @
69885050
...
...
@@ -23,7 +23,7 @@
#include <svl/poolitem.hxx>
#include <
boost/function.hpp
>
#include <
functional
>
namespace
svx
{
namespace
sidebar
{
...
...
@@ -34,7 +34,7 @@ class LineWidthPopup
public
:
LineWidthPopup
(
vcl
::
Window
*
pParent
,
const
::
boost
::
function
<
PopupControl
*
(
PopupContainer
*
)
>&
rControlCreator
);
const
::
std
::
function
<
PopupControl
*
(
PopupContainer
*
)
>&
rControlCreator
);
virtual
~
LineWidthPopup
();
void
SetWidthSelect
(
long
lValue
,
bool
bValuable
,
SfxMapUnit
eMapUnit
);
...
...
include/svx/sidebar/Popup.hxx
Dosyayı görüntüle @
69885050
...
...
@@ -26,7 +26,7 @@
#include <svx/sidebar/PopupContainer.hxx>
#include <svx/sidebar/PopupControl.hxx>
#include <
boost/function.hpp
>
#include <
functional
>
namespace
vcl
{
class
Window
;
}
class
ToolBox
;
...
...
@@ -51,7 +51,7 @@ public:
*/
Popup
(
vcl
::
Window
*
pParent
,
const
::
boost
::
function
<
PopupControl
*
(
PopupContainer
*
)
>&
rControlCreator
,
const
::
std
::
function
<
PopupControl
*
(
PopupContainer
*
)
>&
rControlCreator
,
const
::
rtl
::
OUString
&
rsAccessibleName
);
virtual
~
Popup
();
...
...
@@ -73,7 +73,7 @@ public:
/** If you want to be informed when the popup closes then add a
callback that is called after that.
*/
void
SetPopupModeEndHandler
(
const
::
boost
::
function
<
void
()
>&
rCallback
);
void
SetPopupModeEndHandler
(
const
::
std
::
function
<
void
()
>&
rCallback
);
void
dispose
();
...
...
@@ -92,8 +92,8 @@ protected:
private
:
VclPtr
<
vcl
::
Window
>
mpParent
;
::
boost
::
function
<
VclPtr
<
PopupControl
>
(
PopupContainer
*
)
>
maControlCreator
;
::
boost
::
function
<
void
()
>
maPopupModeEndCallback
;
::
std
::
function
<
VclPtr
<
PopupControl
>
(
PopupContainer
*
)
>
maControlCreator
;
::
std
::
function
<
void
()
>
maPopupModeEndCallback
;
const
::
rtl
::
OUString
msAccessibleName
;
VclPtr
<
PopupContainer
>
mxContainer
;
...
...
include/svx/sidebar/SelectionChangeHandler.hxx
Dosyayı görüntüle @
69885050
...
...
@@ -28,7 +28,7 @@
#include <cppuhelper/compbase1.hxx>
#include <cppuhelper/basemutex.hxx>
#include <
boost/function.hpp
>
#include <
functional
>
class
SdrMarkView
;
...
...
@@ -48,7 +48,7 @@ class SVX_DLLPUBLIC SelectionChangeHandler
{
public
:
SelectionChangeHandler
(
const
boost
::
function
<
rtl
::
OUString
()
>&
rSelectionChangeCallback
,
const
std
::
function
<
rtl
::
OUString
()
>&
rSelectionChangeCallback
,
const
css
::
uno
::
Reference
<
css
::
frame
::
XController
>&
rxController
,
const
sfx2
::
sidebar
::
EnumContext
::
Context
eDefaultContext
);
virtual
~
SelectionChangeHandler
();
...
...
@@ -69,7 +69,7 @@ private:
SelectionChangeHandler
(
const
SelectionChangeHandler
&
)
SAL_DELETED_FUNCTION
;
SelectionChangeHandler
&
operator
=
(
const
SelectionChangeHandler
&
)
SAL_DELETED_FUNCTION
;
const
boost
::
function
<
rtl
::
OUString
()
>
maSelectionChangeCallback
;
const
std
::
function
<
rtl
::
OUString
()
>
maSelectionChangeCallback
;
css
::
uno
::
Reference
<
css
::
frame
::
XController
>
mxController
;
const
sfx2
::
sidebar
::
EnumContext
::
Context
meDefaultContext
;
bool
mbIsConnected
;
...
...
svx/source/sidebar/SelectionChangeHandler.cxx
Dosyayı görüntüle @
69885050
...
...
@@ -33,7 +33,7 @@ using namespace sfx2::sidebar;
namespace
svx
{
namespace
sidebar
{
SelectionChangeHandler
::
SelectionChangeHandler
(
const
boost
::
function
<
rtl
::
OUString
()
>&
rSelectionChangeCallback
,
const
std
::
function
<
rtl
::
OUString
()
>&
rSelectionChangeCallback
,
const
Reference
<
frame
::
XController
>&
rxController
,
const
EnumContext
::
Context
eDefaultContext
)
:
SelectionChangeHandlerInterfaceBase
(
m_aMutex
),
...
...
svx/source/sidebar/area/AreaTransparencyGradientPopup.cxx
Dosyayı görüntüle @
69885050
...
...
@@ -23,7 +23,7 @@ namespace svx { namespace sidebar {
AreaTransparencyGradientPopup
::
AreaTransparencyGradientPopup
(
vcl
::
Window
*
pParent
,
const
::
boost
::
function
<
PopupControl
*
(
PopupContainer
*
)
>&
rControlCreator
)
const
::
std
::
function
<
PopupControl
*
(
PopupContainer
*
)
>&
rControlCreator
)
:
Popup
(
pParent
,
rControlCreator
,
...
...
svx/source/sidebar/line/LineWidthPopup.cxx
Dosyayı görüntüle @
69885050
...
...
@@ -29,7 +29,7 @@ namespace svx { namespace sidebar {
LineWidthPopup
::
LineWidthPopup
(
vcl
::
Window
*
pParent
,
const
::
boost
::
function
<
PopupControl
*
(
PopupContainer
*
)
>&
rControlCreator
)
const
::
std
::
function
<
PopupControl
*
(
PopupContainer
*
)
>&
rControlCreator
)
:
Popup
(
pParent
,
rControlCreator
,
...
...
svx/source/sidebar/tools/Popup.cxx
Dosyayı görüntüle @
69885050
...
...
@@ -27,7 +27,7 @@ namespace svx { namespace sidebar {
Popup
::
Popup
(
vcl
::
Window
*
pParent
,
const
::
boost
::
function
<
PopupControl
*
(
PopupContainer
*
)
>&
rControlCreator
,
const
::
std
::
function
<
PopupControl
*
(
PopupContainer
*
)
>&
rControlCreator
,
const
::
rtl
::
OUString
&
rsAccessibleName
)
:
mxControl
(),
mpParent
(
pParent
),
...
...
@@ -89,7 +89,7 @@ void Popup::Hide()
mxContainer
->
EndPopupMode
();
}
void
Popup
::
SetPopupModeEndHandler
(
const
::
boost
::
function
<
void
()
>&
rCallback
)
void
Popup
::
SetPopupModeEndHandler
(
const
::
std
::
function
<
void
()
>&
rCallback
)
{
maPopupModeEndCallback
=
rCallback
;
if
(
mxContainer
)
...
...
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