[Libreoffice-commits] core.git: cui/source
Olivier Hallot
olivier.hallot at alta.org.br
Thu Feb 28 02:58:11 PST 2013
cui/source/tabpages/page.cxx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 4777e735640071293c89444516dd9b57d92a39b4
Author: Olivier Hallot <olivier.hallot at alta.org.br>
Date: Wed Feb 27 23:25:50 2013 -0300
Remove unused variable
Shuffle some assignments
Change-Id: I054ad7642ed4fcc66ce24923a1c945bedb01ef27
Reviewed-on: https://gerrit.libreoffice.org/2457
Reviewed-by: Olivier Hallot <olivier.hallot at alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot at alta.org.br>
diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx
index 40c109c..fe2c43d 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 )
More information about the Libreoffice-commits
mailing list