[PATCH] Remove unused variable
Olivier Hallot (via Code Review)
gerrit at gerrit.libreoffice.org
Wed Feb 27 18:27:48 PST 2013
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/2457
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/57/2457/1
Remove unused variable
Shuffle some assignments
Change-Id: I054ad7642ed4fcc66ce24923a1c945bedb01ef27
---
M cui/source/tabpages/page.cxx
1 file changed, 2 insertions(+), 4 deletions(-)
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 @@
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 @@
{
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 ) );
@@ -897,8 +897,6 @@
{
// switch inside outside
const sal_uInt16 nPos = PosToPageUsage_Impl( m_pLayoutBox->GetSelectEntryPos() );
-
- OUString aAux();
if ( nPos == SVX_PAGE_MIRROR )
{
--
To view, visit https://gerrit.libreoffice.org/2457
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I054ad7642ed4fcc66ce24923a1c945bedb01ef27
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Olivier Hallot <olivier.hallot at alta.org.br>
More information about the LibreOffice
mailing list