summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/validate.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-04-16 20:41:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-04-17 10:25:10 +0100
commit02179ab7e771fae9d012724b8ff1397f4265cfc1 (patch)
tree2f56bf55fcfe40f2833a4d028b90e6c80e8cd532 /sc/source/ui/inc/validate.hxx
parenta59565f855cb30fff56eb3d889376bfd27dc728f (diff)
stash the label widget for shrink mode in the edit, not the button
because we always have we a refedit, but sometimes not a refbutton, so set the label widget to use for the dialog shrink mode on the refedit instead of the refbutton. This way we get the shrunken dialog title bar updated with the label contents regardless of using the shrink button or clicking in the editbox and dragging the mouse around the spreadsheet triggering the shrink mode Change-Id: Ifdff01a30d5c65aa964d4bf544017a2927757d67
Diffstat (limited to 'sc/source/ui/inc/validate.hxx')
-rw-r--r--sc/source/ui/inc/validate.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx
index bab50175a1a1..8a0a3faff483 100644
--- a/sc/source/ui/inc/validate.hxx
+++ b/sc/source/ui/inc/validate.hxx
@@ -228,8 +228,8 @@ private:
void Click();
public:
ScRefButtonEx( Window* pParent, const ResId& rResId, formula::RefEdit* pEdit = NULL,
- Window* pShrinkLabel = NULL, ScRefHandler *pRefHdlr = NULL )
- : ::formula::RefButton( pParent, rResId, pEdit, pShrinkLabel, pRefHdlr )
+ ScRefHandler *pRefHdlr = NULL )
+ : ::formula::RefButton( pParent, rResId, pEdit, pRefHdlr )
{
}
}m_btnRef;