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@alta.org.br>
Context
- [PATCH] Remove unused variable · Olivier Hallot (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.