summaryrefslogtreecommitdiff
path: root/cui/source/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-05-14 14:28:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-05-14 16:14:55 +0100
commit55fe8bf2e76074a0144c0b846baddeff1a9ee6ce (patch)
treef27e2a46be4cc3b1bf7fa0282ec9e48a00449126 /cui/source/inc
parent1f32864fa719773e1ad074ba2b27947917b76c0c (diff)
IconBox checkbox is always hidden and always disabled
Change-Id: I4aad1568501e4ecb2758c19ee62f78388abb6fcf Change icon button is always hidden, and hooked to nothing Change-Id: I8b8e290908223467b76b0a861a8285e9a87e9fe4 ShouldLink never called... so bLink is never used so the always hidden aRbPasteLink is unneccessary Change-Id: Ic48c9856a8750706262c883a079e0374fc9bb59c GetAspect never called... so nAspect is unnecessary, so SetDefault becomes a no-op and unnecessary Change-Id: I4a2d0af2eae2a822ecc2d71c84b26b8a2a2de210 aRbPaste is always hidden Change-Id: I2b1c6eefee5dada29ad5952010b7121e5bcadcde
Diffstat (limited to 'cui/source/inc')
-rw-r--r--cui/source/inc/pastedlg.hxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/cui/source/inc/pastedlg.hxx b/cui/source/inc/pastedlg.hxx
index e4d020f9f0ac..f5366e053e93 100644
--- a/cui/source/inc/pastedlg.hxx
+++ b/cui/source/inc/pastedlg.hxx
@@ -41,10 +41,6 @@ class SvPasteObjectDialog : public ModalDialog
{
FixedText aFtSource;
FixedText aFtObjectSource;
- RadioButton aRbPaste;
- RadioButton aRbPasteLink;
- CheckBox aCbDisplayAsIcon;
- PushButton aPbChangeIcon;
FixedLine aFlChoice;
ListBox aLbInsertList;
OKButton aOKButton1;
@@ -53,20 +49,13 @@ class SvPasteObjectDialog : public ModalDialog
::std::map< SotFormatStringId, String > aSupplementMap;
SvGlobalName aObjClassName;
String aObjName;
- sal_uInt16 nAspect;
- sal_Bool bLink;
ListBox& ObjectLB() { return aLbInsertList; }
FixedText& ObjectSource() { return aFtObjectSource; }
- RadioButton& PasteLink() { return aRbPasteLink; }
- CheckBox& AsIconBox() { return aCbDisplayAsIcon; }
void SelectObject();
DECL_LINK( SelectHdl, ListBox * );
DECL_LINK( DoubleClickHdl, ListBox * );
- void SetDefault();
- sal_uInt16 GetAspect() const { return nAspect; }
- sal_Bool ShouldLink() const { return bLink; }
public:
SvPasteObjectDialog( Window* pParent );