summaryrefslogtreecommitdiff
path: root/sd/source/filter/html/pubdlg.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2016-06-15 17:57:39 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2016-08-18 02:39:07 +0200
commit13a9727a6399df8df0b2719adb094c81e147a3e8 (patch)
treea6da2221808f08b901c0e1f2a042bcb09e3e97df /sd/source/filter/html/pubdlg.cxx
parent3fb0839da320bb2256b7a2dcf46363fc25bbfbc9 (diff)
screenshots: added more virtualization/abstraction
TabPabe Identification to UI-File names. Isolated some data initialization constructs. Added more dialogs to dump. Should dump on all systems now Change-Id: I7ee07309e0bf88064f789c13bcbff93c17370f77
Diffstat (limited to 'sd/source/filter/html/pubdlg.cxx')
-rw-r--r--sd/source/filter/html/pubdlg.cxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx
index 2b913abdc537..7476251ca319 100644
--- a/sd/source/filter/html/pubdlg.cxx
+++ b/sd/source/filter/html/pubdlg.cxx
@@ -1586,20 +1586,20 @@ bool SdPublishingDlg::Save()
return( aMedium.GetError() == 0 );
}
-std::vector<OUString> SdPublishingDlg::getAllPageUIXMLDescriptions() const
+std::vector<OString> SdPublishingDlg::getAllPageUIXMLDescriptions() const
{
// this dialog has a hard number of pages
- std::vector<OUString> aRetval;
+ std::vector<OString> aRetval;
for (sal_uInt32 a(0); a < 6; a++)
{
- aRetval.push_back(OUString::number(a));
+ aRetval.push_back(OString::number(a));
}
return aRetval;
}
-void SdPublishingDlg::selectPageByUIXMLDescription(const OUString& rUIXMLDescription)
+bool SdPublishingDlg::selectPageByUIXMLDescription(const OString& rUIXMLDescription)
{
// rUIXMLDescription contains one of the values above, make use of it
const sal_uInt32 nPage(rUIXMLDescription.toUInt32());
@@ -1607,9 +1607,10 @@ void SdPublishingDlg::selectPageByUIXMLDescription(const OUString& rUIXMLDescrip
if (nPage < 6)
{
aAssistentFunc.GotoPage(nPage + 1);
-
- // does this already call 'ChangePage()'..? Check!
+ return true;
}
+
+ return false;
}
// SdDesignNameDlg Methods