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
b737e913
Kaydet (Commit)
b737e913
authored
Şub 25, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: update unused list
üst
1190dab8
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
4 additions
and
347 deletions
+4
-347
mnuitem.hxx
sfx2/inc/sfx2/mnuitem.hxx
+0
-17
mnuitem.cxx
sfx2/source/menu/mnuitem.cxx
+0
-97
thessubmenu.cxx
sfx2/source/menu/thessubmenu.cxx
+0
-66
thessubmenu.hxx
sfx2/source/menu/thessubmenu.hxx
+0
-19
grafctrl.hxx
svx/inc/svx/grafctrl.hxx
+0
-2
lboxctrl.hxx
svx/inc/svx/lboxctrl.hxx
+0
-2
tbcontrl.hxx
svx/inc/svx/tbcontrl.hxx
+0
-22
grafctrl.cxx
svx/source/tbxctrls/grafctrl.cxx
+0
-5
lboxctrl.cxx
svx/source/tbxctrls/lboxctrl.cxx
+0
-5
tbcontrl.cxx
svx/source/tbxctrls/tbcontrl.cxx
+0
-59
unusedcode.easy
unusedcode.easy
+4
-7
salbmp.h
vcl/inc/unx/salbmp.h
+0
-7
salbmp.cxx
vcl/unx/generic/gdi/salbmp.cxx
+0
-39
No files found.
sfx2/inc/sfx2/mnuitem.hxx
Dosyayı görüntüle @
b737e913
...
@@ -126,23 +126,6 @@ inline SfxVirtualMenu* SfxMenuControl::GetPopupMenu() const
...
@@ -126,23 +126,6 @@ inline SfxVirtualMenu* SfxMenuControl::GetPopupMenu() const
void Class::RegisterControl(sal_uInt16 nSlotId, SfxModule *pMod) \
void Class::RegisterControl(sal_uInt16 nSlotId, SfxModule *pMod) \
{ SfxMenuControl::RegisterMenuControl( pMod, new SfxMenuCtrlFactory( \
{ SfxMenuControl::RegisterMenuControl( pMod, new SfxMenuCtrlFactory( \
Class::CreateImpl, TYPE(nItemClass), nSlotId ) ); }
Class::CreateImpl, TYPE(nItemClass), nSlotId ) ); }
class
SfxAppMenuControl_Impl
:
public
SfxMenuControl
{
PopupMenu
*
pMenu
;
sal_uIntPtr
m_nSymbolsStyle
;
sal_Bool
m_bShowMenuImages
;
protected
:
DECL_LINK
(
Activate
,
Menu
*
);
public
:
static
SfxMenuControl
*
CreateImpl
(
sal_uInt16
nId
,
Menu
&
rMenu
,
SfxBindings
&
rBindings
);
SfxAppMenuControl_Impl
(
sal_uInt16
nPos
,
Menu
&
rMenu
,
SfxBindings
&
rBindings
);
~
SfxAppMenuControl_Impl
();
};
#endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sfx2/source/menu/mnuitem.cxx
Dosyayı görüntüle @
b737e913
...
@@ -301,103 +301,6 @@ PopupMenu* SfxMenuControl::GetPopup () const
...
@@ -301,103 +301,6 @@ PopupMenu* SfxMenuControl::GetPopup () const
return
0
;
return
0
;
}
}
long
Select_Impl
(
void
*
pHdl
,
void
*
pVoid
);
SfxMenuControl
*
SfxAppMenuControl_Impl
::
CreateImpl
(
sal_uInt16
nId
,
Menu
&
rMenu
,
SfxBindings
&
rBindings
)
{
return
new
SfxAppMenuControl_Impl
(
nId
,
rMenu
,
rBindings
);
}
SfxAppMenuControl_Impl
::
SfxAppMenuControl_Impl
(
sal_uInt16
nPos
,
Menu
&
rMenu
,
SfxBindings
&
rBindings
)
:
SfxMenuControl
(
nPos
,
rBindings
),
pMenu
(
0
)
{
String
aText
=
rMenu
.
GetItemText
(
nPos
);
// Determine the current background color setting for menus
const
StyleSettings
&
rSettings
=
Application
::
GetSettings
().
GetStyleSettings
();
m_nSymbolsStyle
=
rSettings
.
GetSymbolsStyle
();
m_bShowMenuImages
=
rSettings
.
GetUseImagesInMenus
();
Reference
<
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>
aXMultiServiceFactory
(
::
comphelper
::
getProcessServiceFactory
());
::
framework
::
MenuConfiguration
aConf
(
aXMultiServiceFactory
);
Reference
<
com
::
sun
::
star
::
frame
::
XFrame
>
aXFrame
(
GetBindings
().
GetDispatcher_Impl
()
->
GetFrame
()
->
GetFrame
().
GetFrameInterface
()
);
pMenu
=
aConf
.
CreateBookmarkMenu
(
aXFrame
,
GetId
()
==
SID_NEWDOCDIRECT
?
BOOKMARK_NEWMENU
:
BOOKMARK_WIZARDMENU
);
if
(
pMenu
)
{
pMenu
->
SetSelectHdl
(
Link
(
&
(
this
->
GetBindings
()),
Select_Impl
)
);
pMenu
->
SetActivateHdl
(
LINK
(
this
,
SfxAppMenuControl_Impl
,
Activate
)
);
rMenu
.
SetPopupMenu
(
nPos
,
pMenu
);
}
}
SfxAppMenuControl_Impl
::~
SfxAppMenuControl_Impl
()
{
delete
pMenu
;
}
IMPL_LINK
(
SfxAppMenuControl_Impl
,
Activate
,
Menu
*
,
pActMenu
)
{
if
(
pActMenu
)
{
const
StyleSettings
&
rSettings
=
Application
::
GetSettings
().
GetStyleSettings
();
sal_uIntPtr
nSymbolsStyle
=
rSettings
.
GetSymbolsStyle
();
sal_Bool
bShowMenuImages
=
rSettings
.
GetUseImagesInMenus
();
if
((
nSymbolsStyle
!=
m_nSymbolsStyle
)
||
(
bShowMenuImages
!=
m_bShowMenuImages
))
{
m_nSymbolsStyle
=
nSymbolsStyle
;
m_bShowMenuImages
=
bShowMenuImages
;
sal_uInt16
nCount
=
pActMenu
->
GetItemCount
();
for
(
sal_uInt16
nSVPos
=
0
;
nSVPos
<
nCount
;
nSVPos
++
)
{
sal_uInt16
nItemId
=
pActMenu
->
GetItemId
(
nSVPos
);
if
(
pActMenu
->
GetItemType
(
nSVPos
)
!=
MENUITEM_SEPARATOR
)
{
if
(
bShowMenuImages
)
{
sal_Bool
bImageSet
=
sal_False
;
::
rtl
::
OUString
aImageId
;
::
framework
::
MenuConfiguration
::
Attributes
*
pMenuAttributes
=
(
::
framework
::
MenuConfiguration
::
Attributes
*
)
pMenu
->
GetUserValue
(
nItemId
);
if
(
pMenuAttributes
)
aImageId
=
pMenuAttributes
->
aImageId
;
// Retrieve image id from menu attributes
if
(
!
aImageId
.
isEmpty
()
)
{
Reference
<
::
com
::
sun
::
star
::
frame
::
XFrame
>
xFrame
;
Image
aImage
=
GetImage
(
xFrame
,
aImageId
,
false
);
if
(
!!
aImage
)
{
bImageSet
=
sal_True
;
pActMenu
->
SetItemImage
(
nItemId
,
aImage
);
}
}
String
aCmd
(
pActMenu
->
GetItemCommand
(
nItemId
)
);
if
(
!
bImageSet
&&
aCmd
.
Len
()
)
{
Image
aImage
=
SvFileInformationManager
::
GetImage
(
INetURLObject
(
aCmd
),
false
);
if
(
!!
aImage
)
pActMenu
->
SetItemImage
(
nItemId
,
aImage
);
}
}
else
pActMenu
->
SetItemImage
(
nItemId
,
Image
()
);
}
}
}
return
sal_True
;
}
return
sal_False
;
}
SfxUnoMenuControl
*
SfxMenuControl
::
CreateControl
(
const
String
&
rCmd
,
SfxUnoMenuControl
*
SfxMenuControl
::
CreateControl
(
const
String
&
rCmd
,
sal_uInt16
nId
,
Menu
&
rMenu
,
const
String
&
sItemText
,
sal_uInt16
nId
,
Menu
&
rMenu
,
const
String
&
sItemText
,
SfxBindings
&
rBindings
,
SfxVirtualMenu
*
pVirt
)
SfxBindings
&
rBindings
,
SfxVirtualMenu
*
pVirt
)
...
...
sfx2/source/menu/thessubmenu.cxx
Dosyayı görüntüle @
b737e913
...
@@ -46,75 +46,9 @@
...
@@ -46,75 +46,9 @@
#include <sfx2/viewsh.hxx>
#include <sfx2/viewsh.hxx>
#include "thessubmenu.hxx"
#include "thessubmenu.hxx"
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
;
using
::
rtl
::
OUString
;
using
::
rtl
::
OUString
;
// STATIC DATA -----------------------------------------------------------
SfxMenuControl
*
SfxThesSubMenuControl
::
CreateImpl
(
sal_uInt16
nId
,
Menu
&
rMenu
,
SfxBindings
&
rBindings
)
{
return
new
SfxThesSubMenuControl
(
nId
,
rMenu
,
rBindings
);
}
/*
Constructor; sets the Select-Handler for the Menu and inserts it into
its Parent.
*/
SfxThesSubMenuControl
::
SfxThesSubMenuControl
(
sal_uInt16
nSlotId
,
Menu
&
rMenu
,
SfxBindings
&
rBindings
)
:
SfxMenuControl
(
nSlotId
,
rBindings
),
pMenu
(
new
PopupMenu
),
rParent
(
rMenu
)
{
rMenu
.
SetPopupMenu
(
nSlotId
,
pMenu
);
pMenu
->
SetSelectHdl
(
LINK
(
this
,
SfxThesSubMenuControl
,
MenuSelect
));
pMenu
->
Clear
();
rParent
.
EnableItem
(
GetId
(),
sal_False
);
}
SfxThesSubMenuControl
::~
SfxThesSubMenuControl
()
{
delete
pMenu
;
}
/*
Status notification:
If the functionality is disabled, the corresponding
menu entry in Parentmenu is disabled, otherwise it is enabled.
*/
void
SfxThesSubMenuControl
::
StateChanged
(
sal_uInt16
/*nSID*/
,
SfxItemState
eState
,
const
SfxPoolItem
*
/*pState*/
)
{
rParent
.
EnableItem
(
GetId
(),
SFX_ITEM_AVAILABLE
==
eState
);
}
/*
Select-Handler for Menus;
run the selected Verb,
*/
IMPL_LINK_INLINE_START
(
SfxThesSubMenuControl
,
MenuSelect
,
Menu
*
,
pSelMenu
)
{
const
sal_uInt16
nSlotId
=
pSelMenu
->
GetCurItemId
();
if
(
nSlotId
)
GetBindings
().
Execute
(
nSlotId
);
return
1
;
}
IMPL_LINK_INLINE_END
(
SfxThesSubMenuControl
,
MenuSelect
,
Menu
*
,
pSelMenu
)
PopupMenu
*
SfxThesSubMenuControl
::
GetPopup
()
const
{
return
pMenu
;
}
OUString
SfxThesSubMenuHelper
::
GetText
(
OUString
SfxThesSubMenuHelper
::
GetText
(
const
String
&
rLookUpString
,
const
String
&
rLookUpString
,
xub_StrLen
nDelimPos
)
xub_StrLen
nDelimPos
)
...
...
sfx2/source/menu/thessubmenu.hxx
Dosyayı görüntüle @
b737e913
...
@@ -42,25 +42,6 @@ class Menu;
...
@@ -42,25 +42,6 @@ class Menu;
namespace
css
=
::
com
::
sun
::
star
;
namespace
css
=
::
com
::
sun
::
star
;
class
SfxThesSubMenuControl
:
public
SfxMenuControl
{
PopupMenu
*
pMenu
;
Menu
&
rParent
;
private
:
virtual
void
StateChanged
(
sal_uInt16
,
SfxItemState
,
const
SfxPoolItem
*
pState
);
DECL_LINK
(
MenuSelect
,
Menu
*
);
public
:
SfxThesSubMenuControl
(
sal_uInt16
,
Menu
&
,
SfxBindings
&
);
~
SfxThesSubMenuControl
();
virtual
PopupMenu
*
GetPopup
()
const
;
static
SfxMenuControl
*
CreateImpl
(
sal_uInt16
nId
,
Menu
&
rMenu
,
SfxBindings
&
rBindings
);
};
class
SfxThesSubMenuHelper
class
SfxThesSubMenuHelper
{
{
css
::
uno
::
Reference
<
css
::
linguistic2
::
XLinguServiceManager
>
m_xLngMgr
;
css
::
uno
::
Reference
<
css
::
linguistic2
::
XLinguServiceManager
>
m_xLngMgr
;
...
...
svx/inc/svx/grafctrl.hxx
Dosyayı görüntüle @
b737e913
...
@@ -73,8 +73,6 @@ public:
...
@@ -73,8 +73,6 @@ public:
class
SvxGrafToolBoxControl
:
public
SfxToolBoxControl
class
SvxGrafToolBoxControl
:
public
SfxToolBoxControl
{
{
public
:
public
:
static
SfxToolBoxControl
*
CreateImpl
(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
);
SvxGrafToolBoxControl
(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
);
SvxGrafToolBoxControl
(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
);
~
SvxGrafToolBoxControl
();
~
SvxGrafToolBoxControl
();
...
...
svx/inc/svx/lboxctrl.hxx
Dosyayı görüntüle @
b737e913
...
@@ -51,8 +51,6 @@ protected:
...
@@ -51,8 +51,6 @@ protected:
DECL_LINK
(
SelectHdl
,
void
*
);
DECL_LINK
(
SelectHdl
,
void
*
);
public
:
public
:
static
SfxToolBoxControl
*
CreateImpl
(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
);
SvxListBoxControl
(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
);
SvxListBoxControl
(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
);
virtual
~
SvxListBoxControl
();
virtual
~
SvxListBoxControl
();
...
...
svx/inc/svx/tbcontrl.hxx
Dosyayı görüntüle @
b737e913
...
@@ -344,7 +344,6 @@ class SVX_DLLPUBLIC SvxColorToolBoxControl : public SfxToolBoxControl
...
@@ -344,7 +344,6 @@ class SVX_DLLPUBLIC SvxColorToolBoxControl : public SfxToolBoxControl
Color
mLastColor
;
Color
mLastColor
;
public
:
public
:
SFX_DECL_TOOLBOX_CONTROL
();
SvxColorToolBoxControl
(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
);
SvxColorToolBoxControl
(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
);
~
SvxColorToolBoxControl
();
~
SvxColorToolBoxControl
();
...
@@ -418,27 +417,6 @@ public:
...
@@ -418,27 +417,6 @@ public:
virtual
SfxPopupWindow
*
CreatePopupWindow
();
virtual
SfxPopupWindow
*
CreatePopupWindow
();
};
};
class
SvxReloadControllerItem_Impl
;
class
SvxReloadControllerItem
:
public
SfxToolBoxControl
{
private
:
SvxReloadControllerItem_Impl
*
pImpl
;
public
:
static
SfxToolBoxControl
*
CreateImpl
(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
);
SvxReloadControllerItem
(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
);
~
SvxReloadControllerItem
();
protected
:
virtual
void
StateChanged
(
sal_uInt16
nSID
,
SfxItemState
eState
,
const
SfxPoolItem
*
pState
);
};
class
SVX_DLLPUBLIC
SvxSimpleUndoRedoController
:
public
SfxToolBoxControl
class
SVX_DLLPUBLIC
SvxSimpleUndoRedoController
:
public
SfxToolBoxControl
{
{
private
:
private
:
...
...
svx/source/tbxctrls/grafctrl.cxx
Dosyayı görüntüle @
b737e913
...
@@ -546,11 +546,6 @@ SfxPopupWindow* SvxGrafFilterToolBoxControl::CreatePopupWindow()
...
@@ -546,11 +546,6 @@ SfxPopupWindow* SvxGrafFilterToolBoxControl::CreatePopupWindow()
// - SvxGrafToolBoxControl -
// - SvxGrafToolBoxControl -
// -------------------------
// -------------------------
SfxToolBoxControl
*
SvxGrafToolBoxControl
::
CreateImpl
(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
)
{
return
new
SvxGrafToolBoxControl
(
nSlotId
,
nId
,
rTbx
);
}
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
SvxGrafToolBoxControl
::
SvxGrafToolBoxControl
(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
)
:
SvxGrafToolBoxControl
::
SvxGrafToolBoxControl
(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
)
:
...
...
svx/source/tbxctrls/lboxctrl.cxx
Dosyayı görüntüle @
b737e913
...
@@ -164,11 +164,6 @@ Window* SvxPopupWindowListBox::GetPreferredKeyInputWindow()
...
@@ -164,11 +164,6 @@ Window* SvxPopupWindowListBox::GetPreferredKeyInputWindow()
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
SfxToolBoxControl
*
SvxListBoxControl
::
CreateImpl
(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
)
{
return
new
SvxListBoxControl
(
nSlotId
,
nId
,
rTbx
);
}
SvxListBoxControl
::
SvxListBoxControl
(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
)
SvxListBoxControl
::
SvxListBoxControl
(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
)
:
SfxToolBoxControl
(
nSlotId
,
nId
,
rTbx
),
:
SfxToolBoxControl
(
nSlotId
,
nId
,
rTbx
),
pPopupWin
(
0
)
pPopupWin
(
0
)
...
...
svx/source/tbxctrls/tbcontrl.cxx
Dosyayı görüntüle @
b737e913
...
@@ -123,17 +123,11 @@ SFX_IMPL_TOOLBOX_CONTROL( SvxStyleToolBoxControl, SfxTemplateItem );
...
@@ -123,17 +123,11 @@ SFX_IMPL_TOOLBOX_CONTROL( SvxStyleToolBoxControl, SfxTemplateItem );
SFX_IMPL_TOOLBOX_CONTROL
(
SvxFontNameToolBoxControl
,
SvxFontItem
);
SFX_IMPL_TOOLBOX_CONTROL
(
SvxFontNameToolBoxControl
,
SvxFontItem
);
SFX_IMPL_TOOLBOX_CONTROL
(
SvxFontColorToolBoxControl
,
SvxColorItem
);
SFX_IMPL_TOOLBOX_CONTROL
(
SvxFontColorToolBoxControl
,
SvxColorItem
);
SFX_IMPL_TOOLBOX_CONTROL
(
SvxColorExtToolBoxControl
,
SvxColorItem
);
SFX_IMPL_TOOLBOX_CONTROL
(
SvxColorExtToolBoxControl
,
SvxColorItem
);
SFX_IMPL_TOOLBOX_CONTROL
(
SvxColorToolBoxControl
,
SvxColorItem
);
SFX_IMPL_TOOLBOX_CONTROL
(
SvxFrameToolBoxControl
,
SvxBoxItem
);
SFX_IMPL_TOOLBOX_CONTROL
(
SvxFrameToolBoxControl
,
SvxBoxItem
);
SFX_IMPL_TOOLBOX_CONTROL
(
SvxFrameLineStyleToolBoxControl
,
SvxLineItem
);
SFX_IMPL_TOOLBOX_CONTROL
(
SvxFrameLineStyleToolBoxControl
,
SvxLineItem
);
SFX_IMPL_TOOLBOX_CONTROL
(
SvxFrameLineColorToolBoxControl
,
SvxColorItem
);
SFX_IMPL_TOOLBOX_CONTROL
(
SvxFrameLineColorToolBoxControl
,
SvxColorItem
);
SFX_IMPL_TOOLBOX_CONTROL
(
SvxSimpleUndoRedoController
,
SfxStringItem
);
SFX_IMPL_TOOLBOX_CONTROL
(
SvxSimpleUndoRedoController
,
SfxStringItem
);
SfxToolBoxControl
*
SvxReloadControllerItem
::
CreateImpl
(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
)
{
return
new
SvxReloadControllerItem
(
nSlotId
,
nId
,
rTbx
);
}
//========================================================================
//========================================================================
// class SvxStyleBox_Impl -----------------------------------------------------
// class SvxStyleBox_Impl -----------------------------------------------------
//========================================================================
//========================================================================
...
@@ -2561,59 +2555,6 @@ void SvxFrameLineColorToolBoxControl::StateChanged(
...
@@ -2561,59 +2555,6 @@ void SvxFrameLineColorToolBoxControl::StateChanged(
}
}
}
}
// class SvxReloadControllerItem_Impl ------------------------------------
class
SvxReloadControllerItem_Impl
{
public
:
Image
*
pNormalImage
;
Image
*
pSpecialImage
;
SvxReloadControllerItem_Impl
()
:
pNormalImage
(
new
Image
(
SVX_RES
(
RID_SVX_RELOAD_NORMAL
)
)
),
pSpecialImage
(
0
)
{}
~
SvxReloadControllerItem_Impl
()
{
delete
pNormalImage
;
delete
pSpecialImage
;
}
Image
&
GetNormalImage
()
{
return
*
pNormalImage
;
}
Image
&
GetSpecialImage
()
{
if
(
!
pSpecialImage
)
pSpecialImage
=
new
Image
(
SVX_RES
(
RID_SVX_RELOAD_SPECIAL
)
);
return
*
pSpecialImage
;
}
};
// -----------------------------------------------------------------------
SvxReloadControllerItem
::
SvxReloadControllerItem
(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
)
:
SfxToolBoxControl
(
nSlotId
,
nId
,
rTbx
)
,
pImpl
(
new
SvxReloadControllerItem_Impl
)
{
rTbx
.
SetItemImage
(
nId
,
pImpl
->
GetNormalImage
()
);
}
// -----------------------------------------------------------------------
SvxReloadControllerItem
::~
SvxReloadControllerItem
()
{
delete
pImpl
;
}
// -----------------------------------------------------------------------
void
SvxReloadControllerItem
::
StateChanged
(
sal_uInt16
,
SfxItemState
eState
,
const
SfxPoolItem
*
pState
)
{
SfxBoolItem
*
pItem
=
PTR_CAST
(
SfxBoolItem
,
pState
);
ToolBox
&
rBox
=
GetToolBox
();
if
(
pItem
)
{
rBox
.
SetItemImage
(
GetId
(),
pItem
->
GetValue
()
?
pImpl
->
GetSpecialImage
()
:
pImpl
->
GetNormalImage
()
);
}
rBox
.
EnableItem
(
GetId
(),
eState
!=
SFX_ITEM_DISABLED
);
}
//========================================================================
//========================================================================
// class SvxSimpleUndoRedoController -------------------------------------
// class SvxSimpleUndoRedoController -------------------------------------
//========================================================================
//========================================================================
...
...
unusedcode.easy
Dosyayı görüntüle @
b737e913
(anonymous namespace)::writeU8(WPXBinaryData&, int)
Button::ImplGetSymbolAlign() const
Button::ImplGetSymbolAlign() const
CertificateExtension_XmlSecImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char)
CertificateExtension_XmlSecImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char)
CharPosArray::Insert(CharPosArray const*, unsigned short, unsigned short, unsigned short)
CharPosArray::Insert(CharPosArray const*, unsigned short, unsigned short, unsigned short)
...
@@ -50,7 +51,6 @@ SalGraphics::drawPolyLine(basegfx::B2DPolygon const&, double, basegfx::B2DVector
...
@@ -50,7 +51,6 @@ SalGraphics::drawPolyLine(basegfx::B2DPolygon const&, double, basegfx::B2DVector
SalGraphics::drawPolyPolygon(basegfx::B2DPolyPolygon const&, double)
SalGraphics::drawPolyPolygon(basegfx::B2DPolyPolygon const&, double)
SanExtensionImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char)
SanExtensionImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char)
SanExtensionImpl::setCertExtn(unsigned char*, unsigned int, unsigned char*, unsigned int, unsigned char)
SanExtensionImpl::setCertExtn(unsigned char*, unsigned int, unsigned char*, unsigned int, unsigned char)
SbxDecimal::getByte(unsigned char&)
SbxDecimal::getInt(int&)
SbxDecimal::getInt(int&)
SbxDecimal::getUInt(unsigned int&)
SbxDecimal::getUInt(unsigned int&)
ScAddInAsyncs::Insert(ScAddInAsync* const&, unsigned short&)
ScAddInAsyncs::Insert(ScAddInAsync* const&, unsigned short&)
...
@@ -81,6 +81,7 @@ ScConditionalFormats_Impl::Remove(unsigned short, unsigned short)
...
@@ -81,6 +81,7 @@ ScConditionalFormats_Impl::Remove(unsigned short, unsigned short)
ScCsvControl::ScCsvControl(Window*, ScCsvLayoutData const&, long)
ScCsvControl::ScCsvControl(Window*, ScCsvLayoutData const&, long)
ScDBCollection::AnonDBs::erase(boost::void_ptr_iterator<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<void**, std::__cxx1998::vector<void*, std::allocator<void*> > >, std::__debug::vector<void*, std::allocator<void*> > >, ScDBData>)
ScDBCollection::AnonDBs::erase(boost::void_ptr_iterator<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<void**, std::__cxx1998::vector<void*, std::allocator<void*> > >, std::__debug::vector<void*, std::allocator<void*> > >, ScDBData>)
ScDBCollection::AnonDBs::size() const
ScDBCollection::AnonDBs::size() const
ScDPFieldControlBase::GetDupCount(unsigned long) const
ScDPSaveDimension::Refresh(com::sun::star::uno::Reference<com::sun::star::sheet::XDimensionsSupplier> const&, std::__debug::list<rtl::OUString, std::allocator<rtl::OUString> > const&)
ScDPSaveDimension::Refresh(com::sun::star::uno::Reference<com::sun::star::sheet::XDimensionsSupplier> const&, std::__debug::list<rtl::OUString, std::allocator<rtl::OUString> > const&)
ScDocRowHeightUpdater::TabRanges::TabRanges()
ScDocRowHeightUpdater::TabRanges::TabRanges()
ScFilterDetect::impl_createFactory(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
ScFilterDetect::impl_createFactory(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
...
@@ -1008,6 +1009,8 @@ dbtools::StatementComposer::getDisposeComposer() const
...
@@ -1008,6 +1009,8 @@ dbtools::StatementComposer::getDisposeComposer() const
dbtools::getComposedRowSetStatement(com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> const&, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, unsigned char, unsigned char)
dbtools::getComposedRowSetStatement(com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> const&, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, unsigned char, unsigned char)
dbtools::getConnection(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
dbtools::getConnection(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
dbtools::throwFunctionNotSupportedException(rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&, com::sun::star::uno::Any const&)
dbtools::throwFunctionNotSupportedException(rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&, com::sun::star::uno::Any const&)
dp_misc::TRACE(rtl::OString const&)
dp_misc::writeConsoleError(rtl::OString const&)
drawinglayer::attribute::SdrFillTextAttribute::isDefault() const
drawinglayer::attribute::SdrFillTextAttribute::isDefault() const
drawinglayer::attribute::SdrFormTextAttribute::getFormTextShdwTransp() const
drawinglayer::attribute::SdrFormTextAttribute::getFormTextShdwTransp() const
drawinglayer::attribute::SdrTextAttribute::getPropertiesVersion() const
drawinglayer::attribute::SdrTextAttribute::getPropertiesVersion() const
...
@@ -1020,12 +1023,6 @@ formula::FormulaTokenIterator::First()
...
@@ -1020,12 +1023,6 @@ formula::FormulaTokenIterator::First()
framework::TabWindow::impl_createFactory(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
framework::TabWindow::impl_createFactory(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
jfw_plugin::VendorBase::createInstance()
jfw_plugin::VendorBase::createInstance()
jfw_plugin::VendorBase::getJavaExePaths(int*)
jfw_plugin::VendorBase::getJavaExePaths(int*)
jvmaccess::ClassPath::doLoadClass(com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&, void*, rtl::OUString const&, rtl::OUString const&)
libcdr::CDRDocument::generateSVG(WPXInputStream*, WPXString&)
libcmis::SessionFactory::getRepositories(std::__debug::map<int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<int>, std::allocator<std::pair<int const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >)
libvisio::VisioDocument::generateSVG(WPXInputStream*, WPXString&)
libwpg::WPGraphics::generateSVG(unsigned char const*, unsigned long, WPXString&, libwpg::WPGFileFormat)
libwpg::WPGraphics::parse(unsigned char const*, unsigned long, libwpg::WPGPaintInterface*, libwpg::WPGFileFormat)
nullcanvas::CanvasFont::getFontMatrix() const
nullcanvas::CanvasFont::getFontMatrix() const
nullcanvas::CanvasHelper::flush() const
nullcanvas::CanvasHelper::flush() const
nullcanvas::CanvasHelper::getPalette()
nullcanvas::CanvasHelper::getPalette()
...
...
vcl/inc/unx/salbmp.h
Dosyayı görüntüle @
b737e913
...
@@ -207,13 +207,6 @@ public:
...
@@ -207,13 +207,6 @@ public:
long
nHeight
long
nHeight
);
);
ImplSalDDB
(
Display
*
pDisplay
,
XLIB_Window
hWindow
,
SalX11Screen
nXScreen
,
XImage
*
pImage
);
~
ImplSalDDB
();
~
ImplSalDDB
();
Pixmap
ImplGetPixmap
()
const
{
return
maPixmap
;
}
Pixmap
ImplGetPixmap
()
const
{
return
maPixmap
;
}
...
...
vcl/unx/generic/gdi/salbmp.cxx
Dosyayı görüntüle @
b737e913
...
@@ -912,45 +912,6 @@ ImplSalDDB::ImplSalDDB( XImage* pImage, Drawable aDrawable,
...
@@ -912,45 +912,6 @@ ImplSalDDB::ImplSalDDB( XImage* pImage, Drawable aDrawable,
}
}
}
}
// -----------------------------------------------------------------------------------------
// create from XImage
ImplSalDDB
::
ImplSalDDB
(
Display
*
pDisplay
,
XLIB_Window
hWindow
,
SalX11Screen
nXScreen
,
XImage
*
pImage
)
:
mnXScreen
(
nXScreen
)
{
maPixmap
=
XCreatePixmap
(
pDisplay
,
hWindow
,
pImage
->
width
,
pImage
->
height
,
pImage
->
depth
);
if
(
maPixmap
!=
0
)
{
XGCValues
aValues
;
GC
aGC
;
int
nValues
=
GCFunction
;
aValues
.
function
=
GXcopy
;
if
(
pImage
->
depth
==
1
)
{
nValues
|=
(
GCForeground
|
GCBackground
);
aValues
.
foreground
=
1
;
aValues
.
background
=
0
;
}
aGC
=
XCreateGC
(
pDisplay
,
maPixmap
,
nValues
,
&
aValues
);
XPutImage
(
pDisplay
,
maPixmap
,
aGC
,
pImage
,
0
,
0
,
0
,
0
,
pImage
->
width
,
pImage
->
height
);
XFreeGC
(
pDisplay
,
aGC
);
maTwoRect
.
mnSrcX
=
0
;
maTwoRect
.
mnSrcY
=
0
;
maTwoRect
.
mnDestX
=
0
;
maTwoRect
.
mnDestY
=
0
;
maTwoRect
.
mnSrcWidth
=
pImage
->
width
;
maTwoRect
.
mnDestWidth
=
pImage
->
width
;
maTwoRect
.
mnSrcHeight
=
pImage
->
height
;
maTwoRect
.
mnDestHeight
=
pImage
->
height
;
mnDepth
=
pImage
->
depth
;
}
}
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
ImplSalDDB
::
ImplSalDDB
(
ImplSalDDB
::
ImplSalDDB
(
...
...
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