summaryrefslogtreecommitdiff
path: root/cui/source/tabpages
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2013-02-27 23:25:50 -0300
committerOlivier Hallot <olivier.hallot@alta.org.br>2013-02-28 10:57:52 +0000
commit4777e735640071293c89444516dd9b57d92a39b4 (patch)
tree03db9d01cd7cd82f53fd02d80520336c45ab4d70 /cui/source/tabpages
parentff27a7fd89dc3786a5f5094ec286ccdb787498bc (diff)
Remove unused variable
Shuffle some assignments Change-Id: I054ad7642ed4fcc66ce24923a1c945bedb01ef27 Reviewed-on: https://gerrit.libreoffice.org/2457 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r--cui/source/tabpages/page.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx
index 40c109cffa6f..fe2c43d90fa8 100644
--- a/cui/source/tabpages/page.cxx
+++ b/cui/source/tabpages/page.cxx
@@ -224,9 +224,7 @@ SvxPageDescPage::SvxPageDescPage( Window* pParent, const SfxItemSet& rAttr ) :
get(m_pAdaptBox,"checkAdaptBox");
// Strings stored in UI
get(m_pInsideText,"labelInner");
- aInsideText = m_pInsideText->GetText();
get(m_pOutsideText,"labelOuter");
- aOutsideText = m_pOutsideText->GetText();
get(m_pPrintRangeQueryText,"labelMsg");
bBorderModified = sal_False;
@@ -374,6 +372,8 @@ void SvxPageDescPage::Init_Impl()
{
aLeftText = m_pLeftMarginLbl->GetText();
aRightText = m_pRightMarginLbl->GetText();
+ aInsideText = m_pInsideText->GetText();
+ aOutsideText = m_pOutsideText->GetText();
// adjust the handler
m_pLayoutBox->SetSelectHdl( LINK( this, SvxPageDescPage, LayoutHdl_Impl ) );
@@ -898,8 +898,6 @@ IMPL_LINK_NOARG(SvxPageDescPage, LayoutHdl_Impl)
// switch inside outside
const sal_uInt16 nPos = PosToPageUsage_Impl( m_pLayoutBox->GetSelectEntryPos() );
- OUString aAux();
-
if ( nPos == SVX_PAGE_MIRROR )
{
if ( m_pLeftMarginLbl->GetText() != aInsideText )